Page 2 of 3
Re: Performace graphs not displayed after upgrade
Posted: Wed Jun 05, 2013 7:49 pm
by fao
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
Re: Performace graphs not displayed after upgrade
Posted: Thu Jun 06, 2013 11:50 am
by abrist
Everything looks good there, checks are being reaped. Let get some more verbose logging on the perfdata:
Edit the following file:
Code: Select all
/usr/local/nagios/etc/pnp/process_perfdata.cfg
Change:
to:
Save out and restart npcd:
Let it run for 20 -30 minutes and then post a large tail in code wraps:
Code: Select all
tail -50 /usr/local/nagios/var/perfdata.log
Re: Performace graphs not displayed after upgrade
Posted: Thu Jun 06, 2013 12:06 pm
by lmiltchev
In addition, what are the timestamps on the rrd and xml files?
Code: Select all
ls -lat /usr/local/nagios/share/perfdata/<hostname>
Re: Performace graphs not displayed after upgrade
Posted: Fri Jun 07, 2013 3:27 am
by fao
[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 ..
Re: Performace graphs not displayed after upgrade
Posted: Fri Jun 07, 2013 10:17 am
by lmiltchev
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/
Re: Performace graphs not displayed after upgrade
Posted: Fri Jun 07, 2013 12:08 pm
by fao
The issue is still pending.
Re: Performace graphs not displayed after upgrade
Posted: Fri Jun 07, 2013 1:57 pm
by lmiltchev
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.
Re: Performace graphs not displayed after upgrade
Posted: Mon Jun 10, 2013 6:29 am
by fao
The renewal process of our email support maintenance is ongoing. Can I just upload the file here?
Re: Performace graphs not displayed after upgrade
Posted: Mon Jun 10, 2013 10:59 am
by sreinhardt
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?
Re: Performace graphs not displayed after upgrade
Posted: Mon Jun 10, 2013 2:14 pm
by fao
Please find here the profile downloaded.