Hello.
I'm new at snmp and squid. I'm trying to get statistics with the snmp
interface of squid.
I think I have it configured Ok. When I do:
snmpwalk -p 3401 localhost snmppublic .1.3.6.1.4.1.3495.1.1
I get:
enterprises.3495.1.1.1.0 = 2330624
enterprises.3495.1.1.2.0 = 922582
enterprises.3495.1.1.3.0 = Timeticks: (508688) 1:24:46
But when I try to execute the next mrtg config file:
target[proxy-hit]: target[proxy-hit]:
cacheHttpHits&cacheClientHttpRequests:snmppublic@HOSTNAME.DOMAIN:3401
I get: Unknown SNMP var cacheHttpHits
If I change the variable 1.3.6.1.4.1.3495.1.1 for cacheHttpHits
I get the error:
SNMP Error:
no response received
SNMPv1_Session (remote host: "HOSTNAME.DOMAIN" [IP_ADDRESS].3401
community: "snmppublic"
request ID: 1217457206
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.3.6.1.4.1.3495.1.1:snmppublic@HOSTNAME.DOMAIN:3401".
I tried multiple times!
Any idea on what's wrong???
Thank you.....
Received on Mon Feb 22 1999 - 09:32:08 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:22:07 MST