Title: Alarm for Remote Logging Not Configured
Alarm Description: Indicates if remote logging server is not configured for NSX Edge nodes.
The NSX Manager UI displays an alarm titled: "One or more edge nodes are not currently configured to forward log messages to a remote logging server."
When logged into the CLI of the affected Edge node(s) and executing the command get logging-servers, the output shows no configured remote syslog server, or the configuration is incorrect/incomplete.
VMware NSX
Centralized remote logging is a fundamental operational and security best practice within any enterprise environment. The NSX Manager actively monitors for compliance with such configurations on its managed Edge nodes. The absence of a properly configured remote syslog server directly triggers this health alarm, indicating a configuration deficiency.
To resolve this alarm and ensure proper log management, configure the affected NSX Edge nodes to forward their syslog output to a remote logging server using the NSX CLI.
Procedure:
Identify Affected Edge Nodes:
Check the NSX Manager UI to identify which specific Edge nodes are triggering the alarm.
Alternatively, log into the CLI of each suspected Edge node.
Verify Current Configuration (Optional):
Log in to the CLI of the affected Edge node.
Execute the command:
get logging-servers
This command will display the current remote logging server configuration. If it's empty or incorrect, proceed to the next step.
Configure Remote Logging Server:
From the CLI of the affected Edge node, execute the following command, replacing the placeholders with your specific details:
set logging-server <hostname-or-ip-address[:port]> proto <protocol> level <log-level>
Example:
set logging-server 10.x.x.x:514 proto udp level info
Confirm Configuration:
After setting the logging server, execute the command again to confirm the new configuration:
get logging-servers
Verify that the remote syslog server details are now correctly displayed.
Monitor Alarm:
Alternatively, if All NSX Nodes profile under Fabric > Profiles > Node Profiles > All NSX Nodes has the remote syslog server configuration already added, but the NSX Edge Nodes have not inherited the remote syslog configuration in NSX 4.2.2.x and above, use the "Redeploy Edge" button in the Edge Transport Nodes page of the NSX UI.