Hello everyone.
I have written an smnp-plugin, which works fine.
But some values need to be adjusted.
For example in OID table is a value which need to be divided by 10 or there is percentage number saved as "100", but Hyperic shows it as 10000.0%, because it multiplyies by 100, so I need to divide it by 100 for Hyperic.
This example metric looks like this in the plugin.xml:
<metric name="Battery: Capacity"
alias="mib-2.33.1.2.4.0"
category="AVAILABILITY"
units="percentage"
defaultOn="true"
collectionType="static"/>
I have read the documentation and tryed to search, but could find how to use arithmetic operations on the OID values (for the Hyperic Manager, not change the OID table values).
I think this should be simple to do, maybe with template or script, but I could not find the exact syntax how to do that.
Would be thankfull if someone could help Image may be NSFW.
Clik here to view.