<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Looking for assistance in recognizing (pinging) admin networks on Solaris 10/11 global zones and ldoms but keep using public IP’s for containers (zones)</div>
<div> </div>
<div>Found the following on the xymonnet man page:</div>
<div> </div>
<div>--dns=[ip|only|standard]</div>
<div style="padding-left:36pt;">Determines how xymonnet finds the IP adresses of the hosts to test. By default (the "standard"), xymonnet does a DNS lookup of the hostname to determine the IP address, unless the host has the "testip" tag, or the DNS lookup
fails. <br>

With "--dns=only" xymonnet will ONLY do the DNS lookup; if it fails, then all services on that host will be reported as being down.
<br>

With "--dns=ip" xymonnet will never do a DNS lookup; it will use the IP adresse specified in hosts.cfg for the tests. Thus, this setting is equivalent to having the "testip" tag on all hosts. Note that http tests will ignore this setting and still perform a
DNS lookup for the hostname given in the URL; see the "xymonnet tags for HTTP tests" section in <a href="http://xymon.sourceforge.net/xymon/help/manpages/man5/hosts.cfg.5.html"><font color="blue"><i><u>hosts.cfg</u></i></font></a><i>(5)</i></div>
<div> </div>
<div>But on the host.cfg man page:</div>
<div> </div>
<div><font face="Times New Roman" size="3"><span style="font-size:12pt;">testip</span></font></div>
<div style="padding-left:36pt;"><font face="Times New Roman" size="3"><span style="font-size:12pt;">By default, Xymon will perform a name lookup of the hostname to get the IP address it will use for network tests. This tag causes Xymon to use the IP listed
in the hosts.cfg file.</span></font></div>
<div> </div>
<div>But then it goes on to say later in the hosts.cfg page:</div>
<div> </div>
<div><font face="Times New Roman" size="3"><span style="font-size:12pt;">Testing sites by IP-address</span></font></div>
<div style="padding-left:36pt;"><font face="Times New Roman" size="3"><span style="font-size:12pt;">xymonnet ignores the "testip" tag normally used to force a test to use the IP-address from the hosts.cfg file instead of the hostname, when it performs http
and https tests. </span></font></div>
<div style="margin-top:5pt;margin-bottom:5pt;padding-left:36pt;"><font face="Times New Roman" size="3"><span style="font-size:12pt;">The reason for this is that it interacts badly with virtual hosts, especially if these are IP-based as is common with https-websites.
</span></font></div>
<div>The xymon info page does list the admin network IP but the conn page continues to check the public IP address:</div>
<div> </div>
<table width="787" style="width:472.5pt;margin-left:3.15pt;">
<col width="237" style="width:142.2pt;">
<col width="313" style="width:188.1pt;">
<col width="237" style="width:142.2pt;">
<tr>
<td><font face="Arial" size="4" color="silver"><span style="font-size:13.5pt;"><b><Organization </b><b>Name</b><b>></b><font face="Calibri" size="2" color="black"><span style="font-size:11pt;"> </span></font></span></font></td>
<td align="center" style="text-align:center;"><font face="Arial" size="4" color="silver"><span style="font-size:13.5pt;"><b><Global Zone></b><b> - Information</b></span></font></td>
<td style="text-align:right;"><font face="Arial" size="4" color="silver"><span style="font-size:13.5pt;"><b>Fri Aug 22 09:38:43 2014</b><font face="Calibri" size="2" color="black"><span style="font-size:11pt;"> </span></font></span></font></td>
</tr>
</table>
<table width="787" style="width:472.5pt;margin-left:3.15pt;">
<col width="787" style="width:472.5pt;">
<tr>
<td><img width="83" height="41" src="rtfimage://"></td>
</tr>
</table>
<div> </div>
<table width="787" style="width:472.5pt;margin-left:3.15pt;">
<col width="787" style="width:472.5pt;">
<tr>
<td align="center" style="text-align:center;margin-top:5pt;margin-bottom:5pt;"><font face="Times New Roman" size="3" color="goldenrod"><span style="font-size:12pt;"><i>08/21/14</i><font color="black"> </font><font color="black"><i>What happened to the </i></font><a href="http://dwru002.hhscie.txaccess.net/hobbit/help/doc/removed-iostat2.html"><font color="blue"><b><i><u>iostat2</u></i></b></font></a><font color="black"><i>
column on the Solaris boxes? </i></font></span></font></td>
</tr>
</table>
<div><br>

<br>

