/usr/local/squid/etc/squid.conf
---------------- CUTTED -----------------
snmp_port 4004
acl snmppublic snmp_community public
snmp_access allow snmppublic localhost
snmp_access deny all
---------------- CUTTED -----------------
/usr/local/squid/var/logs/cache.log
---------------- CUTTED -----------------
2003/02/28 17:06:46| Starting Squid Cache version 2.5.STABLE1-20030226 for i686-pc-linux-gnu...
2003/02/28 17:06:46| Process ID 18267
2003/02/28 17:06:46| With 1024 file descriptors available
2003/02/28 17:06:46| Performing DNS Tests...
2003/02/28 17:06:46| Successful DNS name lookup tests...
2003/02/28 17:06:46| DNS Socket created at 0.0.0.0, port 32849, FD 4
2003/02/28 17:06:46| Adding nameserver 212.16.222.4 from /etc/resolv.conf
2003/02/28 17:06:46| helperOpenServers: Starting 5 'ncsa_auth' processes
2003/02/28 17:06:46| Unlinkd pipe opened on FD 14
2003/02/28 17:06:46| Swap maxSize 102400 KB, estimated 7876 objects
2003/02/28 17:06:46| Target number of buckets: 393
2003/02/28 17:06:46| Using 8192 Store buckets
2003/02/28 17:06:46| Max Mem size: 16384 KB
2003/02/28 17:06:46| Max Swap size: 102400 KB
2003/02/28 17:06:46| Rebuilding storage in /usr/local/squid/cache (CLEAN)
2003/02/28 17:06:46| Using Least Load store dir selection
2003/02/28 17:06:46| Set Current Directory to /usr/local/squid/cache
2003/02/28 17:06:46| Loaded Icons.
2003/02/28 17:06:46| Accepting HTTP connections at 192.168.100.116, port 3128, FD 16.
2003/02/28 17:06:46| Accepting SNMP messages on port 4004, FD 17.
2003/02/28 17:06:46| Outgoing SNMP messages on port 4004, FD 18.
2003/02/28 17:06:46| WCCP Disabled.
2003/02/28 17:06:46| Ready to serve requests.
2003/02/28 17:06:46| Done reading /usr/local/squid/cache swaplog (202 entries)
2003/02/28 17:06:46| Finished rebuilding storage from disk.
2003/02/28 17:06:46| 202 Entries scanned
2003/02/28 17:06:46| 0 Invalid entries.
2003/02/28 17:06:46| 0 With invalid flags.
2003/02/28 17:06:46| 202 Objects loaded.
2003/02/28 17:06:46| 0 Objects expired.
2003/02/28 17:06:46| 0 Objects cancelled.
2003/02/28 17:06:46| 0 Duplicate URLs purged.
2003/02/28 17:06:46| 0 Swapfile clashes avoided.
2003/02/28 17:06:46| Took 0.3 seconds ( 691.4 objects/sec).
2003/02/28 17:06:46| Beginning Validation Procedure
2003/02/28 17:06:46| Completed Validation Procedure
2003/02/28 17:06:46| Validated 202 Entries
2003/02/28 17:06:46| store_swap_size = 1784k
2003/02/28 17:06:47| storeLateRelease: released 0 objects
---------------- CUTTED -----------------
запускаю snmpwalk 127.0.0.1:4004 -c public .1.3.6.1.4.1.3495.1.1
Timeout: No response from 127.0.0.1:4004
Хотя до внесения некоторого мелкого числа изменений было такое :
в логах squid писал
2003/02/28 16:08:23| Failed SNMP agent query from : 127.0.0.1.
2003/02/28 16:08:24| Failed SNMP agent query from : 127.0.0.1.
2003/02/28 16:08:25| Failed SNMP agent query from : 127.0.0.1.
2003/02/28 16:08:26| Failed SNMP agent query from : 127.0.0.1.
2003/02/28 16:08:27| Failed SNMP agent query from : 127.0.0.1.