Perf Graph not being created when adding/copying service CCM

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
brudnick
Posts: 37
Joined: Mon Feb 17, 2014 3:17 pm

Perf Graph not being created when adding/copying service CCM

Post 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?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

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

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
brudnick
Posts: 37
Joined: Mon Feb 17, 2014 3:17 pm

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

Post by brudnick »

here is the log after running for 20 mins
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

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

Post by lmiltchev »

Are your existing graphs continuing to update as well?
Be sure to check out our Knowledgebase for helpful articles and solutions!
brudnick
Posts: 37
Joined: Mon Feb 17, 2014 3:17 pm

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

Post by brudnick »

some are and some aren't
brudnick
Posts: 37
Joined: Mon Feb 17, 2014 3:17 pm

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

Post 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.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

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

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
brudnick
Posts: 37
Joined: Mon Feb 17, 2014 3:17 pm

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

Post by brudnick »

here is one that is not updating.
-rwxrwxr-x 1 nagios nagios 3067856 Jun 16 13:36 Memory_Usage.rrd
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

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

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
brudnick
Posts: 37
Joined: Mon Feb 17, 2014 3:17 pm

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

Post by brudnick »

added log, had to zip since it was larger than 1MB
You do not have the required permissions to view the files attached to this post.
Locked