Re: Nagios Output Not Graphing
Posted: Sun Nov 22, 2015 9:55 pm
No the debugging is not yet enable when i start my npcd
Support for Nagios products and services
https://support.nagios.com/forum/
Starting npcd:DEBUG: Config File = /usr/local/pnp4nagios/etc/npcd.cfg
CONFIG_OPT_LOGTYPE = syslog
CONFIG_OPT_LOGFILE = /usr/local/pnp4nagios/var/npcd.log
CONFIG_OPT_LOGFILESIZE = 10485760
CONFIG_OPT_LOGLEVEL = -1
CONFIG_OPT_SCANDIR = /usr/local/pnp4nagios/var/spool
CONFIG_OPT_RUNCMD = /usr/local/pnp4nagios/libexec/process_perfdata.pl
CONFIG_OPT_RUNCMD_ARG = --bulk
CONFIG_OPT_MAXTHREADS = 5
CONFIG_OPT_LOAD = 0.0
CONFIG_OPT_USER = nagios
CONFIG_OPT_GROUP = nagios
CONFIG_OPT_PIDFILE = /var/run/npcd.pid
CONFIG_OPT_SLEEPTIME = 15
CONFIG_OPT_IDENTMYSELF = 1
---------------------------
DEBUG: load_threshold is disabled - ('0.000000')
done.
Code: Select all
service npcd status
service crond status
ls -l /usr/local/pnp4nagios/var/
# service npcd status
npcd (pid 21043) is running...
# ls -l /usr/local/pnp4nagios/var/
total 6094880
-rw-rw-r-- 1 nagios nagios 887510826 Nov 24 08:47 host-perfdata
drwxrwxrwx 2 nagios nagios 4096 Jul 8 2014 kohana
drwxr-xr-x 124 nagios nagios 4096 Oct 5 15:33 perfdata
-rw-rw-r-- 1 nagios nagios 5149597 Oct 22 13:40 perfdata.log
-rw-rw-r-- 1 nagios nagios 5342356654 Nov 24 08:48 service-perfdata
drwxrwxr-x 2 nagios nagios 4096 Jul 8 2014 spool
drwxr-xr-x 2 nagios nagios 4096 Oct 22 13:41 stats
Code: Select all
log_type = syslogCode: Select all
#log_type = fileCode: Select all
log_level = 0Code: Select all
log_level = 1Code: Select all
service npcd restartCode: Select all
tail -200 /usr/local/pnp4nagios/var/npcd.logCode: Select all
NPCD: No more files to process... waiting for 15 seconds