I would like to be able to convert a Celsius (spelling) temperature reading to Fahrenheit. I am currently doing it with MRTG, but want to move some of my older monitoring systems to “The Dude”. I have created a data source, and if I am reading the SNMP directly, it works fine.
Now, I want to take that output and run it through the conversion to get my *F. Here are the things I have tried in the Data Sources. I set the type to function, and in the “Code:” box, I type the following:
oid(“iso.org.dod.internet.private.enterprises.318.1.1.2.1.1.0”) => 17
oid(“iso.org.dod.internet.private.enterprises.318.1.1.2.1.1.0”)*1.8+32 => No Result
oid(“iso.org.dod.internet.private.enterprises.318.1.1.2.1.1.0”)*1.8 => No Result
oid(“iso.org.dod.internet.private.enterprises.318.1.1.2.1.1.0”)+32 => 49
round(oid(“iso.org.dod.internet.private.enterprises.318.1.1.2.1.1.0”)*1.8+32) => No Result
round(oid(“iso.org.dod.internet.private.enterprises.318.1.1.2.1.1.0”)) => 17
It is almost as if the multiplication won’t work.
I am running “The Dude v2.2”