Nagios-users Digest, Vol 22, Issue 28

Carlo Alberto Bedogni cabedogni at gmail.com
Mon Mar 17 15:24:25 CET 2008


Hi Tom, and all

i have solved with the check_http plugin , it's work very fine ..:)

the plugin check_apache.pl come with the package  nagios-plugins.x86_64
1.4.11-1.el5.rf from the rpmforge repository

thank all !!

On Sun, Mar 16, 2008 at 8:21 PM, <nagios-users-request at lists.sourceforge.net>
wrote:

> Send Nagios-users mailing list submissions to
>        nagios-users at lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://lists.sourceforge.net/lists/listinfo/nagios-users
> or, via email, send a message with subject or body 'help' to
>        nagios-users-request at lists.sourceforge.net
>
> You can reach the person managing the list at
>        nagios-users-owner at lists.sourceforge.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Nagios-users digest..."
>
>
> Today's Topics:
>
>   1. Re: setup check_apache.pl (Tom Throckmorton)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 15 Mar 2008 15:44:28 -0400
> From: Tom Throckmorton <throck at duke.edu>
> Subject: Re: [Nagios-users] setup check_apache.pl
> To: Carlo Alberto Bedogni <cabedogni at gmail.com>
> Cc: nagios-users at lists.sourceforge.net
> Message-ID: <20080315194428.GA3359 at duke.edu>
> Content-Type: text/plain; charset=us-ascii
>
> On Mar 15 10:57, Carlo Alberto Bedogni wrote:
> > hi all
> >
> > i have nagios 2.10 on centos 5 , i'm trying to install check_apache.pl
> but
> > give me a error 127 .
> >
> > check_apache.pl is locate in /usr/lib64/nagios/plugins/contrib/
> >
> > in /etc/nagios/localhost.cfg i have add this lines :
> >
> > define service{
> >        use                              local-service         ; Name of
> > service template to use
> >        host_name                        localhost
> >        service_description              Check apache
> >        check_command                    check_apache.pl
> >        }
> >
> >
> > and in /etc/nagios/command.cfg this lines:
> >
> > # 'check_apache.pl' command definition
> > define command{
> >         command_name    check_apache.pl
> >         command_line    $USER1$/check_apache.pl -H $HOSTADDRESS$
> >         }
>
> Carlo,
>
> Assuming you have $USER1$ set to /usr/lib64/nagios/plugins/, then you need
> to
> change that command_line to:
>
> >         command_line    $USER1$/contrib/check_apache.pl -H $HOSTADDRESS$
>
> Regardless, I think this plugin isn't going to do what you want - it's
> very
> old, and doesn't work against Apache 2.x, which is the default on CentOS
> 5.  If
> you think checking via mod_status is really what you want/need, then
> someone
> updated this script a while ago to work with 2.x:
>
> http://readlist.com/lists/lists.sourceforge.net/nagios-users/0/320.html
>
> ...are you really just looking to make sure your local Apache instance is
> alive?  Have you tried check_http?
>
> > the plugin check-apache come with a standard rpm for centos...
>
> Out of curiosity - which rpm are you using and from where?
>
> Cheers,
>
> -tt
>
> --
> Tom Throckmorton
> OIT - CSI
> Duke University
>
>
>
> ------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>
> ------------------------------
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
>
> End of Nagios-users Digest, Vol 22, Issue 28
> ********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080317/3e376296/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
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