[mrtg] Re: OID Math question

Duncan Wallace dwallace at 800.com
Fri Jun 30 00:50:54 MEST 2000


Forgot to mention, be very careful with your "MaxBytes".  My problem was the
new value was higher than the old "MaxBytes" and kept returning a "0" value.
Once I bumped up this value, the results were as expected.


Duncan

-----Original Message-----
From: Atish Nigam [mailto:atnigam at cisco.com]
Sent: Thursday, June 29, 2000 3:29 PM
To: Duncan Wallace
Subject: Re: [mrtg] OID Math question


i am also trying to do something similar to this, has anybody given you any 
help?  I can't figure out how to do this either, and i have been trying for 
a while.

thanks,
atish

At 09:35 AM 6/29/00 -0700, you wrote:
>I am trying to do some math here...What I want to do is add the two, divide
>by two and subtract 4. So, (((temp1 + temp2) / 2) - 4) . Any clues, I have
>tried the obvious.  Is there a delimiter I need to introduce to isolate the
>operations ???
>
>
>Thanks in advance
>
>
># Temperature (F)
>Target[x.x.x.temp1]:1.3.6.1.4.1.9.9.13.1.3.1.3.1&1.3.6.1.4.1.9.9.13.1.3.1.3
.
>1:public at x.x.x.x * 1.8 + 32
>Options[x.x.x.temp1]: gauge, noinfo, absolute
>MaxBytes[x.x.x.temp1]: 120
>Title[x.x.x.temp1]: Temperature of Cisco
>PageTop[x.x.x.temp1]: <H1> Temperature of Cisco  </H1>
>Ylegend[x.x.x.temp1]: Degrees Fahrenheit
>ShortLegend[x.x.x.temp1]: &nbsp;&#176;F
>Colours[x.x.x.temp1]: BLUE#1000ff,BLUE#1000ff,BLUE#1000ff,BLUE#1000ff
>LegendI[x.x.x.temp1]: &nbsp;
>LegendO[x.x.x.temp1]:
>
>#--------------------------------------------------------------------------
-
>---------------------------------------------
>
># Temperature (F)
>Target[x.x.x.temp2]:1.3.6.1.4.1.9.9.13.1.3.1.3.1&1.3.6.1.4.1.9.9.13.1.3.1.3
.
>1:public at x.x.x.x * 1.8 + 32
>Options[x.x.x.temp2]: gauge, noinfo, absolute
>MaxBytes[x.x.x.temp2]: 120
>Title[x.x.x.temp2]: Temperature of Cisco
>PageTop[x.x.x.temp2]: <H1> Temperature of Cisco  </H1>
>Ylegend[x.x.x.temp2]: Degrees Fahrenheit
>ShortLegend[x.x.x.temp2]: &nbsp;&#176;F
>Colours[x.x.x.temp2]: BLUE#1000ff,BLUE#1000ff,BLUE#1000ff,BLUE#1000ff
>LegendI[x.x.x.temp2]: &nbsp;
>LegendO[x.x.x.temp2]:
>
>Thanks,
>
>Duncan
>
>Duncan Wallace
>Network Engineer
>800.COM Inc.
>1516 NW Thurman St
>Portland, OR  97209-2517
>
>Direct: 503.944.3671
>Cell: 503.969.8248
>Fax: 503.943.9371
>Web: http://800.com
>Email: Dwallace at 800.com
>
>
>--
>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