NOTE: our NRDP version is 1.2 (from /usr/local/nrdp/server/config.inc.php)
I've done the usual debugging of npcd and process_perfdata.pl, and am not seeing any of the passive services being processed.
That led me to checking the spool directory, and sure enough, the checkresults folder contained 800k files!
So I whacked them and have been trying to figure out why they're not being processed. I don't see any errors in either npcd.log or perfdata.log.
The permissions of the parent folder are:
Code: Select all
# ls -dl /usr/local/nagios/var/spool/
drwxrwxr-x 2 nagios nagcmd 1880 Dec 3 13:07 checkresults
Code: Select all
-rwxrwx--- 1 apache nagcmd 260 Dec 3 12:59 cZZv9JS
-rw-r--r-- 1 apache apache 0 Dec 3 12:59 cZZv9JS.ok
Code: Select all
# grep nagios /etc/group
nagios:x:501:nagios,apache
nagcmd:x:502:nagios,apache
Code: Select all
# service npcd start
DEBUG: Config File = /usr/local/nagios/etc/pnp/npcd.cfg
CONFIG_OPT_LOGTYPE = file
CONFIG_OPT_LOGFILE = /usr/local/nagios/var/npcd.log
CONFIG_OPT_LOGFILESIZE = 10485760
CONFIG_OPT_LOGLEVEL = -1
CONFIG_OPT_SCANDIR = /usr/local/nagios/var/spool/perfdata/
CONFIG_OPT_RUNCMD = /usr/local/nagios/libexec/process_perfdata.pl
CONFIG_OPT_RUNCMD_ARG = -b
CONFIG_OPT_MAXTHREADS = 5
CONFIG_OPT_LOAD = 50.0
CONFIG_OPT_USER = nagios
CONFIG_OPT_GROUP = nagios
CONFIG_OPT_PIDFILE = /usr/local/nagiosxi/var/subsys/npcd.pid
CONFIG_OPT_SLEEPTIME = 15
CONFIG_OPT_IDENTMYSELF = (null)
---------------------------
DEBUG: load_threshold is enabled - ('50.000000')
NPCD started.
What else should I check? Thanks for any assistance!
Alan