Page 2 of 2

Re: Passive checks not reaching Nagios server

Posted: Tue Jan 05, 2016 2:12 pm
by crhoppe
I'm new to Nagios and don't clearly understand the distinction. However, the admin GUI shows Nagios XI (Nagios XI 2014R2.7). Is there something specific I should look at to verify this?

The /usr/local/nagios/var/spool/checkresults directory has over 25K files in it on the non-working server. The working server has no files in this directory. I've verified IDs are in the correct groups and directory permissions on the two servers are the same. What process uses these files and eventually clears them?

Re: Passive checks not reaching Nagios server

Posted: Tue Jan 05, 2016 2:59 pm
by bwallace
Many possible causes to having +25k files in /usr/local/nagios/var/spool/checkresults. 1st thing to check is if selinux is running, using this cmd:

Code: Select all

sestatus
If selinux is running, please try it with selinux disabled by editing /etc/sysconfig/selinux and changing the line from:

Code: Select all

SELINUX=enforcing
To this:

Code: Select all

SELINUX=disabled
Then reboot the Nagios server and let us know of the results after a few hours.

Re: Passive checks not reaching Nagios server

Posted: Wed Jan 06, 2016 10:36 am
by crhoppe
We removed the accumulated files in the checkresults cirectory, fixed a group issue with the apache ID and restarted httpd. It seems to be working now.

Re: Passive checks not reaching Nagios server

Posted: Wed Jan 06, 2016 10:37 am
by crhoppe
selinux is not running.

Thank you for your help!!

Re: Passive checks not reaching Nagios server

Posted: Wed Jan 06, 2016 11:31 am
by hsmith
Let us know if this comes back. I'll go ahead and close this thread, please open another one if the issue arises again.

Thanks!