You can monitor the path of a website with the -u option. Here is an example:<div>check_http -H <a href="http://mysite.com">mysite.com</a> -u "/tux" -f follow<br><br>You will probably want to use the "-f follow" option if your website uses any kind of redirection method.</div>
<div><br></div><div>;-)</div><div>Travis Runyard<br><br><div class="gmail_quote">On Wed, Jun 13, 2012 at 6:16 AM, Leonardo Bacha Abrantes <span dir="ltr"><<a href="mailto:leonardo@lbasolutions.com" target="_blank">leonardo@lbasolutions.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey people,<br><br>I'm monitoring my site using the command line /usr/local/nagios/libexec/check_http -w 4 -c 8 -H <a href="http://mysite.com" target="_blank">mysite.com</a>. It's work fine, however, I have some sites that has not a host added in my dns, and to access it and use <a href="http://mysite.com/tux" target="_blank">mysite.com/tux</a>.<br>


<br>and when I use heck_http -w 4 -c 8 -H <a href="http://mysite.com/tux" target="_blank">mysite.com/tux</a>, it fail.<br>How can I monitory it ?<br><br>many thanks!<br><br><br>
<br>------------------------------------------------------------------------------<br>
Live Security Virtual Conference<br>
Exclusive live event will cover all the ways today's security and<br>
threat landscape has changed and how IT managers can respond. Discussions<br>
will include endpoint security, mobile security and the latest in malware<br>
threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br></div>