Hello everyone!
I'm running Squid 2.5STABLE1, compiled with --enable-snmp, amongst other
options. However, I've also downloaded and compiled MRTG, which I think
I've done that correctly.
Anyways, I can't seem to connect to Squid when I'm trying to use the
MRTG cfgmaker utility.
This is what I'm getting:
[root@localhost bin]# ./cfgmaker --global 'WorkDir:
/usr/local/apache2/htdocs/mrtg' --global 'Options[_]: growright,bits'
public@wpad.marketingassociates.com >
/usr/local/apache2/htdocs/mrtg/cfg/mrtg.cfg
--base: Get Device Info on public@wpad.marketingassociates.com:
SNMP Error:
no response received
SNMPv1_Session (remote host: "wpad.marketingassociates.com"
[192.1.1.37].161)
community: "public"
request ID: 411177916
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.1 on
public@wpad.marketingassociates.com:
at ./cfgmaker line 689
[root@localhost bin]#
Yet, I can ping it, it works fine as my proxy, etc etc. Anyways, here's
a snippet of my cache.log:
2003/03/21 11:37:30| Starting Squid Cache version 2.5.STABLE1-20030225
for i686-pc-linux-gnu...
2003/03/21 11:37:30| Process ID 1020
2003/03/21 11:37:30| With 1024 file descriptors available
2003/03/21 11:37:30| Performing DNS Tests...
2003/03/21 11:37:30| Successful DNS name lookup tests...
2003/03/21 11:37:30| DNS Socket created at 0.0.0.0, port 32770, FD 4
2003/03/21 11:37:30| Adding nameserver 192.1.1.119 from /etc/resolv.conf
2003/03/21 11:37:30| Adding nameserver 192.1.1.100 from /etc/resolv.conf
2003/03/21 11:37:30| helperOpenServers: Starting 5 'wb_auth' processes
2003/03/21 11:37:30| Unlinkd pipe opened on FD 14
2003/03/21 11:37:30| Swap maxSize 512000 KB, estimated 39384 objects
2003/03/21 11:37:30| Target number of buckets: 1969
2003/03/21 11:37:30| Using 8192 Store buckets
2003/03/21 11:37:30| Max Mem size: 51200 KB
2003/03/21 11:37:30| Max Swap size: 512000 KB
2003/03/21 11:37:30| Rebuilding storage in /usr/local/squid/var/cache
(DIRTY)
2003/03/21 11:37:30| Using Least Load store dir selection
2003/03/21 11:37:30| Current Directory is /usr/local/squid/etc
2003/03/21 11:37:30| Loaded Icons.
2003/03/21 11:37:30| Accepting HTTP connections at 0.0.0.0, port 3128,
FD 16.
2003/03/21 11:37:30| Accepting ICP messages at 0.0.0.0, port 3130, FD
17.
2003/03/21 11:37:30| Accepting SNMP messages on port 3401, FD 18.
2003/03/21 11:37:30| WCCP Disabled.
2003/03/21 11:37:30| Ready to serve requests.
2003/03/21 11:37:31| Store rebuilding is 80.7% complete
2003/03/21 11:37:31| Done reading /usr/local/squid/var/cache swaplog
(5075 entries)
2003/03/21 11:37:31| Finished rebuilding storage from disk.
2003/03/21 11:37:31| 5075 Entries scanned
2003/03/21 11:37:31| 0 Invalid entries.
2003/03/21 11:37:31| 0 With invalid flags.
2003/03/21 11:37:31| 5075 Objects loaded.
2003/03/21 11:37:31| 0 Objects expired.
2003/03/21 11:37:31| 0 Objects cancelled.
2003/03/21 11:37:31| 0 Duplicate URLs purged.
2003/03/21 11:37:31| 0 Swapfile clashes avoided.
2003/03/21 11:37:31| Took 0.7 seconds (6838.9 objects/sec).
2003/03/21 11:37:31| Beginning Validation Procedure
2003/03/21 11:37:31| Completed Validation Procedure
2003/03/21 11:37:31| Validated 5075 Entries
2003/03/21 11:37:31| store_swap_size = 72048k
2003/03/21 11:37:31| storeLateRelease: released 0 objects
[root@linux-fs logs]#
Looks to me like everything is running fine as far as SNMP goes.
So finally, here's a small portion of my squid.conf:
acl snmppublic snmp_community public
snmp_access allow snmppublic all
I realize that the above isn't secure at all, however at the moment I'm
not worrying about security. I just want to get everything working
first.
I don't see anything sticking out like a sore thumb, but then again I
have been trying for the past few hours to get it to cooperate.
Any thoughts or suggestions would be much appreciated.
Thanks,
Scott
Received on Fri Mar 21 2003 - 09:57:40 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:14:18 MST