On Friday, 7 October 2011 20:43:27 Mark Jones wrote:
> Having a problem with a simple transform. The oid is read fine but when I
> try and devide it by 10 I get no data as the output. If I output the oid
> directly it displays fine just not devided by 10. What am I missing?
>
>
>
>
> Oids file
>
> SCurrentMax2_1 : .1.3.6.1.4.1.24436.1.5.2.3.2.85.0 : leaf
>
> Transform file
>
> CurrentMax2_1 : MATH : {SCurrentMax2_1}/10
I normally use spaces around operators, but it should work without ...
> Output from snmpget
>
> snmpget -v1 -c public 192.168.7.87 .1.3.6.1.4.1.24436.1.5.2.3.2.85.0
> SNMPv2-SMI::enterprises.24436.1.5.2.3.2.85.0 = INTEGER: 0
>
> Output from devmon via message file
>
> No data.
If you run with debugging and a higher verbosity, you should hopefully see an
error regarding the transform.
Can you supply it?
Regards,
Buchan
|