[mrtg] Re: Reporting incorect values

Koelstra, J. (Jan) JKoelstra at MINSZW.NL
Mon Jan 3 11:57:11 MET 2005


John,

>From the http://people.ee.ethz.ch/~oetiker/webtools/mrtg/mrtg-reference.html:
+++++
Explicit OIDs

You can also explicitly define which OID to query by using the following syntax 'OID_1&OID_2:community at router' The following example will retrieve error counts for input and output on interface 1. MRTG needs to graph two variables, so you need to specify two OID's such as temperature and humidity or error input and error output.
Example:

 Target[myrouter]: 1.3.6.1.2.1.2.2.1.14.1&1.3.6.1.2.1.2.2.1.20.1:public at myrouter
+++++
So to start with: You need TWO oid's at your Target line.
You can put in the same oid twice, and if you don't want to see one of the 2 lines in your graph you can add "noo" or "noi" at the options line.
If this doesn't solve your problem please post again, and include the first 5 lines of the UPS_6.log file.

Hth,

Jan.

-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of John Mulkerin
Sent: Monday, January 03, 2005 3:41 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Reporting incorect values


Trying to monitor a Powerware UPS Battery Load
When I do an snmpget for 1.3.6.1.4.1.534.1.4.1.0 I get an integer of 27 but
my MRTG grapgh and log says 100.  I know 27% is the right answer so why
does mrtg report 100?  I've read and reread the mrtg refence pages.  What
am I doing wrong?
Target[UPS_6]: 1.3.6.1.4.1.534.1.4.1.0:public at 10.10.2.4:
YLegend[UPS_6]: Battery Load
ShortLegend[UPS_6]: %
MaxBytes[UPS_6]: 100
Options[UPS_6]: growright,nopercent, gauge, unknaszero
Unscaled[UPS_6]: dwmy
Legend1[UPS_6]: Battery Load
Legend2[UPS_6]: .
Legend3[UPS_6]: Max value per interval on graph
Legend4[UPS_6]: .
LegendI[UPS_6]: Load:
LegendO[UPS_6]: .
Title[UPS_6]:  UPS Load
PageTop[UPS_6]: <H1>Computer Room UPS Load</H1>
Colours[UPS_6]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff
WithPeak[UPS_6]: ymw

John Mulkerin


--
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 dit 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