check_squid.pl

Meyer Jerome Jerome.Meyer at baldata.ch
Fri Apr 17 15:07:26 CEST 2009


Hi Arno

I've downloaded and installed the Net-SNMP package and that seems running :

[root at test1 Linux]# /usr/local/nagios/libexec/check_squid.pl -H 10.2.4.5
Squid OK: Up 35 minutes, 30.09, 89.92 MB, 5258 objects, 1 clients. Hit rate 0%|CPU=0%;10;20;; Storage=94289920;68711088128;68719476736;; Objects=5258;1032192;1048576;; HitRatio=0%;;;; IPs=9;3584;4096;; Clients=1;1792;2048;;

Thanks for your answer and your great help...

Jerome



> -----Ursprüngliche Nachricht-----
> Von: Arno Lehmann [mailto:al at its-lehmann.de]
> Gesendet: Freitag, 17. April 2009 12:29
> An: Nagios-users at lists.sourceforge.net
> Betreff: Re: [Nagios-users] check_squid.pl
> 
> Hi,
> 
> 17.04.2009 11:21, Meyer Jerome wrote:
> >
> >
> > Hi all
> >
> > I ' ve d ownloaded the plugins check_squid.pl
>  > ...
> > Any ideas??
> 
> Hmm... I never used that check_squid.pl.
> 
> But I've got one I wrote a while ago.
> 
> No documentation, no useful help, but feel free to try it... if it works for
> you I might polish at least the help output a bit and publish it.
> 
> Note that I consider this a quick and dirty hack, and the best things to say
> about it are that it uses -w and 'use strict;'
> 
> It uses snmp to check, i.e. your squid config needs lines like
> 
> acl snmppublic snmp_community publi
> snmp_access allow snmppublic our_networks
> 
> to allow snmp access to squid.
> 
> Arno
> 
> --
> Arno Lehmann
> IT-Service Lehmann
> Sandstr. 6, 49080 Osnabrück
> www.its-lehmann.de

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list