Not able to see performance graph

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Not able to see performance graph

Post by lafargeuser »

Hi,
Running Nagios XI 2011R.2.4. Attaching snapshots along with /usr/local/nagios/var/npcd.log & /usr/local/nagios/var/perfdata.log

Not able to see performance graphs of Week view, 24 Hour view & 4 Hour view.
However I can see, month & year view. Followed below procedure, but still problem is not resolved.
http://support.nagios.com/wiki/index.ph ... h_Problems
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Not able to see performance graph

Post by abrist »

It looks like npcd is hitting load and timeout thresholds, lets increase these values. Edit the file:

Code: Select all

    /usr/local/nagios/etc/pnp/process_perfdata.cfg
Change:

Code: Select all

    TIMEOUT = 5
To:

Code: Select all

    TIMEOUT = 20
Also edit this file:

Code: Select all

    /usr/local/nagios/etc/pnp/npcd.cfg
Change:

Code: Select all

    load_threshold = 10.0
To:

Code: Select all

    load_threshold = 30.0
Now restart npcd:

Code: Select all

    service npcd stop
    killall -9 npcd
    service npcd start
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: Not able to see performance graph

Post by lafargeuser »

Done chanes but no result.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Not able to see performance graph

Post by lmiltchev »

Run the following commands and show the output:

Code: Select all

ls /usr/local/nagios/var/spool/xidpe | wc -l
ls /usr/local/nagios/var/spool/perfdata | wc -l
ls /usr/local/nagios/var/spool/checkresults | wc -l
Be sure to check out our Knowledgebase for helpful articles and solutions!
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: Not able to see performance graph

Post by lafargeuser »

[root@nagios software]# ls /usr/local/nagios/var/spool/xidpe | wc -l
0
[root@nagios software]# ls /usr/local/nagios/var/spool/perfdata | wc -l
326842
[root@nagios software]# ls /usr/local/nagios/var/spool/checkresults | wc -l
10
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Not able to see performance graph

Post by abrist »

The spool directory is too large. Remove the back log of perfdata, then restart npcd once again:

Code: Select all

rm -f /usr/local/nagios/var/spool/perfdata/*
service npcd restart
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked