InfluxdbWriter invalid perfdata on low values

Hi all,
version: r2.12.1-1
I am getting many invalid perfdata log entries for low values provided by check_jmx:

[2020-11-19 17:12:36 +0100] warning/InfluxdbWriter: Ignoring invalid perfdata for checkable 'xxx!JMX:Events/1m' and command 'by_ssh' with value: OneMinuteRate=5.863856523964383E-6
[2020-11-19 17:24:36 +0100] warning/InfluxdbWriter: Ignoring invalid perfdata for checkable 'xxx!JMX:Events/1m' and command 'by_ssh' with value: OneMinuteRate=4.7965698235144126E-4
[2020-11-19 17:25:36 +0100] warning/InfluxdbWriter: Ignoring invalid perfdata for checkable 'xxx!JMX:Events/1m' and command 'by_ssh' with value: OneMinuteRate=1.7645594262142867E-4
[2020-11-19 17:26:36 +0100] warning/InfluxdbWriter: Ignoring invalid perfdata for checkable 'xxx!JMX:Events/1m' and command 'by_ssh' with value: OneMinuteRate=6.49145135629513E-5
[2020-11-19 17:27:36 +0100] warning/InfluxdbWriter: Ignoring invalid perfdata for checkable 'xxx!JMX:Events/1m' and command 'by_ssh' with value: OneMinuteRate=2.3880714973454544E-5
[2020-11-19 17:36:36 +0100] warning/InfluxdbWriter: Ignoring invalid perfdata for checkable 'xxx!JMX:Events/1m' and command 'by_ssh' with value: OneMinuteRate=9.183219261531713E-4
[2020-11-19 17:37:36 +0100] warning/InfluxdbWriter: Ignoring invalid perfdata for checkable 'xxx!JMX:Events/1m' and command 'by_ssh' with value: OneMinuteRate=3.378317570087114E-4
[2020-11-19 17:38:36 +0100] warning/InfluxdbWriter: Ignoring invalid perfdata for checkable 'xxx!JMX:Events/1m' and command 'by_ssh' with value: OneMinuteRate=1.2428135797833132E-4

Except the value is low, I don’t see an error here. Why the log entry? ^^

Cheers,
Marcus

Hi,

the problem is the big E letter for the scientific notation, a little letter e works. I consider this a bug and created a patch for it.

Best regards
Michael

2 Likes

Hi,

we have also noticed that our icinga2.log is overflooded with such warnings … most of it came from nrpe checks especial for disk drives … it is not only related with disk e … here is some results:

nrpe drives total:
[root@mon1 icinga2]# cat icinga2.log | grep ‘Ignoring invalid perfdata for checkable’ | grep svc_windows_nrpe_disk_ | wc -l
76121
[root@mon1 icinga2]#

so that means more then 76k records from only today

nrpe total:
[root@mon1 icinga2]# cat icinga2.log | grep ‘Ignoring invalid perfdata for checkable’ | grep nrpe | wc -l
113849
[root@mon1 icinga2]#

over 113k for all nrpe related checks

total:
[root@mon1 icinga2]# cat icinga2.log | grep ‘Ignoring invalid perfdata for checkable’ | wc -l
157644
[root@mon1 icinga2]#

at this point for us icinga2.log is not usable.

Have found here InfluxdbWriter ignoring perfdata · Issue #9038 · Icinga/icinga2 · GitHub that is similar issue open. Do we have info when it will be fixed or is it any workaround for this?

Cheers