squid + snmp...

From: Emili Badia <ebc@dont-contact.us>
Date: Mon, 08 Mar 1999 16:41:28 +0100

Hello.
I'm new at snmp and squid. I'm trying to get statistics with the snmp
interface of squid.
I think I have squid configured Ok. When I start it i get the following:
 Accepting SNMP messages on port 3401, FD 43.

ANd if I do
 snmpwalk -p 3401 localhost snmppublic .1.3.6.1.4.1.3495.1.1
I get:

enterprises.3495.1.1.1.0 = 16764928
enterprises.3495.1.1.2.0 = 922176
enterprises.3495.1.1.3.0 = Timeticks: (41948118) 4 days, 20:31:21

I've done a test.cfg file. This is as follows:

        target[test]:
1.3.6.1.4.1.3495.1.1.1.0&1.3.6.1.4.1.3495.1.1.1.0:public@localhost:3401

And when I execute "mrtg test.cfg" i get:

SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 3 (OID: 1.3.6.1.2.1.1.3.0)
SNMPv1_Session (remote host: "localhost" [127.0.0.1].3401
                  community: "public"
                 request ID: 940730783
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
SNMPGET: Failed to reach target:
"1.3.6.1.4.1.3495.1.1.1.0&1.3.6.1.4.1.3495.1.1.1.0:public@localhost:3401".
I tried multiple times!

Any idea on what's wrong???? Thanks...I'm starting with snmp and
squid...and don't know muck what i'm doing...
Received on Mon Mar 08 1999 - 07:46:18 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:45:10 MST