<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000099">
I'm seeing the following:<br>
<br>
HTTP WARNING: HTTP/1.1 400 No Host matches server name
seth.my.int.domain<br>
<br>
This is what the test looks like in Nagios:<br>
<br>
## HTTP - alternate port<br>
define service {<br>
host_name seth<br>
service_description HTTP<br>
check_command check_http!-p 8080!-u
/gp/pages/login.jsf<br>
notes
<a class="moz-txt-link-freetext" href="http://$HOSTADDRESS$:8080/gp/pages/login.jsf">http://$HOSTADDRESS$:8080/gp/pages/login.jsf</a><br>
max_check_attempts 3<br>
normal_check_interval 15<br>
retry_check_interval 1<br>
check_period 24x7<br>
notification_interval 120<br>
notification_period 24x7<br>
notification_options w, u, c, r, f, s<br>
contact_groups unixadmins<br>
action_url
/nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$<br>
}<br>
<br>
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
(<a class="moz-txt-link-freetext" href="http://seth.my.int.domain:8080/gp/pages/login.jsf">http://seth.my.int.domain:8080/gp/pages/login.jsf</a> 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...<br>
<pre class="moz-signature" cols="72">--
A. Davis
Email: <a class="moz-txt-link-abbreviated" href="mailto:nccomp@gmail.com">nccomp@gmail.com</a>
"There is no limit to what a man can accomplish
if he doesn't care who gets the credit." - Ronald Reagan
</pre>
</body>
</html>