Performace graphs not displayed after upgrade
Re: Performace graphs not displayed after upgrade
We can see the Graph Explorer graphs only for the hosts status but not for any service.
ll /usr/local/nagios/var/spool/xidpe/|wc -l
2
ll /usr/local/nagios/var/spool/perfdata/|wc -l
2
5 minutes later :
ll /usr/local/nagios/var/spool/xidpe/|wc -l
1
ll /usr/local/nagios/var/spool/perfdata/|wc -l
2
ll /usr/local/nagios/var/spool/xidpe/|wc -l
2
ll /usr/local/nagios/var/spool/perfdata/|wc -l
2
5 minutes later :
ll /usr/local/nagios/var/spool/xidpe/|wc -l
1
ll /usr/local/nagios/var/spool/perfdata/|wc -l
2
Re: Performace graphs not displayed after upgrade
Everything looks good there, checks are being reaped. Let get some more verbose logging on the perfdata:
Edit the following file:
Change:
to:
Save out and restart npcd:
Let it run for 20 -30 minutes and then post a large tail in code wraps:
Edit the following file:
Code: Select all
/usr/local/nagios/etc/pnp/process_perfdata.cfgCode: Select all
LOG_LEVEL = 0Code: Select all
LOG_LEVEL = 1Code: Select all
service npcd restartCode: Select all
tail -50 /usr/local/nagios/var/perfdata.logFormer 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.
Re: Performace graphs not displayed after upgrade
In addition, what are the timestamps on the rrd and xml files?
Code: Select all
ls -lat /usr/local/nagios/share/perfdata/<hostname>Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Performace graphs not displayed after upgrade
[root@hqldvnagios1 ~]# tail -50 /usr/local/nagios/var/perfdata.log
2013-06-07 10:23:23 [10825] [1] process_perfdata.pl-0.6.11 starting in BULK Mode called by NPCD
2013-06-07 10:23:23 [10824] [1] process_perfdata.pl-0.6.11 starting in BULK Mode called by NPCD
2013-06-07 10:23:23 [10825] [1] Found Performance Data for hqlprdhcp2 / _HOST_ (rta=0.527ms;200.000;500.000;0; pl=0%;40;80;;)
2013-06-07 10:23:23 [10825] [1] 1 lines processed
2013-06-07 10:23:23 [10825] [1] /usr/local/nagios/var/spool/perfdata//1370593385.perfdata.host-PID-10825 deleted
2013-06-07 10:23:23 [10824] [1] Found Performance Data for cio052 / _HOST_ (rta=1.186ms;200.000;500.000;0; pl=0%;40;80;;)
2013-06-07 10:23:23 [10824] [1] 1 lines processed
2013-06-07 10:23:23 [10824] [1] /usr/local/nagios/var/spool/perfdata//1370593400.perfdata.host-PID-10824 deleted
2013-06-07 10:23:23 [10824] [1] PNP exiting (runtime 0.005242s) ...
2013-06-07 10:23:23 [10825] [1] PNP exiting (runtime 0.003576s) ...
2013-06-07 10:23:53 [10967] [1] process_perfdata.pl-0.6.11 starting in BULK Mode called by NPCD
2013-06-07 10:23:53 [10968] [1] process_perfdata.pl-0.6.11 starting in BULK Mode called by NPCD
2013-06-07 10:23:53 [10968] [1] 0 lines processed
2013-06-07 10:23:53 [10968] [1] /usr/local/nagios/var/spool/perfdata//1370593415.perfdata.host-PID-10968 deleted
2013-06-07 10:23:53 [10968] [1] PNP exiting (runtime 0.000228s) ...
2013-06-07 10:23:53 [10967] [1] Found Performance Data for localhost / _HOST_ (rta=0.016ms;200.000;500.000;0; pl=0%;40;80;;)
2013-06-07 10:23:53 [10967] [1] Found Performance Data for hqesxtcdr01 / _HOST_ (rta=0.881ms;200.000;500.000;0; pl=0%;40;80;;)
2013-06-07 10:23:53 [10967] [1] 2 lines processed
2013-06-07 10:23:53 [10967] [1] /usr/local/nagios/var/spool/perfdata//1370593430.perfdata.host-PID-10967 deleted
2013-06-07 10:23:53 [10967] [1] PNP exiting (runtime 0.005059s) ...
2013-06-07 10:24:23 [11169] [1] process_perfdata.pl-0.6.11 starting in BULK Mode called by NPCD
2013-06-07 10:24:23 [11170] [1] process_perfdata.pl-0.6.11 starting in BULK Mode called by NPCD
2013-06-07 10:24:23 [11170] [1] 0 lines processed
2013-06-07 10:24:23 [11170] [1] /usr/local/nagios/var/spool/perfdata//1370593445.perfdata.host-PID-11170 deleted
2013-06-07 10:24:23 [11170] [1] PNP exiting (runtime 0.000205s) ...
2013-06-07 10:24:23 [11169] [1] Found Performance Data for hqlprdhcp2 / _HOST_ (rta=1.095ms;200.000;500.000;0; pl=0%;40;80;;)
2013-06-07 10:24:23 [11169] [1] Found Performance Data for cio052 / _HOST_ (rta=1.583ms;200.000;500.000;0; pl=0%;40;80;;)
2013-06-07 10:24:23 [11169] [1] 2 lines processed
2013-06-07 10:24:23 [11169] [1] /usr/local/nagios/var/spool/perfdata//1370593460.perfdata.host-PID-11169 deleted
2013-06-07 10:24:23 [11169] [1] PNP exiting (runtime 0.00511s) ...
2013-06-07 10:24:53 [11311] [1] process_perfdata.pl-0.6.11 starting in BULK Mode called by NPCD
2013-06-07 10:24:53 [11311] [1] 0 lines processed
2013-06-07 10:24:53 [11311] [1] /usr/local/nagios/var/spool/perfdata//1370593475.perfdata.host-PID-11311 deleted
2013-06-07 10:24:53 [11311] [1] PNP exiting (runtime 0.000236s) ...
2013-06-07 10:24:53 [11310] [1] process_perfdata.pl-0.6.11 starting in BULK Mode called by NPCD
2013-06-07 10:24:53 [11310] [1] Found Performance Data for localhost / _HOST_ (rta=0.012ms;200.000;500.000;0; pl=0%;40;80;;)
2013-06-07 10:24:53 [11310] [1] Found Performance Data for hqesxtcdr01 / _HOST_ (rta=0.720ms;200.000;500.000;0; pl=0%;40;80;;)
2013-06-07 10:24:53 [11310] [1] 2 lines processed
2013-06-07 10:24:53 [11310] [1] /usr/local/nagios/var/spool/perfdata//1370593490.perfdata.host-PID-11310 deleted
2013-06-07 10:24:53 [11310] [1] PNP exiting (runtime 0.002018s) ...
2013-06-07 10:25:23 [11523] [1] process_perfdata.pl-0.6.11 starting in BULK Mode called by NPCD
2013-06-07 10:25:23 [11523] [1] Found Performance Data for hqlprdhcp2 / _HOST_ (rta=0.259ms;200.000;500.000;0; pl=0%;40;80;;)
2013-06-07 10:25:23 [11524] [1] process_perfdata.pl-0.6.11 starting in BULK Mode called by NPCD
2013-06-07 10:25:23 [11523] [1] 1 lines processed
2013-06-07 10:25:23 [11523] [1] /usr/local/nagios/var/spool/perfdata//1370593520.perfdata.host-PID-11523 deleted
2013-06-07 10:25:23 [11524] [1] Found Performance Data for HQLTEST2 / _HOST_ (rta=0.449ms;3000.000;5000.000;0; pl=0%;80;100;;)
2013-06-07 10:25:23 [11524] [1] 1 lines processed
2013-06-07 10:25:23 [11524] [1] /usr/local/nagios/var/spool/perfdata//1370593505.perfdata.host-PID-11524 deleted
2013-06-07 10:25:23 [11524] [1] PNP exiting (runtime 0.004398s) ...
2013-06-07 10:25:23 [11523] [1] PNP exiting (runtime 0.004281s) ...
[root@hqldvnagios1 ~]# ls -lat /usr/local/nagios/share/perfdata/HQLTEST2
total 764
drwxrwxr-x 2 nagios nagios 4096 Jun 7 10:25 .
-rw-rw-rw- 1 nagios nagios 2600 Jun 7 10:25 _HOST_.xml
-rwxrwxr-x 1 nagios nagios 768008 Jun 7 10:25 _HOST_.rrd
drwxrwxr-x. 11 nagios nagios 4096 Jun 5 13:52 ..
[root@hqldvnagios1 ~]# ls -lat /usr/local/nagios/share/perfdata/HQLTEST1
total 764
drwxrwxr-x 2 nagios nagios 4096 Jun 7 10:26 .
-rwxrwxr-x 1 nagios nagios 768008 Jun 7 10:26 _HOST_.rrd
-rw-rw-rw- 1 nagios nagios 2600 Jun 7 10:26 _HOST_.xml
drwxrwxr-x. 11 nagios nagios 4096 Jun 5 13:52 ..
[root@hqldvnagios1 ~]# ls -lat /usr/local/nagios/share/perfdata/hqlprdhcp2
total 764
drwxrwxr-x 2 nagios nagios 4096 Jun 7 10:26 .
-rwxrwxr-x 1 nagios nagios 768008 Jun 7 10:26 _HOST_.rrd
-rw-rw-rw- 1 nagios nagios 2567 Jun 7 10:26 _HOST_.xml
drwxrwxr-x. 11 nagios nagios 4096 Jun 5 13:52 ..
2013-06-07 10:23:23 [10825] [1] process_perfdata.pl-0.6.11 starting in BULK Mode called by NPCD
2013-06-07 10:23:23 [10824] [1] process_perfdata.pl-0.6.11 starting in BULK Mode called by NPCD
2013-06-07 10:23:23 [10825] [1] Found Performance Data for hqlprdhcp2 / _HOST_ (rta=0.527ms;200.000;500.000;0; pl=0%;40;80;;)
2013-06-07 10:23:23 [10825] [1] 1 lines processed
2013-06-07 10:23:23 [10825] [1] /usr/local/nagios/var/spool/perfdata//1370593385.perfdata.host-PID-10825 deleted
2013-06-07 10:23:23 [10824] [1] Found Performance Data for cio052 / _HOST_ (rta=1.186ms;200.000;500.000;0; pl=0%;40;80;;)
2013-06-07 10:23:23 [10824] [1] 1 lines processed
2013-06-07 10:23:23 [10824] [1] /usr/local/nagios/var/spool/perfdata//1370593400.perfdata.host-PID-10824 deleted
2013-06-07 10:23:23 [10824] [1] PNP exiting (runtime 0.005242s) ...
2013-06-07 10:23:23 [10825] [1] PNP exiting (runtime 0.003576s) ...
2013-06-07 10:23:53 [10967] [1] process_perfdata.pl-0.6.11 starting in BULK Mode called by NPCD
2013-06-07 10:23:53 [10968] [1] process_perfdata.pl-0.6.11 starting in BULK Mode called by NPCD
2013-06-07 10:23:53 [10968] [1] 0 lines processed
2013-06-07 10:23:53 [10968] [1] /usr/local/nagios/var/spool/perfdata//1370593415.perfdata.host-PID-10968 deleted
2013-06-07 10:23:53 [10968] [1] PNP exiting (runtime 0.000228s) ...
2013-06-07 10:23:53 [10967] [1] Found Performance Data for localhost / _HOST_ (rta=0.016ms;200.000;500.000;0; pl=0%;40;80;;)
2013-06-07 10:23:53 [10967] [1] Found Performance Data for hqesxtcdr01 / _HOST_ (rta=0.881ms;200.000;500.000;0; pl=0%;40;80;;)
2013-06-07 10:23:53 [10967] [1] 2 lines processed
2013-06-07 10:23:53 [10967] [1] /usr/local/nagios/var/spool/perfdata//1370593430.perfdata.host-PID-10967 deleted
2013-06-07 10:23:53 [10967] [1] PNP exiting (runtime 0.005059s) ...
2013-06-07 10:24:23 [11169] [1] process_perfdata.pl-0.6.11 starting in BULK Mode called by NPCD
2013-06-07 10:24:23 [11170] [1] process_perfdata.pl-0.6.11 starting in BULK Mode called by NPCD
2013-06-07 10:24:23 [11170] [1] 0 lines processed
2013-06-07 10:24:23 [11170] [1] /usr/local/nagios/var/spool/perfdata//1370593445.perfdata.host-PID-11170 deleted
2013-06-07 10:24:23 [11170] [1] PNP exiting (runtime 0.000205s) ...
2013-06-07 10:24:23 [11169] [1] Found Performance Data for hqlprdhcp2 / _HOST_ (rta=1.095ms;200.000;500.000;0; pl=0%;40;80;;)
2013-06-07 10:24:23 [11169] [1] Found Performance Data for cio052 / _HOST_ (rta=1.583ms;200.000;500.000;0; pl=0%;40;80;;)
2013-06-07 10:24:23 [11169] [1] 2 lines processed
2013-06-07 10:24:23 [11169] [1] /usr/local/nagios/var/spool/perfdata//1370593460.perfdata.host-PID-11169 deleted
2013-06-07 10:24:23 [11169] [1] PNP exiting (runtime 0.00511s) ...
2013-06-07 10:24:53 [11311] [1] process_perfdata.pl-0.6.11 starting in BULK Mode called by NPCD
2013-06-07 10:24:53 [11311] [1] 0 lines processed
2013-06-07 10:24:53 [11311] [1] /usr/local/nagios/var/spool/perfdata//1370593475.perfdata.host-PID-11311 deleted
2013-06-07 10:24:53 [11311] [1] PNP exiting (runtime 0.000236s) ...
2013-06-07 10:24:53 [11310] [1] process_perfdata.pl-0.6.11 starting in BULK Mode called by NPCD
2013-06-07 10:24:53 [11310] [1] Found Performance Data for localhost / _HOST_ (rta=0.012ms;200.000;500.000;0; pl=0%;40;80;;)
2013-06-07 10:24:53 [11310] [1] Found Performance Data for hqesxtcdr01 / _HOST_ (rta=0.720ms;200.000;500.000;0; pl=0%;40;80;;)
2013-06-07 10:24:53 [11310] [1] 2 lines processed
2013-06-07 10:24:53 [11310] [1] /usr/local/nagios/var/spool/perfdata//1370593490.perfdata.host-PID-11310 deleted
2013-06-07 10:24:53 [11310] [1] PNP exiting (runtime 0.002018s) ...
2013-06-07 10:25:23 [11523] [1] process_perfdata.pl-0.6.11 starting in BULK Mode called by NPCD
2013-06-07 10:25:23 [11523] [1] Found Performance Data for hqlprdhcp2 / _HOST_ (rta=0.259ms;200.000;500.000;0; pl=0%;40;80;;)
2013-06-07 10:25:23 [11524] [1] process_perfdata.pl-0.6.11 starting in BULK Mode called by NPCD
2013-06-07 10:25:23 [11523] [1] 1 lines processed
2013-06-07 10:25:23 [11523] [1] /usr/local/nagios/var/spool/perfdata//1370593520.perfdata.host-PID-11523 deleted
2013-06-07 10:25:23 [11524] [1] Found Performance Data for HQLTEST2 / _HOST_ (rta=0.449ms;3000.000;5000.000;0; pl=0%;80;100;;)
2013-06-07 10:25:23 [11524] [1] 1 lines processed
2013-06-07 10:25:23 [11524] [1] /usr/local/nagios/var/spool/perfdata//1370593505.perfdata.host-PID-11524 deleted
2013-06-07 10:25:23 [11524] [1] PNP exiting (runtime 0.004398s) ...
2013-06-07 10:25:23 [11523] [1] PNP exiting (runtime 0.004281s) ...
[root@hqldvnagios1 ~]# ls -lat /usr/local/nagios/share/perfdata/HQLTEST2
total 764
drwxrwxr-x 2 nagios nagios 4096 Jun 7 10:25 .
-rw-rw-rw- 1 nagios nagios 2600 Jun 7 10:25 _HOST_.xml
-rwxrwxr-x 1 nagios nagios 768008 Jun 7 10:25 _HOST_.rrd
drwxrwxr-x. 11 nagios nagios 4096 Jun 5 13:52 ..
[root@hqldvnagios1 ~]# ls -lat /usr/local/nagios/share/perfdata/HQLTEST1
total 764
drwxrwxr-x 2 nagios nagios 4096 Jun 7 10:26 .
-rwxrwxr-x 1 nagios nagios 768008 Jun 7 10:26 _HOST_.rrd
-rw-rw-rw- 1 nagios nagios 2600 Jun 7 10:26 _HOST_.xml
drwxrwxr-x. 11 nagios nagios 4096 Jun 5 13:52 ..
[root@hqldvnagios1 ~]# ls -lat /usr/local/nagios/share/perfdata/hqlprdhcp2
total 764
drwxrwxr-x 2 nagios nagios 4096 Jun 7 10:26 .
-rwxrwxr-x 1 nagios nagios 768008 Jun 7 10:26 _HOST_.rrd
-rw-rw-rw- 1 nagios nagios 2567 Jun 7 10:26 _HOST_.xml
drwxrwxr-x. 11 nagios nagios 4096 Jun 5 13:52 ..
Re: Performace graphs not displayed after upgrade
Run the following command and see if this is going to fix your problem:
Code: Select all
chmod -R +x /usr/local/nagios/share/perfdata/Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Performace graphs not displayed after upgrade
The issue is still pending.
Re: Performace graphs not displayed after upgrade
Go to: Admin->System Profile->Download Profile, and email us the "profile.zip" file to [email protected]. Put "Performace graphs not displayed after upgrade" in the email's subject line. We may have to schedule a remote session to further troubleshoot this issue.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Performace graphs not displayed after upgrade
The renewal process of our email support maintenance is ongoing. Can I just upload the file here?
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Performace graphs not displayed after upgrade
You can, and we will remove it once someone on our team downloads it. I see for the two hosts that you listed the rrd\xml files for they only had host files and nothing listed for services. Could you verify whether the host graphs are showing properly? I see the same result with the npcd.log tailing, only _host_ data is being reaped, once we get the profile from you it will confirm for sure, but are you certain that the service checks you are using return performance data?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Performace graphs not displayed after upgrade
Please find here the profile downloaded.
Last edited by sreinhardt on Mon Jun 10, 2013 2:59 pm, edited 1 time in total.
Reason: removed profile
Reason: removed profile