Graphs not updating

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Graphs not updating

Post by BanditBBS »

So I upgraded my DEV box from 4.5.9 to 4.5.10 and also ran yum update, so not sure which broke it. My graphs are no longer updating, check out the dir listing:

Code: Select all

-rw-rw-r-- 1 nagios nagios 2301312 Sep 29 13:51 CPU_Usage.rrd
-rw-rw-r-- 1 nagios nagios    5529 Sep 29 16:50 CPU_Usage.xml
-rw-rw-r-- 1 nagios nagios 1151496 Sep 29 13:51 Current_Load.rrd
-rw-rw-r-- 1 nagios nagios    3498 Sep 29 16:54 Current_Load.xml
-rw-rw-r-- 1 nagios nagios  384952 Sep 29 13:51 Current_Users.rrd
-rw-rw-r-- 1 nagios nagios    2053 Sep 29 16:51 Current_Users.xml
-rw-rw-r-- 1 nagios nagios 1534768 Sep 29 13:45 _HOST_.rrd
-rw-rw-r-- 1 nagios nagios    3905 Sep 29 16:51 _HOST_.xml
-rw-rw-r-- 1 nagios nagios  768224 Sep 29 13:51 HTTP.rrd
-rw-rw-r-- 1 nagios nagios    2664 Sep 29 16:53 HTTP.xml
-rw-rw-r-- 1 nagios nagios 1534768 Sep 29 13:45 Memory.rrd
-rw-rw-r-- 1 nagios nagios    4060 Sep 29 16:52 Memory.xml
-rw-rw-r-- 1 nagios nagios  384952 Sep 29 13:51 Root_Partition.rrd
-rw-rw-r-- 1 nagios nagios    2108 Sep 29 16:55 Root_Partition.xml
-rw-rw-r-- 1 nagios nagios  384952 Sep 29 13:51 SSH.rrd
-rw-rw-r-- 1 nagios nagios    2012 Sep 29 16:53 SSH.xml
-rw-rw-r-- 1 nagios nagios  384952 Sep 29 13:43 Swap_Usage.rrd
-rw-rw-r-- 1 nagios nagios    2065 Sep 29 16:50 Swap_Usage.xml
-rw-rw-r-- 1 nagios nagios  384952 Sep 29 13:42 Total_Processes.rrd
-rw-rw-r-- 1 nagios nagios    2099 Sep 29 16:52 Total_Processes.xml
The XML files are being updated but the rrd files are all staying the same since I rebooted. I changed NPCD to log level -1 and watched the log, everything is fine, no errors. Any idea?
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Graphs not updating

Post by scottwilkerson »

anything of note in the perfdataproc.log

Code: Select all

tail -f /usr/local/nagiosxi/var/perfdataproc.log
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Graphs not updating

Post by BanditBBS »

Code: Select all

[root@iss-chi-nag01 localhost]# tail -f /usr/local/nagiosxi/var/perfdataproc.log
Outbound data DISABLED Mon, 02 Oct 2017 10:14:02 -0500

DONE. Processed 0 files.
Outbound data DISABLED Mon, 02 Oct 2017 10:15:03 -0500
Outbound data DISABLED Mon, 02 Oct 2017 10:16:02 -0500

DONE. Processed 0 files.

DONE. Processed 0 files.
Outbound data DISABLED Mon, 02 Oct 2017 10:17:02 -0500

DONE. Processed 0 files.
Outbound data DISABLED Mon, 02 Oct 2017 10:18:03 -0500
Outbound data DISABLED Mon, 02 Oct 2017 10:19:02 -0500

DONE. Processed 0 files.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Graphs not updating

Post by scottwilkerson »

This is a bit grabbing at straws, but can you run through the couple things on this list you haven't already looked at?
https://support.nagios.com/kb/article.php?id=9

Update the paths to use your ram disk if you have one implemented.

I haven't seen this from any other users, internally or externally.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Graphs not updating

Post by scottwilkerson »

One more log we should look at, this is what I wanted before but asked for the wrong thing

Code: Select all

tail -100 /usr/local/nagios/var/perfdata.log
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Graphs not updating

Post by BanditBBS »

scottwilkerson wrote:One more log we should look at, this is what I wanted before but asked for the wrong thing

Code: Select all

tail -100 /usr/local/nagios/var/perfdata.log
Checkign the other items, but here is the log stuff, looks like some timeouts:

