Hi all.
As suggested on the website, I ran the following:
snmpwalk -p 3401 backup2.shellnet.co.uk public .1.3.6.1.4.1.3495.1.1
on one of our boxes... the Squid deamon on backup2.shellnet.co.uk just
dies and restarts whenever this happens, with the messages shown
below.
/usr/local/squid/etc/mib.txt -does- exist, I downloaded the version 6
one.
>acl snmpmanagementhosts src 194.129.209.14
>acl snmpmanagementhosts src 194.129.209.0/255.255.255.0
>snmp_port 3401snmp_do_queueing onforward_snmpd_port 0
>snmp_mib_path /usr/local/squid/etc/mib.txttrap_sink 127.0.0.1
>snmp_trap_community publicsnmp_enable_authen_traps off
>snmp_agent_conf view all .1.3.6 included
>snmp_agent_conf view squid .1.3.6 included
>snmp_agent_conf user squid - all all public
>snmp_agent_conf user all all all all  squid
>snmp_agent_conf community public squid squid
>snmp_agent_conf community readwrite all allsnmp_incoming_address 255.255.255.255
>snmp_outgoing_address 255.255.255.255
Can anyone see any problems with the config. here?
I'd be a happy chappie if someone oculd tell me what's going on :)
Thanks
Steven Fletcher
steven@shellnet.com
>bash# Feb  9 18:11:24 backup2 squid[21495]: Preparing for shutdown after 0 requests 
>Feb  9 18:11:24 backup2 squid[21495]: Waiting 30 seconds for active connections to finish 
>Feb  9 18:11:24 backup2 squid[21495]: FD 38 Closing HTTP connection 
>Feb  9 18:11:24 backup2 squid[21495]: Shutting down... 
>Feb  9 18:11:24 backup2 squid[21495]: FD 39 Closing ICP connection 
>Feb  9 18:11:24 backup2 squid[21495]: FD 40 Closing SNMP socket 
>Feb  9 18:11:24 backup2 squid[21495]: Closing unlinkd pipe on FD 15 
>Feb  9 18:11:24 backup2 squid[21495]: storeDirWriteCleanLogs: Starting... 
>Feb  9 18:11:24 backup2 squid[21495]:   Finished.  Wrote 1800 entries. 
>Feb  9 18:11:24 backup2 squid[21495]:   Took 0 seconds (1800.0 entries/sec). 
>Feb  9 18:11:24 backup2 squid[21495]: Squid Cache (Version 2.1.PATCH2): Exiting normally. 
>Running: squid -sY  >> /usr/local/squid/squid.out 2>&1
>Feb  9 18:11:34 backup2 (squid): WARNING: Failed to open MIB '/usr/local/squid/etc/mib.txt' 
>Feb  9 18:11:34 backup2 (squid): parse_snmp_access: Access lists NOT defined. 
>Feb  9 18:11:34 backup2 (squid): parse_snmp_access: Unknown community readwrite! 
>Feb  9 18:11:35 backup2 squid[21516]: Starting Squid Cache version 2.1.PATCH2 for i386-unknown-freebsd3.0... 
>Feb  9 18:11:35 backup2 squid[21516]: Process ID 21516 
>Feb  9 18:11:35 backup2 squid[21516]: With 1064 file descriptors available 
>Feb  9 18:11:35 backup2 squid[21516]: Performing DNS Tests... 
>Feb  9 18:11:35 backup2 squid[21516]: Successful DNS name lookup tests... 
>Feb  9 18:11:35 backup2 squid[21516]: helperOpenServers: Starting 5 'dnsserver' processes 
>Feb  9 18:11:35 backup2 squid[21516]: Unlinkd pipe opened on FD 15 
>Feb  9 18:11:35 backup2 squid[21516]: Swap maxSize 3145728 KB, estimated 241979 objects 
>Feb  9 18:11:35 backup2 squid[21516]: Target number of buckets: 4839 
>Feb  9 18:11:35 backup2 squid[21516]: Using 8192 Store buckets, replacement runs every 10 seconds 
>Feb  9 18:11:35 backup2 squid[21516]: Max Mem  size: 8192 KB 
>Feb  9 18:11:35 backup2 squid[21516]: Max Swap size: 3145728 KB 
>Feb  9 18:11:35 backup2 squid[21516]: Rebuilding storage in Cache Dir #0 (CLEAN) 
>Feb  9 18:11:35 backup2 squid[21516]: Loaded Icons. 
>Feb  9 18:11:35 backup2 squid[21516]: Accepting HTTP connections on port 3128, FD 38. 
>Feb  9 18:11:35 backup2 squid[21516]: Accepting ICP messages on port 3130, FD 39. 
>Feb  9 18:11:35 backup2 squid[21516]: Accepting SNMP messages on port 3401, FD 40. 
>Feb  9 18:11:35 backup2 squid[21516]: Ready to serve requests. 
>Feb  9 18:11:35 backup2 squid[21516]: Done reading Cache Dir #0 swaplog (1800 entries) 
>Feb  9 18:11:35 backup2 squid[21516]: Finished rebuilding storage disk. 
>Feb  9 18:11:35 backup2 squid[21516]:      1800 Entries read from previous logfile. 
>Feb  9 18:11:35 backup2 squid[21516]:         0 Entries scanned from swap files. 
>Feb  9 18:11:35 backup2 squid[21516]:         0 Invalid entries. 
>Feb  9 18:11:35 backup2 squid[21516]:         0 With invalid flags. 
>Feb  9 18:11:35 backup2 squid[21516]:      1800 Objects loaded. 
>Feb  9 18:11:35 backup2 squid[21516]:         0 Objects expired. 
>Feb  9 18:11:35 backup2 squid[21516]:         0 Objects cancelled. 
>Feb  9 18:11:35 backup2 squid[21516]:         0 Duplicate URLs purged. 
>Feb  9 18:11:35 backup2 squid[21516]:         0 Swapfile clashes avoided. 
>Feb  9 18:11:35 backup2 squid[21516]:   Took 0 seconds (1800.0 objects/sec). 
>Feb  9 18:11:35 backup2 squid[21516]: Beginning Validation Procedure 
>Feb  9 18:11:36 backup2 squid[21516]:   Completed Validation Procedure 
>Feb  9 18:11:36 backup2 squid[21516]:   Validated 1800 Entries 
>Feb  9 18:11:36 backup2 squid[21516]:   store_swap_size = 15694k 
>Feb  9 18:11:37 backup2 squid[21516]: storeLateRelease: released 0 objects 
Steven Fletcher - steven@shellnet.co.uk
       Shellnet - http://www.shellnet.com
Received on Tue Feb 09 1999 - 11:20:00 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:30 MST