Problem with performance graphs on Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mon-team
Posts: 171
Joined: Thu Jun 28, 2012 9:22 am

Problem with performance graphs on Nagios XI

Post by mon-team »

Hello everybody,
I have a problem with some graphs using performance data on Nagios XI 2012R2.2
I want to graphs key parameters on a HP SAN device using check_p2000.php plugin

This is the output of the Advanced Status detail of my service:
Service State: Ok
Duration: 1d 4h 30m 33s
State Type: Hard
Current Check: 1 of 2
Last Check: 2014-02-27 15:49:21
Next Check: 2014-02-27 15:54:21
Last State Change: 2014-02-26 11:19:09
Last Notification: Never
Check Type: Active
Check Latency: 0.19556 seconds
Execution Time: 0.62592 seconds
State Change: 0%
Performance Data: vd01=9581ms;;; vd02=13474ms;;; vd03=4843ms;;; vd04=4351ms;;; vd05=7224ms;;; vd06=4299ms;;;

It seems that the plugin is correctly returning performance data values but the graph is not displaying any values (Nan)
[img][attachment=0]Capture.PNG[/img]

this are the permissions of the xml and rrd files related to the graph
-rwxrwxr-x 1 nagios nagios 1918040 Feb 27 15:54 vdisk-read-latency.rrd
-rw-rw-rw- 1 nagios nagios 5518 Feb 27 15:59 vdisk-read-latency.xml

and it seems that those files are regularly updated but we i run the rrdtool last command it shows that last update was two days ago

I also enabled npcd and perfdata logs and raised timeout value up to 20 seconds
This is a sample from perfdata.log

2014-02-27 14:45:23 [21276] [1] Found Performance Data for 'myhost'/ vdisk-read-latency (vd01=35621ms;;; vd02=14767ms;;; vd03=1703ms;;; vd04=4012ms;;; vd05=9642ms;;; vd06=9390ms;;;)
2014-02-27 14:45:23 [21276] [2] No Custom Template found for check_p2000 (/usr/local/nagios/etc/pnp/check_commands/check_p2000.cfg)
2014-02-27 14:45:23 [21276] [2] RRDs::update --daemon=unix:/var/rrdtool/rrdcached/rrdcached.sock /usr/local/nagios/share/perfdata/myhost/vdisk-read-latency.rrd 1393512297:35621:14767:1703:4012:9642:9390
2014-02-27 14:45:23 [21276] [2] /usr/local/nagios/share/perfdata/myhost/vdisk-read-latency.rrd updated



Best Regard
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Problem with performance graphs on Nagios XI

Post by scottwilkerson »

Has this plugin always returned 6 datasources?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
mon-team
Posts: 171
Joined: Thu Jun 28, 2012 9:22 am

Re: Problem with performance graphs on Nagios XI

Post by mon-team »

hi scott, i have fixed the problem
honestly i dont' remember the numbers of value returned by the plugin
what i have done was to erase the rrd and xml file locate in /usr/local/nagios/share/perfdata/myhost/ then i have deleted the service and the host on nagiosxi and afterward i have created them again
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Problem with performance graphs on Nagios XI

Post by tmcdonald »

Glad to see it's working. Is it safe to lock up this thread now?
Former Nagios employee
Locked