[squid-users] SMP Workers and SNMP

From: Peter Retief <peter_at_swenitech.com>
Date: Sat, 3 Aug 2013 07:18:53 +0200

I have six workers, and I am trying to monitor the performance of squid
using SNMP.

I get the following type of error quite frequently:

snmpHandleUdp: FD 18 recvfrom: (11) Resource temporarily unavailable

After some Google searching, I gathered that each worker should be on its
own SNMP port, so I modified squid.conf as follows:

if ${process_number} = 1
        snmp_port 161
endif
if ${process_number} = 2
        snmp_port 163
endif
if ${process_number} = 3
        snmp_port 164
endif
if ${process_number} = 4
        snmp_port 165
endif
if ${process_number} = 5
        snmp_port 166
endif
if ${process_number} = 6
        snmp_port 167
endif
acl snmppublic snmp_community xxxxxxxxx
acl zabbix src xx.xx.xx.xx
snmp_access allow snmppublic zabbix
snmp_access allow snmppublic localhost
snmp_access deny all

snmp_incoming_address 0.0.0.0
snmp_outgoing_address 0.0.0.0

Yet I am still getting the errors. Any advice?

Peter
Received on Sat Aug 03 2013 - 05:19:10 MDT

This archive was generated by hypermail 2.2.0 : Sat Aug 03 2013 - 12:00:06 MDT