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
2014-02-27 14:45:23 [21276] [2] /usr/local/nagios/share/perfdata/myhost/vdisk-read-latency.rrd updated
Best Regard