[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: squid and snmp



Sebastiaan said:
> Hi,
>
> I am trying to monitor squid with mrtg, for which snmp is needed. As far
> as I know snmp support is compiled in by default on Debian (I checked the
> debian/rules in the sources), but I can't get it to work.

> # /usr/share/doc/libsnmp-session-perl/examples/snmpwalkh.pl
> public@127.0.0.1 .1.3.6.1.4.1.3495.1.1


be sure you specify the port, by default squid uses port UDP/3401
for all SNMP traffic, doing a snmpwalk by default uses UDP/161.

you can see an example of my squid/mrtg config here:
http://mrtg.aphroland.org/squid.conf

and the output it produces here:
http://mrtg.aphroland.org/squid/

nate





Reply to: