Henry R. Prins wrote:
> Hey guys,
> 
> I have two web servers which I have been monitoring.
> 
> define host{
>         use                     web-server
>         host_name               MDS-Support
>         alias                   MDS Support on Apache Web Server
>         address                 67.88.41.150
>         parents                 rtr-t1-ext-150
>         contact_groups          webadmins
>         }
> 
> define host{
>         use                     web-server
>         host_name               MDS-Main-Website
>         alias                   multidataservices main website
>         address                 www.multidataservices.com
>         parents                 Internet
>         contact_groups          webadmins
>         }
>  
> 
> But somehow I got this message today when one of the two was not responding:
> 
> ***** Nagios *****
> 
> Notification Type: PROBLEM
> 
> Service: HTTP
> Host: MDS Support on Apache Web Server
> Address: www.multidataservices.com <http://www.multidataservices.com>
> State: CRITICAL
> 
> Date/Time: Fri Jun 3 15:03:22 EDT 2011
> 
> Additional Info:
> 
> CRITICAL - Socket timeout after 10 seconds
> 
>  
> It seems the Host Name is for one entry and the Address is from the 
> other.  Anyone know what I am doing wrong?
> 
> Henry.

Humm.. I believe it would be better to set as address the IP address and 
not the dns name.. Then, if you define the service for checking the http 
service, use the http command that also takes the virtulHost name.

Hope this helps.
Best regards.
Robi

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to