[mrtg] Re: problem with regular expression in Target
Charley Morgan
c.morgan at megagate.com
Tue Jan 31 21:45:11 MET 2006
I have done some more testing and I can't get it to graph the result from
just one of the processors. However, I can take the same OID and run
snmpwalk on it and I get back the correct integer value. Also, if I check
the log file created in the html directory for it I see some of the results.
Here is my Target field that is not working:
Target[processorload]:
.1.3.6.1.2.1.25.3.3.1.2.1&.1.3.6.1.2.1.25.3.3.1.2.1:public at 10.10.10.10
Here is what I get back when I do a snmpwalk on the value:
Snmpwalk -c public -v 1 10.10.10.10 .1.3.6.1.2.1.25.3.3.1.2.1
HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 19
Any idea why this would not be working?
______________________________________________________
Charley Morgan
Internet Engineer
Megagate Broadband
' Tel: (601) 450-5000
* Email: c.morgan at megagate.com
______________________________________________________
-----Original Message-----
From: Scott Neader [mailto:scott.neader at CenturyTel.com]
Sent: Tuesday, January 31, 2006 12:14 PM
To: Charley Morgan
Subject: RE: [mrtg] problem with regular expression in Target
Does it work fine if you don't have /2 at the end?
- Scott
----------------------###----------------------
Scott Neader - CCNA, MCSE, CSSA
Sr Sales Engineer, CenturyTel Midwest Region
scott.neader at centurytel.com
Phone: 608-796-5032 / FAX: 608-796-5533
----------------------###----------------------
mrtg-bounce at list.ee.ethz.ch wrote on Tuesday, January 31, 2006 11:41 AM:
> Content-Type: text/plain;
> charset="us-ascii"
> Content-Transfer-Encoding: 7bit
> I have a multi-processor system that I am trying to calculate
> the average utilization of both. Here is what I have:
>
> Target[processor]: (
> .1.3.6.1.2.1.25.3.3.1.2.1&.1.3.6.1.2.1.25.3.3.1.2.1:public at 10.
> 10.10.10 +
> .1.3.6.1.2.1.25.3.3.1.2.2&.1.3.6.1.2.1.25.3.3.1.2.2:public at 10.
> 10.10.10 ) /2
>
> Why would this not work correctly? It is not reporting any
> errors but nothing is ever being graphed when I know the
> processor load is fairly high.
>
> ______________________________________________________
> Charley Morgan
> Internet Engineer
> Megagate Broadband
> <blocked::http://www.megagate.com/>
> ' Tel: (601) 450-5000
> * Email: c.morgan at megagate.com <blocked::mailto:c.morgan at megagate.com>
> ______________________________________________________
>
>
>
>
> -- Attached file removed by Ecartis and put at URL below --
> -- Type: image/gif
> -- Size: 2k (2725 bytes)
> -- URL : http://lists.ee.ethz.ch/p/59-logo.gif
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://lists.ee.ethz.ch/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the mrtg
mailing list