Hello, @Sanjeev Kumar - edited do not post links @Jason McClellan Platform Admin
It looks like you’re encountering a common issue with forwarding ESXi logs to a remote server. The error message UDP socket error : [Errno 111] Connection refused indicates that the connection to the remote server on port 514 is being refused. Here are some steps to troubleshoot and resolve this issue:
Verify Remote Server Configuration:
Ensure that the remote server is configured to accept syslog messages on port 514.
Check if the syslog service on the remote server is running and listening on the correct port.
Network Connectivity:
Test the network connectivity between the ESXi host and the remote server using tools like nc (netcat) or telnet:
nc -zv remote_server_ip 514
This command checks if the remote server is accepting connections on port 514.
Firewall Rules:
Double-check the firewall rules on both the ESXi host and the remote server to ensure that port 514 is open and not being blocked.
Syslog Configuration:
Ensure that the syslog configuration on the ESXi host is correct. You can use the following command to set the remote syslog server:
esxcli system syslog config set --loghost='udp://remote_server_ip:514'
esxcli system syslog reload
Verify the configuration:
esxcli system syslog config get
Check for Errors in Logs:
Look for any additional error messages in the ESXi logs that might provide more insight into the issue.
Update ESXi and Syslog Services:
Ensure that your ESXi host and syslog services are up to date with the latest patches and updates.
By following these steps, you should be able to identify and resolve the issue preventing the logs from being forwarded to the remote server.
Best Regard,
Florence Gayhart