Nagios HTTP monitoring

Jerad Riggin jriggin at gmail.com
Thu Jun 21 23:26:14 CEST 2007


More importantly, can I just specify a URL to check?  The default site on
the server in question directs you to CRM which requires auth.  However on
the same server we have an intranet site which doesn't require
authorization.  How would I go about just checking the intranet URL?

On 6/21/07, Jerad Riggin <jriggin at gmail.com> wrote:
>
> Is there any link to information about that?  Like I said this is
> basically the 2nd day I've used Linux and Nagios so much of this seems like
> a different language to me.  Thanks for the info.
>
> On 6/21/07, GJP <gjp at gpnet.nl> wrote:
> >
> > Hi Jerad,
> >
> > If you mean http auth, this is what I use.
> >
> > The check_command in the service definition:
> >
> > check_command
> > check_http_auth!host.example.com!/path!user:password
> >
> > And the command definition.
> >
> > define command{
> >        command_name    check_http_auth
> >        command_line    /usr/lib/nagios/plugins/check_http -H $ARG1$ -u
> > $ARG2$ -a $ARG3$
> >        }
> >
> > But if you mean authentication within a windows AD domain. Maybe Samba
> > can
> > help. Because then you can make your linux server a member of the AD
> > domain.
> >
> > Regards,
> >
> > Gerard.
> >
> > On Thursday 21 June 2007 22:48:08 Jerad Riggin wrote:
> > > I'm new to Linux and new to Nagios so this may sound very stupid.
> > > Basically I have everything up and running, ping tests work, http
> > tests
> > > work, and the smtp test I have setup works.  If the host goes down I
> > get a
> > > host down alert and a host up alert once the problem is resolved.  Is
> > there
> > > a way to have Nagios send me an alert for critical status?  I'm pretty
> > sure
> > > I have that setup but it isn't working.  After this I went ahead and
> > set up
> > > basic HTTP monitoring for all of our servers, however, 403 errors are
> > not
> > > sending any notifications to me.  Also, I'm trying to monitor the CRM
> > site
> > > on our windows domain however since the Linux box is obviously not on
> > the
> > > domain, it can't authenticate when hitting the site so it can't find
> > the
> > > string i've specified.  Any ideas on how to make nagios authenticate
> > and
> > > then check the string?
> > >
> > > Thanks
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070621/356bb8cd/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-------------- 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