Code: Select all

2015-10-10 23:11:58 [18311] [0] *** TIMEOUT: Please check your npcd.cfg
2015-10-10 23:11:58 [18311] [0] *** TIMEOUT: /var/nagiosramdisk/spool/perfdata//1444536702.perfdata.service-PID-18311 deleted
2015-10-10 23:11:58 [18311] [0] *** Timeout while processing Host: "iss-chi-nag09" Service: "ndo2db_Queue"
2015-10-10 23:11:58 [18311] [0] *** process_perfdata.pl terminated on signal ALRM
2015-10-10 23:16:24 [18526] [0] *** TIMEOUT: Timeout after 5 secs. ***
2015-10-10 23:16:24 [18526] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2015-10-10 23:16:24 [18526] [0] *** TIMEOUT: Please check your npcd.cfg
2015-10-10 23:16:24 [18526] [0] *** TIMEOUT: /var/nagiosramdisk/spool/perfdata//1444536717.perfdata.host-PID-18526 deleted
2015-10-10 23:16:24 [18526] [0] *** Timeout while processing Host: "localhost" Service: "_HOST_"
2015-10-10 23:16:24 [18526] [0] *** process_perfdata.pl terminated on signal ALRM
2015-10-10 23:16:24 [18527] [0] *** TIMEOUT: Timeout after 5 secs. ***
2015-10-10 23:16:24 [18527] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2015-10-10 23:16:24 [18527] [0] *** TIMEOUT: Please check your npcd.cfg
2015-10-10 23:16:24 [18527] [0] *** TIMEOUT: /var/nagiosramdisk/spool/perfdata//1444536717.perfdata.service-PID-18527 deleted
2015-10-10 23:16:24 [18527] [0] *** Timeout while processing Host: "localhost" Service: "CPU"
2015-10-10 23:16:24 [18527] [0] *** process_perfdata.pl terminated on signal ALRM
2015-10-14 00:36:39 [4537] [0] *** TIMEOUT: Timeout after 5 secs. ***
2015-10-14 00:36:39 [4537] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2015-10-14 00:36:39 [4537] [0] *** TIMEOUT: Please check your npcd.cfg
2015-10-14 00:36:39 [4537] [0] *** TIMEOUT: /var/nagiosramdisk/spool/perfdata//1444800923.perfdata.service-PID-4537 deleted
2015-10-14 00:36:40 [4537] [0] *** Timeout while processing Host: "localhost" Service: "Root_Partition"
2015-10-14 00:36:40 [4537] [0] *** process_perfdata.pl terminated on signal ALRM
2015-10-14 00:36:40 [4536] [0] *** TIMEOUT: Timeout after 5 secs. ***
2015-10-14 00:36:40 [4536] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2015-10-14 00:36:40 [4536] [0] *** TIMEOUT: Please check your npcd.cfg
2015-10-14 00:36:40 [4536] [0] *** TIMEOUT: Could not delete /var/nagiosramdisk/spool/perfdata//1444800923.perfdata.host-PID-4536:No such file or directory
2015-10-14 00:36:40 [4536] [0] *** Timeout while processing Host: "" Service: ""
2015-10-14 00:36:40 [4536] [0] *** process_perfdata.pl terminated on signal ALRM
2015-11-03 03:18:50 [30476] [0] *** TIMEOUT: Timeout after 5 secs. ***
2015-11-03 03:18:50 [30476] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2015-11-03 03:18:50 [30476] [0] *** TIMEOUT: Please check your npcd.cfg
2015-11-03 03:18:50 [30476] [0] *** TIMEOUT: /var/nagiosramdisk/spool/perfdata//1446542307.perfdata.service-PID-30476 deleted
2015-11-03 03:18:50 [30475] [0] *** TIMEOUT: Timeout after 5 secs. ***
2015-11-03 03:18:50 [30475] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2015-11-03 03:18:50 [30475] [0] *** TIMEOUT: Please check your npcd.cfg
2015-11-03 03:18:50 [30475] [0] *** TIMEOUT: /var/nagiosramdisk/spool/perfdata//1446542307.perfdata.host-PID-30475 deleted
2015-11-03 03:18:50 [30476] [0] *** Timeout while processing Host: "sw-chi-core-1" Service: "unrouted-VLAN-250_Bandwidth"
2015-11-03 03:18:50 [30476] [0] *** process_perfdata.pl terminated on signal ALRM
2015-11-03 03:18:50 [30475] [0] *** Timeout while processing Host: "localhost" Service: "_HOST_"
2015-11-03 03:18:50 [30475] [0] *** process_perfdata.pl terminated on signal ALRM
2016-02-02 17:34:00 [30862] [0] *** TIMEOUT: Timeout after 5 secs. ***
2016-02-02 17:34:00 [30861] [0] *** TIMEOUT: Timeout after 5 secs. ***
2016-02-02 17:34:00 [30862] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2016-02-02 17:34:00 [30861] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2016-02-02 17:34:00 [30862] [0] *** TIMEOUT: Please check your npcd.cfg
2016-02-02 17:34:00 [30861] [0] *** TIMEOUT: Please check your npcd.cfg
2016-02-02 17:34:00 [30862] [0] *** TIMEOUT: /var/nagiosramdisk/spool/perfdata//1454456024.perfdata.service-PID-30862 deleted
2016-02-02 17:34:00 [30861] [0] *** TIMEOUT: /var/nagiosramdisk/spool/perfdata//1454456024.perfdata.host-PID-30861 deleted
2016-02-02 17:34:00 [30862] [0] *** Timeout while processing Host: "sw-chi-core-1" Service: "Vlan827_Bandwidth"
2016-02-02 17:34:00 [30862] [0] *** process_perfdata.pl terminated on signal ALRM
2016-02-02 17:34:00 [30861] [0] *** Timeout while processing Host: "sw-chi-core-1" Service: "_HOST_"
2016-02-02 17:34:00 [30861] [0] *** process_perfdata.pl terminated on signal ALRM
2016-02-15 18:15:33 [8460] [0] *** TIMEOUT: Timeout after 5 secs. ***
2016-02-15 18:15:33 [8460] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2016-02-15 18:15:33 [8460] [0] *** TIMEOUT: Please check your npcd.cfg
2016-02-15 18:15:33 [8460] [0] *** TIMEOUT: Could not delete /var/nagiosramdisk/spool/perfdata//1455581459.perfdata.host-PID-8460:No such file or directory
2016-02-15 18:15:33 [8460] [0] *** Timeout while processing Host: ".pnp-internal" Service: "runtime"
2016-02-15 18:15:33 [8460] [0] *** process_perfdata.pl terminated on signal ALRM
2016-03-19 07:00:09 [12388] [0] *** TIMEOUT: Timeout after 5 secs. ***
2016-03-19 07:00:09 [12388] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2016-03-19 07:00:09 [12389] [0] *** TIMEOUT: Timeout after 5 secs. ***
2016-03-19 07:00:09 [12388] [0] *** TIMEOUT: Please check your npcd.cfg
2016-03-19 07:00:09 [12389] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2016-03-19 07:00:09 [12388] [0] *** TIMEOUT: /var/nagiosramdisk/spool/perfdata//1458388783.perfdata.host-PID-12388 deleted
2016-03-19 07:00:09 [12389] [0] *** TIMEOUT: Please check your npcd.cfg
2016-03-19 07:00:09 [12389] [0] *** TIMEOUT: /var/nagiosramdisk/spool/perfdata//1458388784.perfdata.service-PID-12389 deleted
2016-03-19 07:00:09 [12388] [0] *** Timeout while processing Host: "Host2" Service: "_HOST_"
2016-03-19 07:00:09 [12388] [0] *** process_perfdata.pl terminated on signal ALRM
2016-03-19 07:00:09 [12389] [0] *** Timeout while processing Host: "sw-chi-core-1" Service: "unrouted-VLAN-876_Bandwidth"
2016-03-19 07:00:09 [12389] [0] *** process_perfdata.pl terminated on signal ALRM
2016-10-01 00:15:39 [28912] [0] *** TIMEOUT: Timeout after 5 secs. ***
2016-10-01 00:15:39 [28912] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2016-10-01 00:15:39 [28912] [0] *** TIMEOUT: Please check your npcd.cfg
2016-10-01 00:15:39 [28912] [0] *** TIMEOUT: /var/nagiosramdisk/spool/perfdata//1475298912.perfdata.service-PID-28912 deleted
2016-10-01 00:15:39 [28912] [0] *** Timeout while processing Host: "itc-chi-rtr-01" Service: "Tunnel13_Bandwidth"
2016-10-01 00:15:39 [28912] [0] *** process_perfdata.pl terminated on signal ALRM
2017-07-15 12:20:05 [6847] [0] *** TIMEOUT: Timeout after 5 secs. ***
2017-07-15 12:20:05 [6847] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2017-07-15 12:20:05 [6847] [0] *** TIMEOUT: Please check your npcd.cfg
2017-07-15 12:20:05 [6847] [0] *** TIMEOUT: /var/nagiosramdisk/spool/perfdata//1500139180.perfdata.service-PID-6847 deleted
2017-07-15 12:20:05 [6847] [0] *** Timeout while processing Host: "localhost" Service: "Current_Load"
2017-07-15 12:20:05 [6847] [0] *** process_perfdata.pl terminated on signal ALRM
2017-07-15 12:20:05 [6846] [0] *** TIMEOUT: Timeout after 5 secs. ***
2017-07-15 12:20:05 [6846] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2017-07-15 12:20:05 [6846] [0] *** TIMEOUT: Please check your npcd.cfg
2017-07-15 12:20:05 [6846] [0] *** TIMEOUT: /var/nagiosramdisk/spool/perfdata//1500139180.perfdata.host-PID-6846 deleted
2017-07-15 12:20:05 [6846] [0] *** Timeout while processing Host: "localhost" Service: "_HOST_"
2017-07-15 12:20:05 [6846] [0] *** process_perfdata.pl terminated on signal ALRM
2017-07-15 12:20:42 [7155] [0] *** TIMEOUT: Timeout after 5 secs. ***
2017-07-15 12:20:42 [7156] [0] *** TIMEOUT: Timeout after 5 secs. ***
2017-07-15 12:20:42 [7155] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2017-07-15 12:20:42 [7155] [0] *** TIMEOUT: Please check your npcd.cfg
2017-07-15 12:20:42 [7156] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2017-07-15 12:20:42 [7156] [0] *** TIMEOUT: Please check your npcd.cfg
2017-07-15 12:20:42 [7156] [0] *** TIMEOUT: /var/nagiosramdisk/spool/perfdata//1500139225.perfdata.service-PID-7156 deleted
2017-07-15 12:20:42 [7155] [0] *** TIMEOUT: Could not delete /var/nagiosramdisk/spool/perfdata//1500139225.perfdata.host-PID-7155:No such file or directory
2017-07-15 12:20:42 [7156] [0] *** Timeout while processing Host: "localhost" Service: "Memory"
2017-07-15 12:20:42 [7156] [0] *** process_perfdata.pl terminated on signal ALRM
2017-07-15 12:20:42 [7155] [0] *** Timeout while processing Host: "" Service: ""
2017-07-15 12:20:42 [7155] [0] *** process_perfdata.pl terminated on signal ALRM
edit: Wait, what the heck, that log is barely ever written to.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Graphs not updating

