check_http
Travis Runyard
travisrunyard at gmail.com
Fri Jun 15 00:28:07 CEST 2012
You can monitor the path of a website with the -u option. Here is an
example:
check_http -H mysite.com -u "/tux" -f follow
You will probably want to use the "-f follow" option if your website uses
any kind of redirection method.
;-)
Travis Runyard
On Wed, Jun 13, 2012 at 6:16 AM, Leonardo Bacha Abrantes <
leonardo at lbasolutions.com> wrote:
> Hey people,
>
> I'm monitoring my site using the command line
> /usr/local/nagios/libexec/check_http -w 4 -c 8 -H mysite.com. It's work
> fine, however, I have some sites that has not a host added in my dns, and
> to access it and use mysite.com/tux.
>
> and when I use heck_http -w 4 -c 8 -H mysite.com/tux, it fail.
> How can I monitory it ?
>
> many thanks!
>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120614/b1c06417/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-------------- 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