[mrtg] Re: value lost between snmp and mrtg
Koelstra, J. (Jan)
JKoelstra at MINSZW.NL
Thu Jan 8 09:22:07 MET 2004
Jon,
Since temperature is not a rate but a value you need to add 'gauge' at
the options line.
Hth.
Jan
-----Original Message-----
From: Jon Sippel [mailto:jon at jonsippel.com]
Sent: Wednesday, January 07, 2004 10:42 PM
To: mrtg
Subject: [mrtg] value lost between snmp and mrtg
I've got a Falcon Environmental Monitor that I want to track (temp,
humidity) via mrtg. On my mrtg host, I am able to retreive the expected
values with an snmpget command:
snmpget -c public -v1 -m /usr/share/snmp/mibs/Falcon8.txt falcon
falconInput1Reading.0
RLE-FALCON-MIB::falconInput1Reading.0 = INTEGER: 74
However, through MRTG (.cfg file below) I only get values of 0. The
same thing happens if I use the actual OID string
(1.3.6.1.4.1.3184.1.1.1.3.2.2.0). Any ideas?
Thanks,
Jon Sippel
falcontemp.cfg:
WorkDir: /var/www/mrtg
LoadMibs: /usr/share/snmp/mibs/Falcon8.txt
Target[falcon_temp]:
falconInput1Reading.0&falconInput1Reading.0:public at falcon
RouterUptime[falcon_temp]: public at falcon
MaxBytes[falcon_temp]: 100
Title[falcon_temp]: NOC temperature
PageTop[falcon_temp]: <H1>NOC temperature</H1>
Unscaled[falcon_temp]: ymwd
ShortLegend[falcon_temp]: F
YLegend[falcon_temp]: NOC Temperature
Legend1[falcon_temp]: Temperature in F
Legend2[falcon_temp]:
Legend3[falcon_temp]:
Legend4[falcon_temp]:
LegendI[falcon_temp]: Temp
LegendO[falcon_temp]:
Options[falcon_temp]: growright,nopercent
--
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
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 het 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://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