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
Not able to see performance graph
-
lafargeuser
- Posts: 341
- Joined: Thu Sep 27, 2012 12:23 am
Not able to see performance graph
You do not have the required permissions to view the files attached to this post.
Re: Not able to see performance graph
It looks like npcd is hitting load and timeout thresholds, lets increase these values. Edit the file:
Change:
To:
Also edit this file:
Change:
To:
Now restart npcd:
Code: Select all
/usr/local/nagios/etc/pnp/process_perfdata.cfgCode: Select all
TIMEOUT = 5Code: Select all
TIMEOUT = 20Code: Select all
/usr/local/nagios/etc/pnp/npcd.cfgCode: Select all
load_threshold = 10.0Code: Select all
load_threshold = 30.0Code: Select all
service npcd stop
killall -9 npcd
service npcd startFormer 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.
"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
Done chanes but no result.
Re: Not able to see performance graph
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 -lBe 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
[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
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
Re: Not able to see performance graph
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 restartFormer 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.
"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.