HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
IMC
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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.