Nagios Output Not Graphing
Re: Nagios Output Not Graphing
No the debugging is not yet enable when i start my npcd
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Nagios Output Not Graphing
Can you please enable it, restart npcd and let us know the output.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios Output Not Graphing
Hi Box,
Is this your requested output?
Is this your requested output?
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.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Nagios Output Not Graphing
Is that all that is logged in /usr/local/pnp4nagios/var/npcd.log ?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios Output Not Graphing
I don't have npcd.log
how can i invoke to create one?
how can i invoke to create one?
Re: Nagios Output Not Graphing
Can you please post the output of the following commands -
Code: Select all
service npcd status
service crond status
ls -l /usr/local/pnp4nagios/var/
Former Nagios Employee
Re: Nagios Output Not Graphing
Hi rkennedy,
# 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
Re: Nagios Output Not Graphing
Lets change the npcd.cfg file and enable logging so we can see what is going on.
Can you edit the npcd.cfg file
Comment out this line
un-comment this line
Then change this line from
to
Save the file and restart npcd by running
Let the system run for 10 minutes and then run this tail command on the npcd.log file and post the output here.
Can you edit the npcd.cfg file
Comment out this line
Code: Select all
log_type = syslog
Code: Select all
#log_type = file
Code: Select all
log_level = 0
Code: Select all
log_level = 1
Code: Select all
service npcd restart
Code: Select all
tail -200 /usr/local/pnp4nagios/var/npcd.log
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios Output Not Graphing
Hi tgriep,
please see the attached file. Thank you
please see the attached file. Thank you
- Attachments
-
- npcd logs.txt
- (5.78 KiB) Downloaded 141 times
Re: Nagios Output Not Graphing
The logs don't lead to much except -
Are your graphs working for other services or is it only this one in question?
Code: Select all
NPCD: No more files to process... waiting for 15 seconds
Former Nagios Employee