<a name="begindata"></a>  </div>
<table width="479" style="width:287.95pt;margin-left:3.15pt;">
<col width="479" style="width:287.95pt;">
<tr>
<td>
<table width="472" style="width:283.45pt;margin-left:5.4pt;">
<col width="92" style="width:55.65pt;">
<col width="379" style="width:227.8pt;">
<tr>
<td><b>Hostname:</b></td>
<td><Global Zone></td>
</tr>
<tr>
<td><b>OS:</b></td>
<td>SunOS <Global Zone> 5.11 11.1 sun4v sparc sun4v</td>
</tr>
<tr>
<td><b>Client S/W:</b></td>
<td></td>
</tr>
<tr>
<td><b>IP:</b></td>
<td>172.###.###.78</td>
</tr>
</table>
<div> </div>
</td>
</tr>
</table>
<div><img width="83" height="41" src="rtfimage://"></div>
<table width="787" style="width:472.5pt;margin-left:3.15pt;">
<col width="237" style="width:142.2pt;">
<col width="313" style="width:188.1pt;">
<col width="237" style="width:142.2pt;">
<tr>
<td><font face="Arial" size="4" color="silver"><span style="font-size:13.5pt;"><b><Organization </b><b>Name</b><b>></b></span></font></td>
<td align="center" style="text-align:center;"><font face="Arial" size="4" color="silver"><span style="font-size:13.5pt;"><b><Global Zone></b><b> </b><b> - conn</b></span></font></td>
<td style="text-align:right;"><font face="Arial" size="4" color="silver"><span style="font-size:13.5pt;"><b>Fri Aug 22 09:40:14 2014</b><font face="Calibri" size="2" color="black"><span style="font-size:11pt;"> </span></font></span></font></td>
</tr>
</table>
<table width="787" style="width:472.5pt;margin-left:3.15pt;">
<col width="787" style="width:472.5pt;">
<tr>
<td><img width="83" height="41" src="rtfimage://"></td>
</tr>
</table>
<div> </div>
<table width="787" style="width:472.5pt;margin-left:3.15pt;">
<col width="787" style="width:472.5pt;">
<tr>
<td align="center" style="text-align:center;margin-top:5pt;margin-bottom:5pt;"><font face="Times New Roman" size="3" color="goldenrod"><span style="font-size:12pt;"><i>08/21/14</i><font color="black"> </font><font color="black"><i>What happened to the </i></font><a href="http://dwru002.hhscie.txaccess.net/hobbit/help/doc/removed-iostat2.html"><font color="blue"><b><i><u>iostat2</u></i></b></font></a><font color="black"><i>
column on the Solaris boxes? </i></font></span></font></td>
</tr>
</table>
<div style="margin-bottom:12pt;"><br>

<br>

  </div>
<div align="center" style="text-align:center;"><font face="Arial" size="1"><span style="font-size:8pt;">Top of Form</span></font></div>
<div align="center" style="text-align:center;"><font face="Arial" size="1"><span style="font-size:8pt;">Bottom of Form</span></font></div>
<table width="717" style="width:430.6pt;margin-left:3.15pt;">
<col width="717" style="width:430.6pt;">
<tr>
<td style="margin-top:5pt;margin-bottom:5pt;"><font face="Times New Roman" size="4"><span style="font-size:13.5pt;"><b>Fri Aug 22 09:38:41 2014 conn NOT ok </b>
<div><font face="Courier New" size="2"><span style="font-size:10pt;"> </span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">Service conn on <Global Zone> is not OK : Host does not respond to ping</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;"> </span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;"> </span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;">System unreachable for 1424 poll periods (258838 seconds)</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;"> </span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;"><img src="cid:616CB6F13F85154297A59B7E05B59939@namprd05.prod.outlook.com">  10.###.###.12 is unreachable</span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;"> </span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;"> </span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;"> </span></font></div>
<div><font face="Courier New" size="2"><span style="font-size:10pt;"> </span></font></div>
</span></font></td>
</tr>
</table>
<div><img width="83" height="41" src="rtfimage://"></div>
<div> </div>
<div>host.cfg file entry:</div>
<div> </div>
<div>group</div>
<div>172.###.###.78   <global hostname> testip</div>
<div>10.###.###.41    <container hostname> #COMMENT:"<comment>"</div>
<div>10.###.###.42    <container hostname> #COMMENT:"<comment>"</div>
<div>10.###.###.43    <container hostname> #COMMENT:"<comment>"</div>
<div>10.###.###.44    <container hostname> #COMMENT:"<comment>"</div>
<div>10.###.###.45    <container hostname> #COMMENT:"<comment>"</div>
<div>10.###.###.46    <container hostname> #COMMENT:"<comment>"</div>
<div>10.###.###.47    <container hostname> #COMMENT:"<comment>"</div>
<div>10.###.###.48    <container hostname> #COMMENT:"<comment>"</div>
<div>10.###.###.49    <container hostname> #COMMENT:"<comment>"</div>
<div>10.###.###.79    <container hostname> #COMMENT:"<comment>"</div>
<div>10.###.###.81    <container hostname> #COMMENT:"<comment>"</div>
<div>10.###.###.166   <container hostname> #COMMENT:"<comment>"</div>
<div>10.###.###.53    <container hostname> #COMMENT:"<comment>"</div>
<div>10.###.###.170   <container hostname> #COMMENT:"<comment>"</div>
<div>10.###.###.55    <container hostname> #COMMENT:"<comment>"</div>
<div>10.###.###.56    <container hostname> #COMMENT:"<comment>"</div>
<div>10.###.###.57    <container hostname> #COMMENT:"<comment>"</div>
<div>10.###.###.58    <container hostname> #COMMENT:"<comment>"</div>
<div>10.###.###.73    <container hostname> #COMMENT:"<comment>"</div>
<div>10.###.###.168   <container hostname> #COMMENT:"<comment>"</div>
<div> </div>
<div>I have also added the following entry to the hosts.cfg file with no luck getting the conn to go green:</div>
<div> </div>
<div>10.###.###.12    <global zone> conn={best}10.###.###.12,172.###.###.78</div>
<div> </div>
<div>How do I correct this to have the conn also ping the admin IP address but yet allow the continued checks of DNS for the containers (zones)?</div>
<div> </div>
<div><font face="Script MT Bold" size="4"><span style="font-size:14pt;"><b>Scott Allen Rebman</b><font face="Calibri" size="2"><span style="font-size:11pt;">
<br>

</span></font><font face="Arial" size="2"><span style="font-size:10pt;">Solaris System Administrator
<br>

</span></font><font face="Arial" size="2"><span style="font-size:10pt;">Northrop Grumman</span></font></span></font></div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
</span></font>
</body>
</html>