i've compiled squid with SNMP support tested by the following:
kraken squid # snmpwalk -c public -v 1 localhost:3401
.1.3.6.1.4.1.3495.1.1
SNMPv2-SMI::enterprises.3495.1.1.1.0 = INTEGER: 1704
SNMPv2-SMI::enterprises.3495.1.1.2.0 = INTEGER: 7494404
SNMPv2-SMI::enterprises.3495.1.1.3.0 = Timeticks: (194892)
0:32:28.92
however, i'm having problems with mrtg getting data from squid:
kraken squid # mrtg mrtg-squid.cfg
SNMP Error:
Received SNMP response with error code
error status: noSuchName
index 1 (OID: 1.3.6.1.4.1.3495.1.5.2.1.2)
SNMPv1_Session (remote host: "kraken.transwitch.co.za" [192.168.199.2].3401)
community: "public"
request ID: 736638326
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 458
SNMPGET Problem for cacheClientHttpRequests cacheClientHttpRequests
cacheUptime cacheSoftware cacheVersionId on
public@kraken.transwitch.co.za:3401
at /usr/bin/mrtg line 1678
Use of uninitialized value in concatenation (.) or string at
/usr/bin/mrtg line 1681.
Use of uninitialized value in concatenation (.) or string at
/usr/bin/mrtg line 1681.
Modification of non-creatable array value attempted, subscript -2 at
/usr/bin/mrtg line 1681.
any ideas? i have right pointers to squid's mib.txt and WorkDir etc.etc.
thanks in advance!
This e-mail is subject to an e-mail disclaimer. To read our
e-mail disclaimer notice, go to http://www.prism.co.za/main.asp?ID=649&routeitemeid=5
Received on Mon Feb 02 2004 - 07:48:09 MST
This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:01 MST