[mrtg] Re: Problems with monitoring squid

Paul C. Williamson pwilliamson at mandtbank.com
Mon Nov 26 14:52:03 MET 2001


What Alex is trying to say (if you haven't already figured it out) is:

Look at the error:

error status: noSuchName
index 1 (OID: 1.3.6.1.4.1.3495.1.1)


and look at what you got back from the snmpwalk:

itcentral:~ #  snmpwalk -p 1111 proxy.intershop.de public .1.3.6.1.4.1.3495.1.1
enterprises.nlanr.squid.cacheSystem.cacheSysVMsize.0 = 18076


See any difference?

You need to append a .0 to your OID to make it work.  I think it's 
technically call the "instance."

Paul

>>> Alex van den Bogaerdt <alex at slot.hollandcasino.nl> 11/26/01 05:17AM >>>

Rainer Sokoll wrote:

> > Did you compile squid for snmp support?
> 
> Yes, and after reading the docs I have more: I can snmpwalk:
> 
> itcentral:~ #  snmpwalk -p 1111 proxy.intershop.de public
> .1.3.6.1.4.1.3495.1.1
> enterprises.nlanr.squid.cacheSystem.cacheSysVMsize.0 = 18076
> enterprises.nlanr.squid.cacheSystem.cacheSysStorage.0 = 14731856
> enterprises.nlanr.squid.cacheSystem.cacheUptime.0 = Timeticks: (225107)
> 0:37:31.07
> 
> But still I get:

>   error status: noSuchName
>   index 1 (OID: 1.3.6.1.4.1.3495.1.1)

Now go and read some more docs, for instance the FAQ.
Using the search field from faq.mrtg.org looking for snmpwalk produces
a link to faq entry #022.  This already explains your problem and it has
a link to #023 which explains it even further.

The search box can be found by going to http://faq.mrtg.org/ and then
click on the "MRTG FAQ" link.

cheers,
-- 
   __________________________________________________________________
 / 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 |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

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