[mrtg] Re: Temperature graphing problem from MEASURE UPS!
Mike Holley
mholley at deltacontrols.com
Sun Nov 7 20:33:33 MET 1999
MRTG does not produce an error, and I have ensured the gauge option is set.
MRTG simply does not produce any stats on the graph. There have been some
really good ideas in response to my question. Thank you for all of your
help. I will give these ideas a try.
----- Original Message -----
From: Alex van den Bogaerdt <alex at slot.hollandcasino.nl>
To: Mike Holley <mholley at deltacontrols.com>
Cc: MRTG users <mrtg at list.ee.ethz.ch>
Sent: Sunday, November 07, 1999 4:54 AM
Subject: [mrtg] Re: Temperature graphing problem from MEASURE UPS!
> > I am using Linux 6.0, and the utility that is returning the value
"gauge:21"
> > is Linux's native snmpget and snmpwalk. I do have the OID specified
twice in
>
> So what happpens when you specify this OID in the MRTG config file? Do
you
> get an error from MRTG? Are you sure MRTG receives "gauge:21"?
>
> Could it perhaps be that MRTG didn't complain but also didn't produce the
> desired result? If so, you may have forgotten to set the gauge option?
>
> > the MRTG.CFG, as I do realize that it needs both an in and out OID to
check
> > as the program was originally intended for traffic analysis only. I
guess I
> > will have to simply write a script to deal with this issue of removing
the
> > non-integer characters. Are there any helpful pointers, or resources
that
> > you could point towards as I have never had to write a perl script
before.
>
> I wrote you a script that might help. It is a shell script, not perl.
> > >
> > > snmpget ups1 public \
> > > .1.3.6.1.4.1.318.1.1.2.1.1.0 \
> > > .1.3.6.1.4.1.318.1.1.2.1.1.0 | awk '{print $4}'
> > > echo quite some time
> > > echo ups1
> > >
>
> Run this script and it should return
> 21
> 21
> quite some time
> ups1
> --
> __________________________________________________________________
> / alex at slot.hollandcasino.nl alex at ergens.op.het.net \
> | work private |
> | My employer is capable of speaking therefore I speak only for myself |
> +----------------------------------------------------------------------+
>
> --
> * To unsubscribe from the mrtg mailing list, send a message with the
> subject: unsubscribe to mrtg-request at list.ee.ethz.ch
> * The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
>
--
* To unsubscribe from the mrtg mailing list, send a message with the
subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
More information about the mrtg
mailing list