[mrtg] OID Math question

Duncan Wallace dwallace at 800.com
Thu Jun 29 18:35:37 MEST 2000


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



More information about the mrtg mailing list