Graphing has stopped

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
dxf1
Posts: 57
Joined: Mon Dec 07, 2009 5:16 am

Graphing has stopped

Post 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
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Graphing has stopped

Post 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.
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Graphing has stopped

Post 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 '{}' +
dxf1
Posts: 57
Joined: Mon Dec 07, 2009 5:16 am

Re: Graphing has stopped

Post 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
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Graphing has stopped

Post 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.
dxf1
Posts: 57
Joined: Mon Dec 07, 2009 5:16 am

Re: Graphing has stopped

Post 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
dxf1
Posts: 57
Joined: Mon Dec 07, 2009 5:16 am

Re: Graphing has stopped

Post 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
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Graphing has stopped

Post by mmestnik »

That's the Plug and Play bus. I'd guess it's for the old ISA PnP stuff.
dxf1
Posts: 57
Joined: Mon Dec 07, 2009 5:16 am

Re: Graphing has stopped

Post by dxf1 »

HI,

Sorry I dont understand, how can I debug the issue and resolve the problem.
User avatar
admin
Site Admin
Posts: 256
Joined: Mon Oct 12, 2009 8:21 am

Re: Graphing has stopped

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Ethan Galstad
President
Locked