<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="+1"><font face="Arial">Hi everybody,<br>
<br>
I'm looking for a way to check out the mapping between a hostname and
IP address.<br>
<br>
Example: IP 192.168.0.1 exists and if the hostname foo.mylan.com is not
associated with this IP, I would have an alarm.<br>
<br>
Indeed the script below returns no alarm :<br>
<font face="Courier New, Courier, monospace"><br>
define host {<br>
    use             unix-server<br>
    host_name       foo.mylan.com  <br>
    display_name    foo<br>
    address         192.168.0.1<br>
    check_command   check_http<br>
}<br>
<br>
define service {<br>
    use            local-service<br>
    host_name      foo.mylan.com<br>
    service_description   HTTP local<br>
    check_command  check_http<br>
}</font><br>
</font></font><big><font face="Arial"><br>
Any idea?<br>
<br>
Thanks a lot<br>
<br>
François</font></big><br>
<div class="moz-signature">-- <br>
<style>
  FONT.Text1N {font-family: "Arial"; font-size: 10pt; font-weight: normal; font-style: normal; color: #000094}
  FONT.Text1E {font-family: "Arial"; font-size: 11pt; font-weight: normal; font-style: normal; color: #000094}
  FONT.TextSmall {font-family: "Courier"; font-size: 7pt; font-weight: normal; font-style: normal; color: #000000}
</style>
<font class="Text1E">Network Operation Center<br>
        LUXEMBURG
</font></div>
</body>
</html>