Remote Logging Server Error" with description:"Log messages to logging server <FQDN>@<Port Number>@TCP cannot be delivered possibly due to an unresolvable FQDN , an invalid TLS certificate or missing NSX appliance iptables rule."
/var/log/syslog:2025-06-18 ######## MONITORING [nsx@### alarmState="OPEN" comp="nsx-manager" errorCode="MP701099" eventFeatureName="audit_log_health" eventSev="CRITICAL" eventState="On" eventType="remote_logging_server_error" level="FATAL" nodeId="#####" subcomp="monitoring"] Log messages to logging server #########@######@UDP cannot be delivered possibly due to an unresolvable FQDN, an invalid TLS certificate or missing NSX appliance iptables rule.
2025-06-18 ######## [nsx@#### comp="nsx-manager" subcomp="nsx-sha" level="CRITICAL" eventFeatureName="audit_log_health" eventType="remote_logging_server_error" eventSev="critical" eventState="Off" Configuration for logging server #########@#####@UDP appear correct.
get logging-servers
getent ahosts <fqdn_mentioned_in_alarm>
nslookup <fqdn_mentioned_in_alarm>
ping <fqdn_mentioned_in_alarm>
dig <fqdn_mentioned_in_alarm>
nc -zv <fqdn_mentioned_in_alarm> <port_from_alarm>
iptables -L OUTPUT --line-numbers
132 ACCEPT udp -- anywhere anywhere udp dpt:syslog owner UID match syslog
del logging server <ip/fqdn:<port> proto udp level <log-level>
set logging-server <ip/fqdn> proto udp level <log-level>
tcpdump -i eth0 ip dst <syslog-server-ip> dst port <port_from_alarm>
VMware NSX 4.2.x
This is a known issue impacting VMware NSX. If corresponding IP address of the logging server's FQDN changes, this results in NSX nodes incorrectly using the previous IP in the nodes' iptables rules.
Workaround
del logging-server <hostname-or-ip-address[:port]nsx> get logging-servers/config/vmware/nsx-node-api/syslog/ directory and check if there is a file named exporter_firewall_rules file. If this file exists, then delete this file by using command:rm -rf /config/vmware/nsx-node-api/syslog/exporter_firewall_rules"eventType="remote_logging_server_error" eventSev="critical" eventState="On" Log messages to logging server <FQDN>@99999@TCP cannot be delivered possibly due to an unresolvable FQDN, an invalid TLS certificate or missing NSX appliance iptables rule" , then the port number is 99999. [Here 99999 is a random port number used as an example ]iptables -L OUTPUT --line-numbers | grep 99999 1 ACCEPT udp -- anywhere <fqdn> udp dpt:99999 owner UID match syslogiptables -D OUTPUT 1iptables -L OUTPUT --line-numbers | grep 99999 " and then do the deletion if there are multiple 99999 entries. iptables -L OUTPUT --line-numbers | grep 99999 " every time and then perform the next deletion.