<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16470"></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT size=2 face=Arial><SPAN 
class=393392611-11042013>Thanks Jeremy, that's awesome.  There were no 
examples for PTR on Xymon out there so this may help others too.  It works 
and thanks for the explanation.</SPAN></FONT></DIV><!-- Converted from text/rtf format -->
<P align=left><SPAN lang=en-gb><FONT size=2 face=Arial>Kind 
regards,</FONT></SPAN> </P>
<P><SPAN lang=en-gb><FONT size=2 face=Arial>Seb<SPAN 
class=393392611-11042013>A</SPAN> </FONT></SPAN> <BR><SPAN 
lang=en-gb><FONT color=#808080 size=2 face=Arial> </FONT></SPAN> <BR></P>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px" 
dir=ltr>
  <DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
  <HR tabIndex=-1>
  <FONT size=2 face=Tahoma><B>From:</B> Jeremy Laidman 
  [mailto:jlaidman@rebel-it.com.au] <BR><B>Sent:</B> 08 April 2013 
  02:32<BR><B>To:</B> SebA<BR><B>Cc:</B> xymon<BR><B>Subject:</B> Re: [Xymon] 
  Reverse DNS lookup check not working<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV dir=ltr>On 8 April 2013 00:34, Jeremy Laidman <SPAN dir=ltr><<A 
  href="mailto:jlaidman@rebel-it.com.au" 
  target=_blank>jlaidman@rebel-it.com.au</A>></SPAN> wrote:<BR>
  <DIV class=gmail_extra>
  <DIV class=gmail_quote>
  <BLOCKQUOTE 
  style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" 
  class=gmail_quote>
    <DIV dir=ltr>
    <DIV class=im><SPAN style="COLOR: rgb(34,34,34)">I'm not in a position to 
    check until tomorrow, but I'm confident that I successfully test for the 
    localhost address like so</SPAN><BR></DIV>
    <DIV class=gmail_extra>
    <DIV class=gmail_quote>
    <DIV><BR></DIV>
    <DIV>  
DNS=PTR:1.0.0.127.in-addr.arpa</DIV></DIV></DIV></DIV></BLOCKQUOTE>
  <DIV><BR></DIV>
  <DIV>I was wrong in the IP address that I test, but correct in the format and 
  the fact that it works.  You should be able to do PTR record checks by 
  formatting in this "in-addr.arpa" format.  An easy way to get this is 
  from the output of "dig -x" which shows the question section in the 
  "in-addr.arpa" format (and also in the answer section if it resolves).</DIV>
  <DIV><BR></DIV>
  <DIV>J</DIV>
  <DIV><BR></DIV></DIV></DIV></DIV></BLOCKQUOTE></BODY></HTML>