Hello,

yes, I am looking if a way to avoid hardcoding/manually enter vhost... I
can live with it if not possible



Cordialement,
Mathieu CHATEAU
http://www.lotp.fr

2015-05-16 18:57 GMT+02:00 Dave Urig <du...@onetouchemr.com>:

> I have a php page on my sites that system load, and anything under a
> specific value results in the page displaying "pass" when viewed.  So I use
> the check_http as follows:
>
> check_http -H subdomain.mysite.com -I HOST -p PORT -S -u /check.php -w 3
> -c 3 -t 3 -s 'pass'
>
> It works perfectly.
>
> On Sat, May 16, 2015 at 3:27 AM, Mathieu Chateau <mathieu.chat...@lotp.fr>
> wrote:
>
>> Hello,
>>
>> Zen support check_http, which is basically a nagios plugin. So far, so
>> good, documentation here:
>> http://www.zenloadbalancer.com/farmguardian-quick-start/
>>
>> This tutorial is somehow wrong.
>> When testing farms servers, you want to connect to its IP to test a
>> specific one node, but you need to provide the true site you are load
>> balancing through host header.
>>
>> check_http help:
>> check_http *-H <vhost> | -I <IP-address>* [-u <uri>] [-p <port>]
>>        [-w <warn time>] [-c <critical time>] [-t <timeout>] [-L] [-a auth]
>>        [-b proxy_auth] [-f <ok|warning|critcal|follow|sticky|stickyport>]
>>        [-e <expect>] [-s string] [-l] [-r <regex> | -R <case-insensitive
>> regex>]
>>        [-P string] [-m <min_pg_size>:<max_pg_size>] [-4|-6] [-N] [-M
>> <age>]
>>        [-A string] [-k string] [-S] [--sni] [-C <age>] [-T <content-type>]
>>        [-j method]
>>
>> So the correct way should be:
>>
>> check_http -w 9 -c 9 -H VHOST -I HOST -u / -p PORT
>>
>> HOST constant in Zen equal IP address of web server, so argument is
>> -I.Tutorial is using -H, which is to specificy a Virtual HOST header.
>> Providing IP address for all sites is quite useless....
>>
>> So I am missing a critical constant: VHOST (or something matching virtual
>> host).
>>
>> From quick start there are only 2 constants: HOST and PORT.
>>
>> Did anyone manage to workaround that ?
>>
>>
>> Regards,
>> Mathieu CHATEAU
>> http://www.lotp.fr
>>
>>
>> ------------------------------------------------------------------------------
>> One dashboard for servers and applications across Physical-Virtual-Cloud
>> Widest out-of-the-box monitoring support with 50+ applications
>> Performance metrics, stats and reports that give you Actionable Insights
>> Deep dive visibility with transaction tracing using APM Insight.
>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>> _______________________________________________
>> Zenloadbalancer-support mailing list
>> Zenloadbalancer-support@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>>
>>
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Zenloadbalancer-support mailing list
> Zenloadbalancer-support@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support
>
>
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Zenloadbalancer-support mailing list
Zenloadbalancer-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support

Reply via email to