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

If the SYNTAX field says "Gauge", you need to specify the "gauge" option in
your config, thus:

Options[]: 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.

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


>pwilliamson at mandtbank.com writes:
>>Just use the same one twice then.
>>>>> "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:
>>. at 
>>MaxBytes[]: 1250000
>>Title[]: Temperature for ServerFarm
>>PageTop[]: <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