AnsweredAssumed Answered

EPAgent: Is there any "type" of metric to handle decimal numbers?

Question asked by jemilla on Aug 31, 2018
Latest reply on Aug 31, 2018 by jemilla

Hello
I am collecting data with "EPAgent v10.7", and trying to graphic metrics with decimal values in APM, without success.
Is this possible?

EPAagent calls my bash script, which reads system load average using linux commands, and echo the output in any of these XML formats:
<metric type="LongCounter" name="prcm1.multicanal.net.ar|t2k1-CATV|CPU:Load Average 15min" value="0.53" />
<metric type="LongCounter" name="prcm1.multicanal.net.ar|t2k1-CATV|CPU:Load Average 15min" value="0,58" />


When EPAgent reads these outputs it logs these error in "IntroscopeEPA.log":
8/30/18 03:38:22 PM ART [ERROR] [EPAgent.EPAPluginProcessor] Metric value from plugin 'Plugin CATV_LOAD_AVG' is invalid: For input string: "0.53"
8/30/18 03:48:21 PM ART [ERROR] [EPAgent.EPAPluginProcessor] Metric value from plugin 'Plugin CATV_LOAD_AVG' is invalid: For input string: "0,58"

 

Is there any "type" of metric to handle decimal numbers?

Outcomes