Post by BanditBBS »

Ok, changed the logging level and now seeing an error:

Code: Select all

rrdtool update returns 256
Full log:

Code: Select all

2017-10-02 13:04:14 [9919] [2] Using Config File /usr/local/nagios/etc/pnp/process_perfdata.cfg parameters
2017-10-02 13:04:14 [9919] [1] process_perfdata.pl-0.6.11 starting in BULK Mode called by NPCD
2017-10-02 13:04:14 [9919] [2] searching for /var/nagiosramdisk/spool/perfdata//1506967450.perfdata.host
2017-10-02 13:04:14 [9919] [2] renaming /var/nagiosramdisk/spool/perfdata//1506967450.perfdata.host to /var/nagiosramdisk/spool/perfdata//1506967450.perfdata.host-PID-9919 for bulk update
2017-10-02 13:04:14 [9920] [2] Using Config File /usr/local/nagios/etc/pnp/process_perfdata.cfg parameters
2017-10-02 13:04:14 [9919] [2] reading /var/nagiosramdisk/spool/perfdata//1506967450.perfdata.host-PID-9919 for bulk update
2017-10-02 13:04:14 [9919] [2] Processing Line 1
2017-10-02 13:04:14 [9919] [2] Datatype set to 'HOSTPERFDATA'
2017-10-02 13:04:14 [9919] [1] Found Performance Data for cms-365-puptest02 / _HOST_ (rta=0.000ms;3000.000;5000.000;0; pl=100%;80;100;; rtmax=0.000ms;;;; rtmin=0.000ms;;;;)
2017-10-02 13:04:14 [9919] [2] No Custom Template found for check-host-alive (/usr/local/nagios/etc/pnp/check_commands/check-host-alive.cfg)
2017-10-02 13:04:14 [9919] [2] Template is check-host-alive.php
2017-10-02 13:04:14 [9920] [1] process_perfdata.pl-0.6.11 starting in BULK Mode called by NPCD
2017-10-02 13:04:14 [9920] [2] searching for /var/nagiosramdisk/spool/perfdata//1506967450.perfdata.service
2017-10-02 13:04:14 [9919] [2] No Custom Template found for check-host-alive (/usr/local/nagios/etc/pnp/check_commands/check-host-alive.cfg)
2017-10-02 13:04:14 [9920] [2] renaming /var/nagiosramdisk/spool/perfdata//1506967450.perfdata.service to /var/nagiosramdisk/spool/perfdata//1506967450.perfdata.service-PID-9920 for bulk update
2017-10-02 13:04:14 [9919] [2] Template is check-host-alive.php
2017-10-02 13:04:14 [9920] [2] reading /var/nagiosramdisk/spool/perfdata//1506967450.perfdata.service-PID-9920 for bulk update
2017-10-02 13:04:14 [9920] [2] Processing Line 1
2017-10-02 13:04:14 [9919] [2] No Custom Template found for check-host-alive (/usr/local/nagios/etc/pnp/check_commands/check-host-alive.cfg)
2017-10-02 13:04:14 [9919] [2] Template is check-host-alive.php
2017-10-02 13:04:14 [9920] [2] Datatype set to 'SERVICEPERFDATA'
2017-10-02 13:04:14 [9919] [2] No Custom Template found for check-host-alive (/usr/local/nagios/etc/pnp/check_commands/check-host-alive.cfg)
2017-10-02 13:04:14 [9920] [1] Found Performance Data for iss-chi-nag09 / Memory (TOTAL=32880304KB;;;; USED=527952KB;29592273;31236288;; FREE=32352352KB;;;; CACHES=9074380KB;;;;)
2017-10-02 13:04:14 [9919] [2] Template is check-host-alive.php
2017-10-02 13:04:14 [9920] [2] No Custom Template found for check_nrpe (/usr/local/nagios/etc/pnp/check_commands/check_nrpe.cfg)
2017-10-02 13:04:14 [9920] [2] Template is check_nrpe.php
2017-10-02 13:04:14 [9919] [2] data2rrd called
2017-10-02 13:04:14 [9920] [2] No Custom Template found for check_nrpe (/usr/local/nagios/etc/pnp/check_commands/check_nrpe.cfg)
2017-10-02 13:04:14 [9920] [2] Template is check_nrpe.php
2017-10-02 13:04:14 [9920] [2] No Custom Template found for check_nrpe (/usr/local/nagios/etc/pnp/check_commands/check_nrpe.cfg)
2017-10-02 13:04:14 [9920] [2] Template is check_nrpe.php
2017-10-02 13:04:14 [9919] [2] RRDs Perl Modules are not installed. Falling back to rrdtool system call.
2017-10-02 13:04:14 [9920] [2] No Custom Template found for check_nrpe (/usr/local/nagios/etc/pnp/check_commands/check_nrpe.cfg)
2017-10-02 13:04:14 [9919] [2] /usr/bin/rrdtool update --daemon=unix:/var/rrdtool/rrdcached/rrdcached.sock /usr/local/nagios/share/perfdata/cms-365-puptest02/_HOST_.rrd 1506967445:0.000:100:0.000:0.000
2017-10-02 13:04:14 [9920] [2] Template is check_nrpe.php
2017-10-02 13:04:14 [9920] [2] data2rrd called
2017-10-02 13:04:14 [9920] [2] RRDs Perl Modules are not installed. Falling back to rrdtool system call.
2017-10-02 13:04:14 [9920] [2] /usr/bin/rrdtool update --daemon=unix:/var/rrdtool/rrdcached/rrdcached.sock /usr/local/nagios/share/perfdata/iss-chi-nag09/Memory.rrd 1506967445:32880304:527952:32352352:9074380
2017-10-02 13:04:14 [9919] [1] rrdtool update returns 256
2017-10-02 13:04:14 [9919] [1] 1 lines processed
2017-10-02 13:04:14 [9919] [1] /var/nagiosramdisk/spool/perfdata//1506967450.perfdata.host-PID-9919 deleted
2017-10-02 13:04:14 [9920] [1] rrdtool update returns 256
2017-10-02 13:04:14 [9919] [2] No Custom Template found for pnp-runtime (/usr/local/nagios/etc/pnp/check_commands/pnp-runtime.cfg)
2017-10-02 13:04:14 [9919] [2] Template is pnp-runtime.php
2017-10-02 13:04:14 [9919] [2] No Custom Template found for pnp-runtime (/usr/local/nagios/etc/pnp/check_commands/pnp-runtime.cfg)
2017-10-02 13:04:14 [9919] [2] Template is pnp-runtime.php
2017-10-02 13:04:14 [9920] [2] Processing Line 2
2017-10-02 13:04:14 [9919] [2] No Custom Template found for pnp-runtime (/usr/local/nagios/etc/pnp/check_commands/pnp-runtime.cfg)
2017-10-02 13:04:14 [9919] [2] Template is pnp-runtime.php
2017-10-02 13:04:14 [9920] [2] Datatype set to 'SERVICEPERFDATA'
2017-10-02 13:04:14 [9920] [1] Found Performance Data for localhost / SSH (time=0.009429s;;;0.000000;10.000000)
2017-10-02 13:04:14 [9919] [2] No Custom Template found for pnp-runtime (/usr/local/nagios/etc/pnp/check_commands/pnp-runtime.cfg)
2017-10-02 13:04:14 [9919] [2] Template is pnp-runtime.php
2017-10-02 13:04:14 [9920] [2] No Custom Template found for check_ssh (/usr/local/nagios/etc/pnp/check_commands/check_ssh.cfg)
2017-10-02 13:04:14 [9920] [2] Template is check_ssh.php
2017-10-02 13:04:14 [9919] [2] No Custom Template found for pnp-runtime (/usr/local/nagios/etc/pnp/check_commands/pnp-runtime.cfg)
2017-10-02 13:04:14 [9919] [2] Template is pnp-runtime.php
2017-10-02 13:04:14 [9920] [2] data2rrd called
2017-10-02 13:04:14 [9919] [2] No Custom Template found for pnp-runtime (/usr/local/nagios/etc/pnp/check_commands/pnp-runtime.cfg)
2017-10-02 13:04:14 [9919] [2] Template is pnp-runtime.php
2017-10-02 13:04:14 [9919] [2] No Custom Template found for pnp-runtime (/usr/local/nagios/etc/pnp/check_commands/pnp-runtime.cfg)
2017-10-02 13:04:14 [9920] [2] RRDs Perl Modules are not installed. Falling back to rrdtool system call.
2017-10-02 13:04:14 [9919] [2] Template is pnp-runtime.php
2017-10-02 13:04:14 [9920] [2] /usr/bin/rrdtool update --daemon=unix:/var/rrdtool/rrdcached/rrdcached.sock /usr/local/nagios/share/perfdata/localhost/SSH.rrd 1506967445:0.009429
2017-10-02 13:04:14 [9919] [2] data2rrd called
2017-10-02 13:04:14 [9919] [2] RRDs Perl Modules are not installed. Falling back to rrdtool system call.
2017-10-02 13:04:14 [9919] [2] /usr/bin/rrdtool update --daemon=unix:/var/rrdtool/rrdcached/rrdcached.sock /usr/local/nagios/share/perfdata/.pnp-internal/runtime_runtime.rrd 1506967439:0.10855
2017-10-02 13:04:14 [9920] [1] rrdtool update returns 256
2017-10-02 13:04:14 [9919] [1] rrdtool update returns 256
2017-10-02 13:04:14 [9920] [1] 2 lines processed
2017-10-02 13:04:14 [9920] [1] /var/nagiosramdisk/spool/perfdata//1506967450.perfdata.service-PID-9920 deleted
2017-10-02 13:04:14 [9919] [2] RRDs Perl Modules are not installed. Falling back to rrdtool system call.
2017-10-02 13:04:14 [9919] [2] /usr/bin/rrdtool update --daemon=unix:/var/rrdtool/rrdcached/rrdcached.sock /usr/local/nagios/share/perfdata/.pnp-internal/runtime_rows.rrd 1506967439:12
2017-10-02 13:04:14 [9920] [1] PNP exiting (runtime 0.01679s) ...
2017-10-02 13:04:14 [9919] [1] rrdtool update returns 256
2017-10-02 13:04:14 [9919] [2] RRDs Perl Modules are not installed. Falling back to rrdtool system call.
2017-10-02 13:04:14 [9919] [2] /usr/bin/rrdtool update --daemon=unix:/var/rrdtool/rrdcached/rrdcached.sock /usr/local/nagios/share/perfdata/.pnp-internal/runtime_errors.rrd 1506967439:12
2017-10-02 13:04:14 [9919] [1] rrdtool update returns 256
2017-10-02 13:04:14 [9919] [2] RRDs Perl Modules are not installed. Falling back to rrdtool system call.
2017-10-02 13:04:14 [9919] [2] /usr/bin/rrdtool update --daemon=unix:/var/rrdtool/rrdcached/rrdcached.sock /usr/local/nagios/share/perfdata/.pnp-internal/runtime_invalid.rrd 1506967439:0
2017-10-02 13:04:14 [9919] [1] rrdtool update returns 256
2017-10-02 13:04:14 [9919] [2] RRDs Perl Modules are not installed. Falling back to rrdtool system call.
2017-10-02 13:04:14 [9919] [2] /usr/bin/rrdtool update --daemon=unix:/var/rrdtool/rrdcached/rrdcached.sock /usr/local/nagios/share/perfdata/.pnp-internal/runtime_skipped.rrd 1506967439:0
2017-10-02 13:04:14 [9919] [1] rrdtool update returns 256
2017-10-02 13:04:14 [9919] [2] RRDs Perl Modules are not installed. Falling back to rrdtool system call.
2017-10-02 13:04:14 [9919] [2] /usr/bin/rrdtool update --daemon=unix:/var/rrdtool/rrdcached/rrdcached.sock /usr/local/nagios/share/perfdata/.pnp-internal/runtime_update.rrd 1506967439:0
2017-10-02 13:04:14 [9919] [1] rrdtool update returns 256
2017-10-02 13:04:14 [9919] [2] RRDs Perl Modules are not installed. Falling back to rrdtool system call.
2017-10-02 13:04:14 [9919] [2] /usr/bin/rrdtool update --daemon=unix:/var/rrdtool/rrdcached/rrdcached.sock /usr/local/nagios/share/perfdata/.pnp-internal/runtime_create.rrd 1506967439:0
2017-10-02 13:04:14 [9919] [1] rrdtool update returns 256
2017-10-02 13:04:14 [9919] [1] PNP exiting (runtime 0.009904s) ...
Also, trying one of the commands for rrdtool, I see this:

Code: Select all

[root@iss-chi-nag01 var]# /usr/bin/rrdtool update --daemon=unix:/var/rrdtool/rrdcached/rrdcached.sock /usr/local/nagios/share/perfdata/.pnp-internal/runtime_create.rrd 1506968389:0
ERROR: unknown option '--daemon=unix:/var/rrdtool/rrdcached/rrdcached.sock'
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Graphs not updating

Post by scottwilkerson »

Out of curiosity what version of rrdtool tool do you have?

Code: Select all

rrdtool -h
I have 1.4.9 as the newest on a CentOS7 machine
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Graphs not updating

Post by scottwilkerson »

I have a feeling this is going to be the culprit. I think you may need to remove rrdtool-per and run the following to perform a manual install of an approved version (instructions in here)

Code: Select all

cd /tmp
wget https://assets.nagios.com/downloads/nagiosxi/scripts/xi-rrdcached.sh 
chmod +x xi-rrdcached.sh
./xi-rrdcached.sh


https://assets.nagios.com/downloads/nag ... ios_XI.pdf
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Graphs not updating

Post by BanditBBS »

scottwilkerson wrote:I have a feeling this is going to be the culprit. I think you may need to remove rrdtool-per and run the following to perform a manual install of an approved version (instructions in here)

Code: Select all

cd /tmp
wget https://assets.nagios.com/downloads/nagiosxi/scripts/xi-rrdcached.sh 
chmod +x xi-rrdcached.sh
./xi-rrdcached.sh


https://assets.nagios.com/downloads/nag ... ios_XI.pdf
Scott, that did it, very weird. I couldn't find any rrdtool-perl installed oddly enough. I ran the above commands and all is well again. Just an fyi my version was 1.3.8.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Locked