Re: [squid-users] SNMP

From: Richard Mittendorfer <delist@dont-contact.us>
Date: Mon, 16 Jan 2006 14:38:43 +0100

Also sprach "Remy Almeida" <remy@nio.org> (Mon, 16 Jan 2006 18:50:17
+0530):
> Hi All
> Can anyone tell me how to configure snmp for mrtg. i get the
> following
> error.
>
> [root@anjuna mrtg]# cfgmaker --global 'WorkDir: /var/www/html'
> --output mrtg.cfg 127.0.0.1
> --base: Get Device Info on public@127.0.0.1:
> SNMP Error:
> no response received
> SNMPv1_Session (remote host: "127.0.0.1" [127.0.0.1].161)
> community: "public"
> request ID: -234327977
> PDU bufsize: 8000 bytes
> timeout: 2s
> retries: 5
> backoff: 1)
> at /usr/bin/../lib64/mrtg2/SNMP_util.pm line 570
> SNMPWALK Problem for 1.3.6.1.2.1.1 on public@127.0.0.1:
> at /usr/bin/cfgmaker line 709
> [root@anjuna mrtg]#

Dont'd know about mrtg, but Squid's snmp is listening (if configured) on
Port 3401. You may have to add this to your query.

$ snmpwalk -c public -v1 -m /usr/share/squid/mib.txt 127.0.0.1:3401

sl ritch
Received on Mon Jan 16 2006 - 06:39:36 MST

This archive was generated by hypermail pre-2.1.9 : Wed Feb 01 2006 - 12:00:01 MST