Search squid archive

SMP Workers and SNMP

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

 



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






[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux