This is a discussion on Re: [squid-users] Squid, snmp and MRTG within the Squid Users forums, part of the Web Server and Related Forums category; On Thu, 11 Dec 2003 Jim_Brouse/PYT@PASCUAYAQUITRIBE.ORG wrote: > > This is the command I used mrtg /var/...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Thu, 11 Dec 2003 Jim_Brouse/PYT@PASCUAYAQUITRIBE.ORG wrote: > > This is the command I used mrtg /var/www/mrtg/mrtg-squid.cfg 49,9 > > Is that how you meant for 49,9 to be used? Not really. I meant for this line to be in squid.conf: debug_options ALL,1 49,9 > Below is the output in cache.log > > 2003/12/11 08:47:09| Failed SNMP agent query from : 127.0.0.1. This is helpful anyway. It implies that Squid is denying the SNMP query because it is not matching your access rules. Based on what you've shown so far, it seems like it should work. You are sending queries to 127.0.0.1 and using 'public' as the SNMP community. To see if the problem is with Squid or with MRTG, you might want to try a different SNMP client, such as snmpget from Net-SNMP (net-snmp.sourceforge.net). For example: % snmpget -v 1 -c public localhost:3401 .1.3.6.1.4.1.3495.1.1.1 Duane W. |