setup check_apache.pl

Carlo Alberto Bedogni cabedogni at gmail.com
Sat Mar 15 18:35:21 CET 2008


hi diego,

i have try to change the address but is the same

[root at server contrib]# ./check_apache.pl -H 80.150.x.x
HTTP request failed

thanks for your help

ciao
carlo


On Sat, Mar 15, 2008 at 5:51 PM, Diego Giurgola <diego.gentoo at gmail.com>
wrote:

> You should change $HOSTADDRESS$ with your actual ip address ;)
> Diego.
>
>
> 2008/3/15, Carlo Alberto Bedogni <cabedogni at gmail.com>:
> >
> > thanks for your answer but i don't have nagios user on my sistem , i
> > have only set the password for nagiosadmin ( with
> >
> > *htpasswd -c /etc/nagios/htpasswd.users nagiosadmin )
> >
> > *
> >
> > i have try to run the script as root :
> >
> > [root at server contrib]# ./check_apache.pl -H $HOSTADDRESS$
> > HTTP request failed
> >
> >
> > thanks
> >
> > On Sat, Mar 15, 2008 at 2:55 PM, Diego Giurgola <diego.gentoo at gmail.com>
> > wrote:
> >
> > >
> > >
> > > 2008/3/15, Carlo Alberto Bedogni <cabedogni at gmail.com>:
> > >
> > > > sorry but i'm pretty new to nagios , how can run script as nagios
> > > > user ?
> > > >
> > > > ./check_apache.pl   ?
> > >
> > >
> > > Yes, and then the arguments. The  most important thing to remember is
> > > to run the script as the nagios user.
> > >
> > > thanks a lot
> > > > carlo
> > >
> > >
> > > Bye. Diego.
> > >
> > >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080315/a4f0fc4e/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