Single host, multiple HTTP services

William Muriithi w.muriithi at syncapse.com
Fri Jul 22 16:50:11 CEST 2011


Hi

Just curious, why don't you bypass the load balancer and monitor the
individual systems?  That may be more reliable and less complicated.

Actually, may easy the process of figuring what has gone wrong when things
break

William





On 11-07-21 12:20 PM, "af.at.work at gmail.com" <af.at.work at gmail.com> wrote:

>Thanks for the tip on that - any way to take it a step further and
>monitor a web transaction whilst logged in?
>
>On Thu, Jul 21, 2011 at 10:26 AM, Gary Every <gevery at gmail.com> wrote:
>> Service:
>> define service {
>>   use                   generic-check-store
>>   hostgroup_name        Storefront
>>   service_description   storename
>>   check_command
>> check_store!storename.com!/index.php?product_id=12345!"String to find"
>>   contact_groups        Unix,ProductionSupport
>>   notification_interval 1440
>> }
>> Check command:
>> define command{
>>         command_name    check_store
>>         command_line    /usr/lib/nagios/plugins/check_http -I
>>$HOSTADDRESS$
>> -H $ARG1$ -s $ARG3$ -u $ARG2$
>>         }
>>
>> That will check the ip with the specific hostname,  direct it to the
>> appropriate page (/index.php?product_id=12345 and find whatever string
>>you
>> expect to see on that particular page ("String to find")
>> This allows the same ip with different virtualhosts to be checked
>> g.;
>>
>> On Thu, Jul 21, 2011 at 6:59 AM, dave stern - e-mail.pluribus.unum
>> <dit.dash at gmail.com> wrote:
>>>
>>> One way might be to use the check_http plug-in but
>>> have it look for a specific string in each web-page being hosted
>>> and use the warn/critical-time returns for empirical threshold
>>>
>>> On Thu, Jul 21, 2011 at 9:02 AM,  <af.at.work at gmail.com> wrote:
>>> > Hey gang, I am having some difficulty getting a single host setup
>>>that
>>> > would have multiple HTTP services attached to it. The scenario is a
>>> > load balanced group of web servers and I am looking to monitor
>>> > numerous public facing web sites that would be bound to a single load
>>> > balanced IP address. Any help would be most appreciated!
>>> >
>>> >
>>> > 
>>>------------------------------------------------------------------------
>>>------
>>> > 5 Ways to Improve & Secure Unified Communications
>>> > Unified Communications promises greater efficiencies for business. UC
>>> > can
>>> > improve internal communications as well as offer faster, more
>>>efficient
>>> > ways
>>> > to interact with customers and streamline customer service. Learn
>>>more!
>>> > http://www.accelacomm.com/jaw/sfnl/114/51426253/
>>> > _______________________________________________
>>> > 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
>>> >
>>>
>>>
>>> 
>>>------------------------------------------------------------------------
>>>------
>>> 5 Ways to Improve & Secure Unified Communications
>>> Unified Communications promises greater efficiencies for business. UC
>>>can
>>> improve internal communications as well as offer faster, more efficient
>>> ways
>>> to interact with customers and streamline customer service. Learn more!
>>> http://www.accelacomm.com/jaw/sfnl/114/51426253/
>>> _______________________________________________
>>> 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
>>
>>
>>
>> --
>> Gary Every
>> "Pay it Forward!"
>>
>>
>> 
>>-------------------------------------------------------------------------
>>-----
>> 5 Ways to Improve & Secure Unified Communications
>> Unified Communications promises greater efficiencies for business. UC
>>can
>> improve internal communications as well as offer faster, more efficient
>>ways
>> to interact with customers and streamline customer service. Learn more!
>> http://www.accelacomm.com/jaw/sfnl/114/51426253/
>> _______________________________________________
>> 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
>>
>
>--------------------------------------------------------------------------
>----
>5 Ways to Improve & Secure Unified Communications
>Unified Communications promises greater efficiencies for business. UC can
>improve internal communications as well as offer faster, more efficient
>ways
>to interact with customers and streamline customer service. Learn more!
>http://www.accelacomm.com/jaw/sfnl/114/51426253/
>_______________________________________________
>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


------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
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