Rsyslog and Nagios Logserver
Posted: Tue Sep 04, 2018 3:36 pm
I have rsyslog running on a CentOS 7 machine and it using port TCP port 514. I also have Nagios log server running on the same server using port 514 and 5544. Is there a way that a person could be receiving syslog messages coming in on port 514 and forward the syslog messages to port 515 on the same machine without the IP in the Nagios log server showing up as localhost, 127.0.0.1 or 00:00:00:00 ?
I have edited my syslog.conf file to send the syslog messaged coming in on port 514 to forward it to port 515 on the same machine...…..But the IP of the host that it is coming from is always one of the three I mentioned above. I was just wondering if something could be changed to have it show the correct IP in the Nagios Logserver GUI.
I have edited my syslog.conf file to send the syslog messaged coming in on port 514 to forward it to port 515 on the same machine...…..But the IP of the host that it is coming from is always one of the three I mentioned above. I was just wondering if something could be changed to have it show the correct IP in the Nagios Logserver GUI.