Page 1 of 3

Graphing has stopped

Posted: Fri Mar 05, 2010 6:08 am
by dxf1
The Nagios XI has stopped graphing over night caould the process that has this function have died ??, how do I resolve this issue, I have already rebooted the sever no change

The performance data is being produced .................
Performance Data: 'user'=0.50 'nice'=0.50 'sys'=0.68 'softirq'=0.50 'iowait'=0.50 'irq'=0.50 'idle'=100.31

Regards, Dave

Re: Graphing has stopped

Posted: Fri Mar 05, 2010 1:07 pm
by mmestnik
Have you tried to re-set the backend password? Not sure that's the problem here though.

The .rrd files for these graphs are located in /usr/local/nagios/share/perfdata
You should make sure the perms are nagios:nagios/777:666. You should also make sure the .rrd files are being updated and that the .xml files contain sensible data.

I'll look further as to what I'd do to debug this.

Re: Graphing has stopped

Posted: Fri Mar 05, 2010 2:16 pm
by mmestnik
That is perms like so:

Code: Select all

chown -R nagios.nagios /usr/local/nagios/share/perfdata
find /usr/local/nagios/share/perfdata -type d -exec chmod 777 '{}' + -or -type f -exec chmod 666 '{}' +

Re: Graphing has stopped

Posted: Wed Mar 10, 2010 3:49 am
by dxf1
Hi The xml file are arriving and contain good data but the rrd files are not getting updated as you can see from the date stamp.
-rw-rw-rw- 1 nagios nagios 384740 Mar 8 09:40 dise_1000.rrd
-rw-rw-rw- 1 nagios nagios 1111 Mar 9 11:43 dise_1000.xml
-rw-rw-rw- 1 nagios nagios 1104 Mar 10 08:34 dise-1000.xml
Regards Dave

Re: Graphing has stopped

Posted: Thu Mar 11, 2010 11:32 am
by mmestnik
I believe the process responsible for this is located in /etc/cron.d/cacti that calls /var/www/cacti/poller.php every 5min as the user cacti. However I was informed that we migrated from using Cacti to using pnp.

I'll look into this further.

Re: Graphing has stopped

Posted: Thu Mar 11, 2010 3:23 pm
by dxf1
the files /etc/cron.d/cacti and /var/www/cacti/poller.php don't exist on the server

The only files with cacti in the name are as follows ................

[root@oracle-mon cron.d]# find / -name '*cacti*'
/tmp/xi/13-cacti
/tmp/xi/nagiosxi/httpd.cacti.conf

Regards, Dave

Re: Graphing has stopped

Posted: Fri Mar 12, 2010 3:09 am
by dxf1
Hi I have been looking at the pnp bits it would appear that we have an invalid device /dev/.udev/failed/devices@pnp0@00:04 ???

[root@oracle-mon ~]# find / -name '*pnp*'
/home/nagios/check_mk/pnp-templates
/home/nagios/check_mk-1.1.2/pnp-templates.tar.gz
/usr/local/nagios/etc/pnp
/usr/local/nagios/libexec/check_oracle_health-1.6.2/contrib/pnp
/usr/local/nagios/share/docs/epnplugins.html
/usr/local/nagios/share/pnp
/usr/local/nagios/share/pnp/images/pnp.png
/usr/local/nagiosxi/html/includes/components/pnp
/usr/local/nagiosxi/html/includes/components/pnp/js/pnp.js
/usr/local/nagiosxi/html/includes/components/pnp/pnp.inc.php
/usr/local/nagiosxi/html/includes/components/pnp/pnpproxy.inc.php
/usr/share/nmap/scripts/upnp-info.nse
/sys/bus/pnp
/sys/devices/pnp0
/tmp/xi/nagiosxi/basedir/html/includes/components/pnp
/tmp/xi/subcomponents/pnp
/tmp/xi/subcomponents/pnp/pnp-0.4.9
/tmp/xi/subcomponents/pnp/pnp-0.4.9/sample-config/pnp
/tmp/xi/subcomponents/pnp/pnp-0.4.9/share/pnp
/dev/.udev/failed/devices@pnp0@00:04
/dev/.udev/failed/devices@pnp0@00:02
/dev/.udev/failed/devices@pnp0@00:03
/dev/.udev/failed/devices@pnp0@00:07
/dev/.udev/failed/devices@pnp0@00:00
/dev/.udev/failed/devices@pnp0@00:05
/dev/.udev/failed/devices@pnp0@00:06
/dev/.udev/failed/devices@pnp0@00:01
/dev/.udev/failed/devices@pnp0@00:09
/dev/.udev/failed/devices@pnp0@00:0b
/dev/.udev/failed/devices@pnp0@00:08
/lib/modules/2.6.18-164.el5/modules.isapnpmap
/lib/modules/2.6.18-164.el5/kernel/drivers/isdn/hisax/hisax_fcpcipnp.ko
/lib/modules/2.6.18-164.11.1.el5/modules.isapnpmap
/lib/modules/2.6.18-164.11.1.el5/kernel/drivers/isdn/hisax/hisax_fcpcipnp.ko

Re: Graphing has stopped

Posted: Sat Mar 13, 2010 7:36 pm
by mmestnik
That's the Plug and Play bus. I'd guess it's for the old ISA PnP stuff.

Re: Graphing has stopped

Posted: Tue Mar 16, 2010 3:36 am
by dxf1
HI,

Sorry I dont understand, how can I debug the issue and resolve the problem.

Re: Graphing has stopped

Posted: Tue Mar 16, 2010 1:19 pm
by admin
This isn't a Cacti issue, as Cacti isn't installed on the box. All graphing is handled by PNP, so its likely a PNP issue. Try this:

Enable the log_level option in the following file: /usr/local/nagios/etc/pnp/npcd.cfg

Restart PNP with the following command:

service npcd restart

Examine the /usr/local/nagios/var/npcd.log file for error messages