[mrtg] Re: how get constant value

PAUL WILLIAMSON pwilliamson at mandtbank.com
Tue Jul 30 17:14:04 MEST 2002


<In my best Church Lady voice>

"Well, then, I guess you're stuck"

Seriously, I doubt you will be able to find an OID that returns 100 
all the time.  You can use a "pure snmp command" in your external script, and just have the output match the correct format that goes like this:

100
<result of snmp query>
uptime
name

Paul

>>> "Agustin Torres" <torrest at andaluciajunta.es> 07/30/02 10:46AM >>>
ok,
but the problem is that i dont want to use external script, i want that mrtg
use pure snmp commands.
do you know any entry that return 100 always?

thanks again
agustin.

----- Original Message -----
From: "PAUL WILLIAMSON" <pwilliamson at mandtbank.com>
To: <torrest at andaluciajunta.es>; <mrtg at list.ee.ethz.ch>
Sent: Tuesday, July 30, 2002 1:34 PM
Subject: Re: [mrtg] how get constant value


Sort of.  If you need to get 100, then you need to
find an OID that will return 100 all the time (yeah,
right!) or maybe do the snmpget of that OID and return
it with the 100 in an external script.  It should not
be all that hard to do.

Paul

>>> "Agustin Torres" <torrest at andaluciajunta.es> 07/30/02 03:53 AM >>>
hi guys

i need to get a constant value ("100") for one request. i think that
something like this:

            Target[lucena_cpu]:
(100)&.1.3.6.1.4.1.2021.11.11.0:pubpub at 10.240.214.60: 

but its wrong. Anybody have an idea?

thanks for all

agus.


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







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