Page 1 of 2

Perf Graph not being created when adding/copying service CCM

Posted: Wed Oct 15, 2014 3:36 pm
by brudnick
Nagios XI Version : 2014R1.5
ServerName 2.6.32-431.23.3.el6.x86_64 x86_64
CentOS release 6.5 (Final)
Gnome is not installed
nagios (pid 11046) is running...
NPCD running (pid 24734).
ndo2db (pid 2219) is running...
CPU Load 15: 3.17
Total Hosts: 499
Total Services: 6617

***********************Question**************************

Anytime I add a new service to a host or copy a service in the host, it is not creating a performance graph. No files are being created in the /usr/local/nagios/share/perfdata/HostName

Am I doing something wrong or is this a bug in the system?

Re: Perf Graph not being created when adding/copying service

Posted: Wed Oct 15, 2014 4:02 pm
by Box293
Are your existing graphs continuing to update as well?

Can you please edit
/usr/local/nagios/etc/pnp/npcd.cfg
And set:

Code: Select all

log_level = 2
Save and then restart the service

Code: Select all

service npcd restart
Now this will log what's happening.

Wait about 15 minutes and then send us this log:

/usr/local/nagios/var/npcd.log

Re: Perf Graph not being created when adding/copying service

Posted: Thu Oct 16, 2014 10:04 am
by brudnick
here is the log after running for 20 mins

Re: Perf Graph not being created when adding/copying service

Posted: Thu Oct 16, 2014 10:54 am
by lmiltchev
Are your existing graphs continuing to update as well?

Re: Perf Graph not being created when adding/copying service

Posted: Thu Oct 16, 2014 11:08 am
by brudnick
some are and some aren't

Re: Perf Graph not being created when adding/copying service

Posted: Thu Oct 16, 2014 11:10 am
by brudnick
I found if I delete the .rrd file for graphs that stopped working it will create a new one and start graphing again. Those rrd files, of graphs the stopped working, have not been modified for a while. once i delete it recreates and starts graphing again.

Re: Perf Graph not being created when adding/copying service

Posted: Thu Oct 16, 2014 12:04 pm
by Box293
Can you please do an ls -al of some of these files that are not updating so we can check the permissions etc.

Re: Perf Graph not being created when adding/copying service

Posted: Thu Oct 16, 2014 12:10 pm
by brudnick
here is one that is not updating.
-rwxrwxr-x 1 nagios nagios 3067856 Jun 16 13:36 Memory_Usage.rrd

Re: Perf Graph not being created when adding/copying service

Posted: Thu Oct 16, 2014 12:21 pm
by Box293
These permissions look right and I couldn't see anything in those logs. Lets look at another log:

Can you please edit
/usr/local/nagios/etc/pnp/process_perfdata.cfg
And set:

Code: Select all

LOG_LEVEL = 2
This will now create the log file:
/usr/local/nagios/var/perfdata.log

Wait about 15 minutes and then send us that log.

Re: Perf Graph not being created when adding/copying service

Posted: Thu Oct 16, 2014 12:43 pm
by brudnick
added log, had to zip since it was larger than 1MB