Passive checks not reaching Nagios server

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
crhoppe
Posts: 8
Joined: Fri Sep 25, 2015 2:32 pm

Re: Passive checks not reaching Nagios server

Post 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?
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Passive checks not reaching Nagios server

Post 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.
Be sure to check out the Knowledgebase for helpful articles and solutions!
crhoppe
Posts: 8
Joined: Fri Sep 25, 2015 2:32 pm

Re: Passive checks not reaching Nagios server

Post 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.
crhoppe
Posts: 8
Joined: Fri Sep 25, 2015 2:32 pm

Re: Passive checks not reaching Nagios server

Post by crhoppe »

selinux is not running.

Thank you for your help!!
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Passive checks not reaching Nagios server

Post 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!
Former Nagios Employee.
me.
Locked