[mrtg] Re: Can you Multiply "In" but not "Out" values?
Koelstra, J. (Jan)
JKoelstra at MINSZW.NL
Mon May 2 15:15:49 MEST 2005
Todd,
In theory you can combine both oid's in a mathemetical expression which will give the desired result. To get this you need to find 4 oid's that give constant values:
oid A, should allways return the value 1.8
oid B, should allways return the value 1
oid C, should allways return the value 32
oid D, should allways return the value 0
With these you can put the following mathemetical expression into your targetline:
"oid for temperature"&"oid for humidity" * "oid A"&"oid B" + "oid C"&"oid D"
If you can't find the 4 oid's with the needed values you have to use an external script.
HTH,
Jan.
-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of TSimons at Delphi-Tech.com
Sent: Monday, May 02, 2005 2:53 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Can you Multiply "In" but not "Out" values?
<resending with a different subject>
Sent: Thursday, April 21, 2005 2:03 PM
Subject: [mrtg] Math Functions
Hello All
I'm monitoring Temperature and Humidity from an APC Device with the following Target:
Target[APCEMU1_Probe1]: .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:dti at 10.192.1.191
.1.3.6.1.4.1.318.1.1.2.1.1.0 is temperature in Celsius .1.3.6.1.4.1.318.1.1.2.1.2.0 is humidity in %
Is there anyway I can incorporate the function for Celsius to Fahrenheit (* 1.8 + 32) into the temperature and not humidity?
I can convert it if I use Temp for In/Out, but I'd like a combined graph.
Thanks,
~Todd
__________________________________
Todd M. Simons
Senior MIS Engineer
Dell Tier 1 PA Technician
Delphi Technology, Inc.
New Brunswick, NJ
Note: The contents of this email do not constitute a legally binding commitment.
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://lists.ee.ethz.ch/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://lists.ee.ethz.ch/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
_________________________________________________________
Het ministerie van Sociale Zaken en Werkgelegenheid sluit elke aansprakelijkheid uit in verband met het niet juist, onvolledig of niet tijdig overkomen van de informatie in deze e-mail.
Aan dit bericht kunnen geen rechten worden ontleend.
Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en de inhoud van dit bericht te vernietigen.
_________________________________________________________
The ministry of Social Affairs and Employment is not liable for any incorrect or incomplete transmission of the information in this e-mail or for any delay in its receipt.
This message shall not constitute any obligations.
This message is intended solely for the addressee.
If you have received this message in error, please inform us immediately and delete its content.
_________________________________________________________
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://lists.ee.ethz.ch/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the mrtg
mailing list