I'm seeing the following:

HTTP WARNING: HTTP/1.1 400 No Host matches server name seth.my.int.domain

This is what the test looks like in Nagios:

## HTTP - alternate port
define service {
       host_name                       seth
       service_description             HTTP
check_command check_http!-p 8080!-u /gp/pages/login.jsf notes http://$HOSTADDRESS$:8080/gp/pages/login.jsf
       max_check_attempts              3
       normal_check_interval           15
       retry_check_interval            1
       check_period                    24x7
       notification_interval           120
       notification_period             24x7
       notification_options            w, u, c, r, f, s
       contact_groups                  unixadmins
action_url /nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$
}

Oddly enough, all other tests for this host seem to have no issue at all with the hostname. The URL also works in a web browser (http://seth.my.int.domain:8080/gp/pages/login.jsf works correctly). From the Nagios server, I go hit the URL from lynx and curl w/o issue. There's proper name resolution (forward and reverse) in place. I'm lost...

--


 A. Davis
 Email:     ncc...@gmail.com

 "There is no limit to what a man can accomplish
  if he doesn't care who gets the credit." - Ronald Reagan

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to