Hi Alessandra,
Nope:
nat005:~# /etc/init.d/snmptrapd status
snmptrapd is stopped
nat005:~# /etc/init.d/snmpd status
snmpd is stopped
nat005:~# snmpwalk -v2c -Cc -c public localhost:3401 .1.3.6.1.4.1.3495.1.1
SNMPv2-SMI::enterprises.3495.1.1.1.0 = INTEGER: 16944
SNMPv2-SMI::enterprises.3495.1.1.2.0 = INTEGER: 106676
SNMPv2-SMI::enterprises.3495.1.1.3.0 = Timeticks: (34719115) 4 days, 0:26:31.15
(which I assume relate to the Squid ;-)
http://wiki.squid-cache.org/Features/Snmp#How_can_I_query_the_Squid_SNMP_Agent
Cheers
Mike
On 3 September 2010 15:44, Alessandra Forti <[log in to unmask]> wrote:
> Hi Mike,
>
> are you running an snmp daemon?
>
> There pages like these that suggest that:
>
> http://www.visolve.com/squid/whitepapers/monitoringsquid.php
>
> cheers
> alessandra
>
> On 09/03/2010 03:30 PM, Mike Kenyon wrote:
>>
>> hrrmmm...quite possibly you need this too?:
>>
>> acl Safe_ports port 1025-65535
>>
>> I don't see anything else in the config file that may help us here.
>>
>>
>> Cheers
>> Mike
>>
>> On 3 September 2010 15:22, Alessandra Forti<[log in to unmask]>
>> wrote:
>>>
>>> You need to check that your squid is compiled with with --enable-snmp
>>> too.
>>>
>>> Said that (and I'm using the CERN rpm) my installation still isn't
>>> working
>>> with similar options as Mike has.
>>>
>>> cheers
>>> alessandra
>>>
>>> On 09/03/2010 03:00 PM, Mike Kenyon wrote:
>>>>
>>>> Hi Ewan,
>>>>
>>>> I think the relevant magic is
>>>>
>>>> acl HOST_MONITOR src 131.225.209.5/32 cmsdbsfrontier.cern.ch
>>>> 127.0.0.1/32
>>>>
>>>> followed by
>>>>
>>>> acl snmppublic snmp_community public
>>>> snmp_access allow snmppublic HOST_MONITOR
>>>> snmp_access deny all
>>>>
>>>>
>>>> Cheers
>>>> Mike.
>>>>
>>>>
>>>>
>>>> On 3 September 2010 14:53, Ewan MacMahon<[log in to unmask]>
>>>> wrote:
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Testbed Support for GridPP member institutes [mailto:TB-
>>>>>>
>>>>>> thanks, I didn't look at the squid docs. Just thought Dario referred
>>>>>
>>>>> to
>>>>>>
>>>>>> the firewall and squid would handle it internally. It needs to be
>>>>>> configured instead.
>>>>>>
>>>>> I'm guessing that this was part of the pre-canned configuration for
>>>>> anyone using the ATLAS tarball squids, but if (like us) you set up
>>>>> your own it probably doesn't have snmp enabled since no-one actually
>>>>> seems to have asked for that.
>>>>>
>>>>> If someone could post the relevant bit from the configuration of an
>>>>> SNMP enabled squid, that would be handy.
>>>>>
>>>>> Ewan
>>>>>
>
>
|