[mrtg] Re: Doing Calculations

Manny Ortega aortega at univ-wea.com
Mon Jun 2 20:06:05 MEST 2003


I have a dell server that gives temps in degrees celsius x10, IOW it's 27
degrees celsius and an SNMPget shows 270.
This is what I have after the target line:
:public at IPADDRESS / 10 * 1.8 + 32

If you only get degrees celsius, just use * 1.8 + 32

-MannyO

-----Original Message-----
From: Darryl Kegg [mailto:Darryl.kegg at thehortongroup.com]
Sent: Monday, June 02, 2003 12:22 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Doing Calculations 


Sorry for such a dumb question, but I have been scouring the archives and
cannot find a single example.
 
I am trying to do a Celsius to Farenheit conversion for the APC
environmental monitor, I know the formula 
 
F = (C x 1.8) +32 
 
but cannot find where I would insert this formula in MRTG, I assume it is
done in the CFG file but cannot seem to find the appropriate syntax.
 
Any help would be appreciated.
 
Thanks.

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list