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