Configuring syslog on NSX-T node using cli fails "an error occurred while adding the logging-server"
search cancel

Configuring syslog on NSX-T node using cli fails "an error occurred while adding the logging-server"

book

Article ID: 317911

calendar_today

Updated On: 02-10-2025

Products

VMware NSX

Issue/Introduction

  • Syslog was configured in NSX-T using the System - Fabric - Profiles - Node Profiles
  • The Node Profile was then removed and cli was used to add the syslog configuration on the nodes.
  • When issuing a syslog configuration command such as:
    set logging-server 10.10.10.1 proto udp level info structured-data audit="true"
  • You receive the following error:
    "% an error occurred while adding the logging-server"
  • In the node logs we see the following error:
    [nsx@6876 comp="nsx-manager" subcomp="cli" username="admin" level="ERROR"

    errorCode="('CLI110',)"] Error setting logging server: {'error_code': 36125, 'error_message': 'Error reading syslog exporter properties.','module_name': 'node-services'}
  • Central config is enabled on the nodes:
    get node central-config

Environment

VMware NSX-T Data Center
VMware NSX-T

Cause

When node central config is enabled (it is enabled by default on all nodes), the local configuration will be over written on the node at a frequency up to every 4 hours, this is expected behavior.
This issue occurs due to central-config getting stuck in a loop checking desired and realized state.

Resolution

This issue is resolved in VMware NSX-T Data Center 3.2.1, available at Broadcom downloads.

If you are having difficulty finding and downloading software, please review the Download Broadcom products and software KB.



Workaround
As admin user, disable central-config on the nodes (has to be done manually on each node) and then you can apply syslog configuration on the nodes, as this command will prevent the node from accepting the node profile central configuration:

set node central-config disabled

You can check the status using:

get node central-config