1748180 Members
4297 Online
108759 Solutions
New Discussion

Custom SNMP Formula Convert C to F

 
Net-Dude
Occasional Visitor

Custom SNMP Formula Convert C to F

Greetings.

I'm new to IMC. I have a custom SNMP index to pull chassis temp for various devices and of course returns a Celsius reading. I'm attempting to create a formula to convert it to Fahrenheit but am having troubles.

I copied the existing monitor that is working and used the following formula, but it doesn't work. I've also tried enclosing the OIDs in their own parentheses and a few other variations.

(1.3.6.1.4.1.9.9.13.1.3.1.3*1.8)+32

What am I doing wrong?

 

1 REPLY 1
LindsayHill
Honored Contributor

Re: Custom SNMP Formula Convert C to F

Ah, life would be a lot easier if everyone used standard units, wouldn't it?

I think the problem here is that IMC is treating 1.8 as an OID value. If that is the case, you'll see IMC attempting to poll the test device for a couple of OIDs, including the temperature OID, and 1.8. The device will of course respond with noSuchObject.

You might need to try doing something like Temp * 9/5 + 32.