Nagiosls does not receive the logs.
Posted: Fri Aug 02, 2019 7:09 pm
Hi
In NLS;
1. I have enabled port 514 - UDP/TCP as the input filter. Enabled Listening On Privileged Ports too.
tcp {
type => 'syslog'
port => 514
}
------------------------------
udp {
type => 'syslog'
port => 514
}
2. In firewalld, also enabled these two ports to access incoming udp/tcp packets.
3. Activated the input filter, and there are no errors in logstash.log
But Nagios doesn't receive the logs.
When I take a tcpdump, I can see Nagios server receives the logs. But Nagiosls not.
Just to debug the issue, I followed this article to see if I have done anything wrong. https://support.nagios.com/kb/article.php?id=38
But still no luck.
Can you help me to understand what I have missed?
Thank you
Luke.
In NLS;
1. I have enabled port 514 - UDP/TCP as the input filter. Enabled Listening On Privileged Ports too.
tcp {
type => 'syslog'
port => 514
}
------------------------------
udp {
type => 'syslog'
port => 514
}
2. In firewalld, also enabled these two ports to access incoming udp/tcp packets.
3. Activated the input filter, and there are no errors in logstash.log
But Nagios doesn't receive the logs.
When I take a tcpdump, I can see Nagios server receives the logs. But Nagiosls not.
Just to debug the issue, I followed this article to see if I have done anything wrong. https://support.nagios.com/kb/article.php?id=38
But still no luck.
Can you help me to understand what I have missed?
Thank you
Luke.