Re: [squid-users] Squid, snmp and MRTG

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/...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-12-2003
Duane Wessels
 
Posts: n/a
Default Re: [squid-users] Squid, snmp and MRTG




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.
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:52 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0