I have found that nagios does not pay attention to the label for the performance data, only the order which it is returned in - therefore if you change the order the graphs have the wrong data in them. This is not my issue though, I can work around that. What I have found is that when the number of lines of perfdata changes (only noticed when it reduces, not sure if it occurs when it increases), no more data gets logged for that service.(see attached images - perfdata was being generated at the time, just not graphed)
I have traced it through and I think that process_perfdata.pl is the issue. It does not seem to have a section for handling changing the number of data sources. Is this a bug or limitation in Nagios or rrd, or am I doing something wrong.
Unfortunately for some reason my perfdata.log has stopped working. Nagios appears to be configured for bulk mode (without NCPD) for loading the perfdata. The /usr/local/nagios/var/spool/xidpe directory is empty.
I am running Nagios 2012R2.7, but will be upgrading to the latest 2014 next week. I think this was installed by the VMImage.
Thanks in advance,
David
System Profile
Nagios XI Installation Profile
Download Profile
System:
Nagios XI Version : 2012R2.7
mon1.vicroads.its 2.6.32-431.3.1.el6.x86_64 x86_64
CentOS release 6.5 (Final)
Gnome is not installed
Apache Information
PHP Version: 5.3.3
Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; Touch; rv:11.0) like Gecko
Server Name: mon1.vr.its
Server Address: 149.176.218.231
Server Port: 443
Date/Time
PHP Timezone: Australia/Melbourne
PHP Time: Fri, 20 Feb 2015 16:17:04 +1100
System Time: Fri, 20 Feb 2015 16:17:04 +1100
Nagios XI Data
License ends in: OSPOSP
nagios (pid 10511) is running...
NPCD running (pid 1750).
ndo2db (pid 1802) is running...
CPU Load 15: 2.12
Total Hosts: 51
Total Services: 689
Function 'get_base_uri' returns: https://mon1.vr.its/nagiosxi/
Function 'get_base_url' returns: https://mon1.vr.its/nagiosxi/
Function 'get_backend_url(internal_call=false)' returns: https://mon1.vr.its/nagiosxi/includes/c ... rofile.php
Function 'get_backend_url(internal_call=true)' returns: https://localhost/nagiosxi/backend/
Ping Test localhost
Running: /bin/ping -c 3 localhost 2>&1
PING localhost.localdomain (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64 time=0.023 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=2 ttl=64 time=0.052 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=3 ttl=64 time=0.056 ms
--- localhost.localdomain ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.023/0.043/0.056/0.016 ms
Test wget To locahost
WGET From URL: http://localhost/nagiosql/index.php
Running: /usr/bin/wget http://localhost/nagiosql/index.php
--2015-02-20 16:17:07-- http://localhost/nagiosql/index.php
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5259 (5.1K) [text/html]
Saving to: "/tmp/nagiosql_index.tmp"
0K ..... 100% 288M=0s
2015-02-20 16:17:07 (288 MB/s) - "/tmp/nagiosql_index.tmp" saved [5259/5259]