[mrtg] Re: Mathematical functions

Fauteux, Joe Joe.Fauteux at paymentech.com
Mon Oct 27 21:05:58 MET 2003


graph them as seperate targets - get temp for one and humidity for the other - apply the math to only the temp config

-----Original Message-----
From: Yogi Yeager [mailto:Yogi at BearTech.com]
Sent: Monday, October 27, 2003 10:35 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Mathematical functions


I am trying to graph the temperature and humidity of our computer room
using MRTG.  I thought I had everything working just fine, but
occasionally the humidity goes off the scale.  My hunch is that it is
the math formula that I am using to convert Celsius to Fahrenheit.  Our
hardware only reports Celsius but I want to graph Fahrenheit.
 
In my config I have
 
Target[apc.temp]:
1.3.6.1.4.1.318.1.1.2.1.1.0&1.3.6.1.4.1.318.1.1.2.1.2.0:?@?.?.?.? * 9 /
5 + 32
 
My understanding is that the first OID is temp and the second one is
humidity. In using this it seems to report the correct data for a couple
of days, then all of a sudden it appears that the math function starts
applying to both figures which is actually what I would expect in the
first place.  Is there a way to only get the math to apply to the first
OID or some other way to accomplish what I am looking for?
 
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


  
Learn more about Paymentech's payment processing services at www.paymentech.com
THIS MESSAGE IS CONFIDENTIAL.  This e-mail message and any attachments are proprietary and confidential information intended only for the use of the recipient(s) named above.  If you are not the intended recipient, you may not print, distribute, or copy this message or any attachments.  If you have received this communication in error, please notify the sender by return e-mail and delete this message and any attachments from your computer.

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