**CMK version:**2.2.0p5
**OS version:**Windows Server 2019
Hello,
I’ve created a simple local check that returns two integer values with warning and critical lower thresholds.
This is the result of the “check_mk_agent.exe test” command :
<<<local:sep(0)>>>
P "Super Service" nb1=799999;1:;0:^|nb2=12000;1:;0: OK
Here’s how the graphs look :
As you can see, the value “Nb1” is displayed in scientific notation: “8.00e+5”, while the value “Nb2” is displayed in the traditional way.
How do I display integers without scientific notation (like Nb2), because in my case I need to see the precise number in the graph ?
I’ve tried to create a “py” file in ~/local/share/check_mk/web/plugins/metrics with this content but it does nothing :
#!/usr/bin/env python3
# -*- encoding: utf-8; py-indent-offset: 4 -*-
metric_info["Nb1"] = {
"title": _("My first stat"),
"unit": "Integer",
"color": "#FFFF00",
}
Thanks
