Page 1 of 1

client not sending log files

Posted: Sun Dec 09, 2018 5:10 pm
by omairoja
Good afternoon all. I have a fresh install stall of Nagios log server however i am not able to receive logs on my server.
I have
1. VM running nagios
2. Firewall on both client and server off.
3. i ran the setup script and all went well.
4 I did a TCPDUMP and did not see any traffic leaving the client even when i did <logger TroubleshootingTest>
5. I followed the following troubleshooting tip https://support.nagios.com/kb/article.php?id=38
any ideas

Thanks Omar.

Re: client not sending log files

Posted: Mon Dec 10, 2018 4:07 pm
by cdienger
Is the client's rsyslog config configured to use the hostname or IP or NLS? If hostname, is the client able to resolve that name to the correct IP address?

Check the rsyslog config with:

rsyslogd -N 1

Does a telnet test from the client to NLS work? Try:

telnet <nls_host_or_ip> <port>

Where port is the port number that the client is configured to contact NLS on.