Re: [squid-users] Failed SNMP agent query

From: Javier V�zquez <[email protected]>
Date: Tue, 29 Oct 2002 09:18:41 -0600 (CST)

Try this:

acl snmppublic snmp_community public
snmp_port 3401
snmp_access allow snmppublic localhost
snmp_access deny all

snmp_incoming_address 0.0.0.0
snmp_outgoing_address 255.255.255.255

Check this if you have doubts

http://www.squid-cache.org/Doc/FAQ/FAQ-18.html#ss18.5

Note: Not allow everyone does a snmp your squid server.

> I have compiled squid-2.5.STABLE1 --with-snmp and i have the following
> lines pertaining to snmp in my squid.conf:
>
> acl snmppublic snmp_community public
> snmp_port 3401
> snmp_access allow snmppublic all
>
> Whenever I try to query the agent, I get these errors:
>
> 2002/10/29 11:24:04| Failed SNMP agent query from : 127.0.0.1.
> 2002/10/29 11:24:05| Failed SNMP agent query from : 127.0.0.1.
> 2002/10/29 11:24:06| Failed SNMP agent query from : 127.0.0.1.
> 2002/10/29 11:24:07| Failed SNMP agent query from : 127.0.0.1.
> 2002/10/29 11:28:54| Failed SNMP agent query from : 127.0.0.1.
> 2002/10/29 11:28:54| Failed SNMP agent query from : 127.0.0.1.
> 2002/10/29 11:28:56| Failed SNMP agent query from : 127.0.0.1.
> 2002/10/29 11:28:57| Failed SNMP agent query from : 127.0.0.1.
> 2002/10/29 11:28:58| Failed SNMP agent query from : 127.0.0.1.
> 2002/10/29 11:28:58| Failed SNMP agent query from : 127.0.0.1.
> etc
>
> Is there something wrong with my configuration, or does the problem lie
> elsewhere?
Received on Tue Oct 29 2002 - 08:35:35 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:56 MST