Yep finally there’s something fishy. For some reasons it has problems with the timestamp.
OMD[office]:~/var/pnp4nagios$ ls -la log/
total 23372
drwxr-xr-x 2 office office 4096 May 3 18:30 ./
drwxr-xr-x 6 office office 4096 May 7 18:02 ../
-rw-r--r-- 1 office office 3273358 May 3 18:31 npcd.log
-rw-r--r-- 1 office office 10485960 May 3 18:30 npcd.log.old
-rw-rw-r-- 1 office office 10146847 Mar 25 2019 perfdata.log
OMD[office]:~/var/pnp4nagios$ tail log/npcd.log
[05-03-2020 18:31:40] NPCD: ERROR: Executed command exits with return code '1'
[05-03-2020 18:31:40] NPCD: ERROR: Command line was '/omd/sites/office/lib/pnp4nagios/process_perfdata.pl -n -c /omd/sites/office/etc/pnp4nagios/process_perfdata.cfg -b /omd/sites/office/var/pnp4nagios/spool//perfdata.1588209597'
[05-03-2020 18:31:40] NPCD: ERROR: Executed command exits with return code '1'
[05-03-2020 18:31:40] NPCD: ERROR: Command line was '/omd/sites/office/lib/pnp4nagios/process_perfdata.pl -n -c /omd/sites/office/etc/pnp4nagios/process_perfdata.cfg -b /omd/sites/office/var/pnp4nagios/spool//perfdata.1588209612'
[05-03-2020 18:31:40] NPCD: Caught Termination Signal - Astalavista... baby
perfdata.log last entry:
2019-03-25 20:48:16 [10686] [0] RRDs::update /omd/sites/office/var/pnp4nagios/perfdata/pfsense.backup/Check_MK_cmk_time_snmp.rrd 1553543282:0.130
2019-03-25 20:48:16 [10686] [0] RRDs::update ERROR rrdcached: illegal attempt to update using time 1553543282.000000 when last update time is 1553543282.000000 (minimum one second step
Although the log entries been quite old there was none from today when I let npcd run for a while.
I don’t know why this happened, because the system time is correct.
OMD[office]:~$ timedatectl
Local time: Thu 2020-05-07 17:51:37 CEST
Universal time: Thu 2020-05-07 15:51:37 UTC
RTC time: Thu 2020-05-07 15:51:37
Time zone: Europe/Berlin (CEST, +0200)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
I deleted the rrd files from spool and now npcd runs without pushing systemload into orbit but the graphs still show nan