Can not see anything obvious.
Are you sure you spelled --enable-snmp correcly, and that it really is
the SNMP enabled binary you are running?
Regards
Henrik Nordström
Squid Hacker
"Luka Z. Gerzic" wrote:
>
> Hello...
> i need help, here is install & conf part, then question...
>
> /usr/local/src/squid-2.4.STABLE2/
>
> ./configure --enable-snmp
> make clean
> make all
> make install
>
> [snip from squid.conf]
>
> ### SNMP monitoring za MRTG
> #----------------------------------------------------------------------
> snmp_port 3401
> acl snmppublic snmp_community public
> snmp_access allow snmppublic localhost
> snmp_access deny all
> snmp_incoming_address 0.0.0.0
> snmp_outgoing_address 0.0.0.0
>
> [snap]
>
> [snip from logs/cache.log]
>
> 2001/10/17 15:04:33| Restarting Squid Cache (version 2.4.STABLE2)...
> ....
> 2001/10/17 15:04:33| parseConfigFile: line 125 unrecognized: 'snmp_port 3401
> '
> 2001/10/17 15:04:33| squid.conf line 126: acl snmppublic snmp_community
> public
> 2001/10/17 15:04:33| aclParseAclLine: Invalid ACL type 'snmp_community'
> 2001/10/17 15:04:33| parseConfigFile: line 127 unrecognized: 'snmp_access
> allow snmppublic localhost '
> 2001/10/17 15:04:33| parseConfigFile: line 128 unrecognized: 'snmp_access
> deny all'
> 2001/10/17 15:04:33| parseConfigFile: line 129 unrecognized:
> 'snmp_incoming_address 0.0.0.0'
> 2001/10/17 15:04:33| parseConfigFile: line 130 unrecognized:
> 'snmp_outgoing_address 0.0.0.0'
> ....
> 2001/10/17 15:04:33| Accepting HTTP connections at 0.0.0.0, port 8080, FD 9.
> ....
> 2001/10/17 15:04:33| Ready to serve requests.
>
> [snap]
>
> also this part is out of order ;)
> http://www.squid-cache.org/Doc/FAQ/FAQ-18.html
>
> MRTG
> Some people use MRTG to query Squid through its SNMP interface.
> To get instruction on using MRTG with Squid please visit these pages:
> Squid + MRTG graphs <<<<<<<<<<<<<<<<<< Not working... ?!?
>
> Can anyone help me to solve this unusual problem with squid conf?
> Thank's!
>
> With regards
> Luka Z. Gerzic
>
> -----------
> D r e n i k N e t w o r k s / Y u g o s l a v i a
>
> Luka Gerzic - System Admin. - DrenikNet, Yugoslavia
> Deligradska 19, 11000 Belgrade, YU
> office phone:(+381 11) 659 641, 36 13 306
> office fax: (+381 11) 3610 331
> official web site : http://www.drenik.net/
> e-mail: office@drenik.net
Received on Wed Oct 17 2001 - 10:32:20 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:49 MST