[mrtg] Re: Error
Roth, Gabrielle
gabrielle.roth at xo.com
Mon Dec 3 23:49:25 MET 2001
If you look at the MIB where you found the OID, it should look something
like so:
TonysTemperatureOID OBJECT-TYPE
SYNTAX xxxx
UNITS "degrees Celsius"
...etc
If the SYNTAX field says "Gauge", you need to specify the "gauge" option in
your config, thus:
Options[10.1.0.2]: gauge
Remember that if you have specified a default value for options at the top
of your config (Options[_]:) that setting this later in your config will
override those settings.
There should be lots of examples of temperature configs in the list archive,
I like to use Google to search (it seems to be faster, at least on this side
of the pond).
If the SYNTAX line says "Integer", then you have a different problem. See
the FAQ http://faq.mrtg.org/FAQ.html, specifically the first three items
under "Problems while running", and see if they don't help.
-gabrielle
"Five out of four people have a problem with math."
>Thanks, that got rid of the error... now I'm just not getting
>any graph...Any samples of how others are graphing temperature?
>Tony
>pwilliamson at mandtbank.com writes:
>>Just use the same one twice then.
>>
>>Paul
>>
>>>>> "Tony Andrews" <tandrews at bemidji.k12.mn.us> 12/03/01 04:42PM >>>
>>
>>I was able to find an OID for temperature for my Extreme box,
>so I have the following in my mrtg.cfg:
>>
>>Target[10.1.0.2]:
>>.1.3.6.1.4.1.1916.1.1.1.8&IfInOctets.1:public at 10.1.0.2:::::2
>>MaxBytes[10.1.0.2]: 1250000
>>Title[10.1.0.2]: Temperature for ServerFarm
>>PageTop[10.1.0.2]: <H1>Temperature for ServerFarm</H1>
>> <TABLE>
>> <TR><TD>System:</TD> <TD>ServerFarm in Head End Room</TD></TR>
>> <TR><TD>Maintainer:</TD> <TD>Tony Andrews</TD></TR>
>> <TR><TD>Description:</TD><TD>Temperature</TD></TR>
>> </TABLE>
--
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