Running Nagios Log Server 2.0.7 on RHEL 6.9 getting with 2 instances. Keep getting these errors every 5 seconds.
Is this an issue that should be addressed - thanks
/var/log/logstash errors
/var/log/logstash errors
You do not have the required permissions to view the files attached to this post.
Re: /var/log/logstash errors
Looks like it's potentially trying to start up another instance of logstash. The very first thing I would do is stop logstash, wait a few seconds, and then check the status of the logstash service. If it came up again, then there was a second instance waiting for port 514 to be free.
Code: Select all
service logstash stop
...wait about 10 seconds...
service logstash statusAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: /var/log/logstash errors
did those commands on both instances the logstash service remains stopped until I restart it.
It does not look like another instance of logstash is trying to restart
It does not look like another instance of logstash is trying to restart
-
SteveBeauchemin
- Posts: 524
- Joined: Mon Oct 14, 2013 7:19 pm
Re: /var/log/logstash errors
I once had a similar issue - the port was in use and I could not make it available. Even after reboot.
Turned out to be a 3rd part app on the system that failed and was flooding my local syslog.
When I killed off that unrelated app, removed it from cron, stuff started to work again.
Just in case you have other stuff running there. Maybe look at the local messages file.
Steve B
Turned out to be a 3rd part app on the system that failed and was flooding my local syslog.
When I killed off that unrelated app, removed it from cron, stuff started to work again.
Just in case you have other stuff running there. Maybe look at the local messages file.
Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
Re: /var/log/logstash errors
That's a good point, Steve.
cjsGSB, could you stop logstash, and then run a netstat to see if port 514 is in use?
The other thing that could be happening is that Log Server isn't set up to be able to listen on privileged ports. If you haven't seen it already, take a look at this document.
https://assets.nagios.com/downloads/nag ... Server.pdf
cjsGSB, could you stop logstash, and then run a netstat to see if port 514 is in use?
Code: Select all
netstat -a | grep 514https://assets.nagios.com/downloads/nag ... Server.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!