SNMP support starts on branch squid3-ipv6 !!

From: Rafael Martinez \(Squid development\) <rmartine@dont-contact.us>
Date: Mon, 19 Nov 2007 22:45:31 +0100

Hi, on the branch squid3-ipv6, support for SNMP is available (we need a
lot of tests ...)

1.- Take in mind that, for tests, allow for SNMP access is open. allow =
1 ; All the MIB tree is exported !

2.- To test, follow the next cook-guid (of course, choose your own user
and/or installation path):

bash$ ./configure --enable-ipv6 --disable-icmp* --enable-snmp --prefix=
$HOME
bash$ make install

*if you get linking errors having to do with icmp on main.cc, comment
them...(Amos?)

3.- Apply the next test script*, after editing ipv4address and
ipv6address.
bash$ . test.snmpd

* this script works on a Debian box, having installed package "snmp"
version 5.2.3 . If you don't have packet access, download and compile
from net-snmp
http://net-snmp.sourceforge.net/download.html

accessing 192.168.0.10 via udp
cacheSystem number one 1
SNMPv2-SMI::enterprises.3495.1.1.1.0 = INTEGER: 4194301
SNMPv2-SMI::enterprises.3495.1.1.2.0 = INTEGER: 5224
SNMPv2-SMI::enterprises.3495.1.1.3.0 = Timeticks: (461852) 1:16:58.52
cacheSystem number two 2
SNMPv2-SMI::enterprises.3495.1.2.1.0 = STRING: "webmaster"
SNMPv2-SMI::enterprises.3495.1.2.2.0 = STRING: "squid"
SNMPv2-SMI::enterprises.3495.1.2.3.0 = STRING: "3.0.PRE7-IPv6-CVS"
SNMPv2-SMI::enterprises.3495.1.2.4.0 = STRING: "49,9"
SNMPv2-SMI::enterprises.3495.1.2.5.1.0 = INTEGER: 8
SNMPv2-SMI::enterprises.3495.1.2.5.2.0 = INTEGER: 100
SNMPv2-SMI::enterprises.3495.1.2.5.3.0 = INTEGER: 95
SNMPv2-SMI::enterprises.3495.1.2.5.4.0 = INTEGER: 90
SNMPv2-SMI::enterprises.3495.1.2.6.0 = ""
cacheSystem number three 3
SNMPv2-SMI::enterprises.3495.1.3.1.1.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.3.1.2.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.3.1.3.0 = INTEGER: 2221
SNMPv2-SMI::enterprises.3495.1.3.1.4.0 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.1.5.0 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.1.6.0 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.1.7.0 = Gauge32: 677
SNMPv2-SMI::enterprises.3495.1.3.1.8.0 = Timeticks: (0) 0:00:00.00
SNMPv2-SMI::enterprises.3495.1.3.1.9.0 = Gauge32: 0
SNMPv2-SMI::enterprises.3495.1.3.1.10.0 = Gauge32: 1014
SNMPv2-SMI::enterprises.3495.1.3.1.11.0 = Gauge32: 100
SNMPv2-SMI::enterprises.3495.1.3.1.12.0 = Gauge32: 10
SNMPv2-SMI::enterprises.3495.1.3.1.13.0 = Gauge32: 16
SNMPv2-SMI::enterprises.3495.1.3.2.1.1.0 = Counter32: 1
SNMPv2-SMI::enterprises.3495.1.3.2.1.2.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.3.2.1.3.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.3.2.1.4.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.3.2.1.5.0 = Counter32: 2
SNMPv2-SMI::enterprises.3495.1.3.2.1.6.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.3.2.1.7.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.3.2.1.8.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.3.2.1.9.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.3.2.1.10.0 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.1.11.0 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.1.12.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.3.2.1.13.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.3.2.1.14.0 = Gauge32: 5224
SNMPv2-SMI::enterprises.3495.1.3.2.1.15.0 = Gauge32: 1
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.1.1 = INTEGER: 1
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.1.5 = INTEGER: 5
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.1.60 = INTEGER: 60
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.2.1 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.2.5 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.2.60 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.3.1 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.3.5 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.3.60 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.4.1 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.4.5 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.4.60 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.5.1 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.5.5 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.5.60 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.6.1 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.6.5 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.6.60 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.7.1 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.7.5 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.7.60 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.8.1 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.8.5 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.8.60 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.9.1 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.9.5 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.9.60 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.11.1 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.11.5 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.11.60 = INTEGER: 0
End of MIB
cacheSystem number four 4
SNMPv2-SMI::enterprises.3495.1.4.1.1.0 = Gauge32: 4
SNMPv2-SMI::enterprises.3495.1.4.1.2.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.4.1.3.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.4.1.4.0 = Gauge32: 0
SNMPv2-SMI::enterprises.3495.1.4.1.5.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.4.1.6.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.4.1.7.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.4.1.8.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.4.2.1.0 = Gauge32: 3
SNMPv2-SMI::enterprises.3495.1.4.2.2.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.4.2.3.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.4.2.4.0 = Gauge32: 0
SNMPv2-SMI::enterprises.3495.1.4.2.5.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.4.2.6.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.4.2.7.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.4.3.1.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.4.3.2.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.4.3.3.0 = Counter32: 2
End of MIB
cacheSystem number five 5
End of MIB
accessing [2001:5c0:8fff:fffe::4791] via udp6
cacheSystem number one 1
SNMPv2-SMI::enterprises.3495.1.1.1.0 = INTEGER: 4194301
SNMPv2-SMI::enterprises.3495.1.1.2.0 = INTEGER: 5224
SNMPv2-SMI::enterprises.3495.1.1.3.0 = Timeticks: (461877) 1:16:58.77
cacheSystem number two 2
SNMPv2-SMI::enterprises.3495.1.2.1.0 = STRING: "webmaster"
SNMPv2-SMI::enterprises.3495.1.2.2.0 = STRING: "squid"
SNMPv2-SMI::enterprises.3495.1.2.3.0 = STRING: "3.0.PRE7-IPv6-CVS"
SNMPv2-SMI::enterprises.3495.1.2.4.0 = STRING: "49,9"
SNMPv2-SMI::enterprises.3495.1.2.5.1.0 = INTEGER: 8
SNMPv2-SMI::enterprises.3495.1.2.5.2.0 = INTEGER: 100
SNMPv2-SMI::enterprises.3495.1.2.5.3.0 = INTEGER: 95
SNMPv2-SMI::enterprises.3495.1.2.5.4.0 = INTEGER: 90
SNMPv2-SMI::enterprises.3495.1.2.6.0 = ""
cacheSystem number three 3
SNMPv2-SMI::enterprises.3495.1.3.1.1.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.3.1.2.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.3.1.3.0 = INTEGER: 2221
SNMPv2-SMI::enterprises.3495.1.3.1.4.0 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.1.5.0 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.1.6.0 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.1.7.0 = Gauge32: 677
SNMPv2-SMI::enterprises.3495.1.3.1.8.0 = Timeticks: (0) 0:00:00.00
SNMPv2-SMI::enterprises.3495.1.3.1.9.0 = Gauge32: 0
SNMPv2-SMI::enterprises.3495.1.3.1.10.0 = Gauge32: 1014
SNMPv2-SMI::enterprises.3495.1.3.1.11.0 = Gauge32: 100
SNMPv2-SMI::enterprises.3495.1.3.1.12.0 = Gauge32: 10
SNMPv2-SMI::enterprises.3495.1.3.1.13.0 = Gauge32: 16
SNMPv2-SMI::enterprises.3495.1.3.2.1.1.0 = Counter32: 1
SNMPv2-SMI::enterprises.3495.1.3.2.1.2.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.3.2.1.3.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.3.2.1.4.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.3.2.1.5.0 = Counter32: 2
SNMPv2-SMI::enterprises.3495.1.3.2.1.6.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.3.2.1.7.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.3.2.1.8.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.3.2.1.9.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.3.2.1.10.0 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.1.11.0 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.1.12.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.3.2.1.13.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.3.2.1.14.0 = Gauge32: 5224
SNMPv2-SMI::enterprises.3495.1.3.2.1.15.0 = Gauge32: 1
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.1.1 = INTEGER: 1
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.1.5 = INTEGER: 5
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.1.60 = INTEGER: 60
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.2.1 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.2.5 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.2.60 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.3.1 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.3.5 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.3.60 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.4.1 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.4.5 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.4.60 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.5.1 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.5.5 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.5.60 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.6.1 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.6.5 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.6.60 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.7.1 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.7.5 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.7.60 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.8.1 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.8.5 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.8.60 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.9.1 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.9.5 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.9.60 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.11.1 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.11.5 = INTEGER: 0
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.11.60 = INTEGER: 0
End of MIB
cacheSystem number four 4
SNMPv2-SMI::enterprises.3495.1.4.1.1.0 = Gauge32: 4
SNMPv2-SMI::enterprises.3495.1.4.1.2.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.4.1.3.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.4.1.4.0 = Gauge32: 0
SNMPv2-SMI::enterprises.3495.1.4.1.5.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.4.1.6.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.4.1.7.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.4.1.8.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.4.2.1.0 = Gauge32: 3
SNMPv2-SMI::enterprises.3495.1.4.2.2.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.4.2.3.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.4.2.4.0 = Gauge32: 0
SNMPv2-SMI::enterprises.3495.1.4.2.5.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.4.2.6.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.4.2.7.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.4.3.1.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.4.3.2.0 = Counter32: 0
SNMPv2-SMI::enterprises.3495.1.4.3.3.0 = Counter32: 2
End of MIB
cacheSystem number five 5
End of MIB

Received on Mon Nov 19 2007 - 14:45:55 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:05 MST