Hello, my /opt/omd/sites/master/var/pnp4nagios/spool
keeps growing - 4 files per minute.
I’ve done some research and I ended up with the suppose that the rrdcached and npcd could be the root cause regarding that problem.
CMK version:
Open Monitoring Distribution Version 2.0.0p18.cre
OS version:
Debian 12
Error message:
/opt/omd/sites/master/var/pnp4nagios/log/perfdata.log
2023-10-23 09:01:26 [1418880] [0] RRDs::update /omd/sites/master/var/pnp4nagios/perfdata/SERVER/_HOST__rta.rrd 1698044458:25.408
2023-10-23 09:01:26 [1418880] [0] RRDs::update ERROR rrdcached@unix:/omd/sites/master/tmp/run/rrdcached.sock: illegal attempt to update using time 1698044458.000000 when last update time is 1698044480.00000
0 (minimum one second step)
2023-10-23 09:01:26 [1418880] [0] RRDs::update /omd/sites/master/var/pnp4nagios/perfdata/SERVER/_HOST__pl.rrd 1698044458:0
2023-10-23 09:01:26 [1418880] [0] RRDs::update ERROR rrdcached@unix:/omd/sites/master/tmp/run/rrdcached.sock: illegal attempt to update using time 1698044458.000000 when last update time is 1698044480.00000
0 (minimum one second step)
2023-10-23 09:01:26 [1418880] [0] RRDs::update /omd/sites/master/var/pnp4nagios/perfdata/SERVER/_HOST__rtmax.rrd 1698044458:26.127
2023-10-23 09:01:26 [1418880] [0] RRDs::update ERROR rrdcached@unix:/omd/sites/master/tmp/run/rrdcached.sock: illegal attempt to update using time 1698044458.000000 when last update time is 1698044480.00000
0 (minimum one second step)
2023-10-23 09:01:26 [1418880] [0] RRDs::update /omd/sites/master/var/pnp4nagios/perfdata/SERVER/_HOST__rtmin.rrd 1698044458:25.055
2023-10-23 09:01:26 [1418880] [0] RRDs::update ERROR rrdcached@unix:/omd/sites/master/tmp/run/rrdcached.sock: illegal attempt to update using time 1698044458.000000 when last update time is 1698044480.00000
0 (minimum one second step)
2023-10-23 13:15:03 [2499340] [0] RRDs::update /omd/sites/master/var/pnp4nagios/perfdata/SERVER/HTTP_SERVER_time.rrd 1698059685:0.050628
2023-10-23 13:15:03 [2499340] [0] RRDs::update ERROR rrdcached@unix:/omd/sites/master/tmp/run/rrdcached.sock: illegal attempt to update using time 1698059685.000000 when last update time is 1698059697.00000
0 (minimum one second step)
2023-10-23 13:15:03 [2499340] [0] RRDs::update /omd/sites/master/var/pnp4nagios/perfdata/SERVER/HTTP_SERVER_size.rrd 1698059685:546
2023-10-23 13:15:03 [2499340] [0] RRDs::update ERROR rrdcached@unix:/omd/sites/master/tmp/run/rrdcached.sock: illegal attempt to update using time 1698059685.000000 when last update time is 1698059697.00000
0 (minimum one second step)
tail /opt/omd/sites/master/var/pnp4nagios/log/npcd.log
[02-12-2024 15:18:17] NPCD: ERROR: Executed command exits with return code '1'
[02-12-2024 15:18:17] NPCD: ERROR: Command line was '/omd/sites/master/lib/pnp4nagios/process_perfdata.pl -n -c /omd/sites/master/etc/pnp4nagios/process_perfdata.cfg -b /omd/sites/master/var/pnp4nagios/spool//perfdata.1707736024'
When I try to execute the command, I get the following error:
HiRes.c: loadable library and perl binaries are mismatched (got first handshake key 0xed00080, needed 0xeb80080)
When I type systemctl | grep check, I get the following versions:
check-mk-raw-1.5.0p11.service loaded active exited LSB: OMD sites
check-mk-raw-1.5.0p4.service loaded active exited LSB: OMD sites
check-mk-raw-1.5.0p7.service loaded active exited LSB: OMD sites
check-mk-raw-1.6.0p2.service loaded active exited LSB: OMD sites
check-mk-raw-2.0.0p18.service loaded active exited LSB: OMD sites
→ Each service is active
Thank you in advance for your help