<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><tt>This is coming from your hosts.cfg.<br>
<br>
If 1 host has a tag on it, that tag will by default display for
all other hosts. The solution is to use the GROUP-ONLY or
GROUP-EXCEPT tags in your hosts.cfg. This tells Xymon to
display (or exclude) the specified tags until it comes to
another "GROUP" tag.<br>
<br>
Ultimately, you will likely need to create multiple pages and
subpages to display data in a well organized fashion. Putting
groups of like hosts on different pages. Note, that if a host
is listed more than once in the host file, xymon can get
confused as to which to use, so you should specify with a
'prefer' tag For example, your hosts.cfg may end up looking
like: <br>
<br>
******************************<br>
page system SYSTEM<br>
group-only conn|cpu|memory|info<br>
1.2.3.4.host1 # conn my_test1 my_test2 my_test3 prefer<br>
1.2.3.5 host2 # conn my_test1 my_test2 my_test3 prefer<br>
<br>
page other OTHER<br>
group-only my_test1|my_test2|my_test3<br>
0.0.0.0 host1 #<br>
0.0.0.0 host2 #<br>
******************************<br>
<br>
On your main page you will have two icons. One named SYSTEM,
the other named OTHER. If you click on the System icon, the
page will display you two hosts, only showing conn, cpu, memory,
and info. If you click on the Other icon, it will display your
hosts only showing my_test1, my_test2, and my_test3. You'll
notice that sine the hosts are listed twice, there is a prefer
tag in the first group, with all of the tags added to that
host. The second occurrence of the hosts doesn't need any
defining data since Xymon already knows about it from the first
occurrence.<br>
<br>
<br>
<br>
</tt>
<pre class="moz-signature" cols="72">Michael Beatty
</pre>
On 01/09/2013 06:10 PM, Mills, David (IS) wrote:<br>
</div>
<blockquote
cite="mid:582DD1C70A06C94F91852BD46B8A59691932C86D@XMBC3084.northgrum.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>All –</div>
<div> </div>
<div>Besides adding specific tags for services / tests in
hosts.cfg, what determines which service columns appear on
web page for a particular client? I.e. I have some clients
in my environment which do not have any tags in hosts.cfg,
but display several “tests”.
</div>
<div> </div>
<div>I see part of the puzzle: the client runs (in my case):
~/xymon/client_sunos-5.10/bin/xymonclient-sunos.sh, which
generates the following columns of data</div>
<div> </div>
<div> date</div>
<div> uname</div>
<div> uptime</div>
<div> who</div>
<div> df</div>
<div> mount</div>
<div> prtconf</div>
<div> memory</div>
<div> swap</div>
<div> swaplist</div>
<div> ifconfig</div>
<div> route</div>
<div> netstat</div>
<div> ports</div>
<div> ifstat</div>
<div> ps</div>
<div> top</div>
<div> </div>
<div>I also see there’s a file called
~/xymon/client/etc/clientlaunch.cfg, which is like the
server-side “tasks.cfg” in concept / syntax. </div>
<div> </div>
<div>However, what determines which of these stanzas applies
for which-host?</div>
<div> </div>
<div>Thanks!</div>
<div> </div>
<div>david</div>
<div style="margin-top:5pt;margin-bottom:5pt;"><font
face="Arial" size="2"><span style="font-size:10pt;">~~~~~~~~~~~~~~~~~~~<font
face="Times New Roman" size="3"><span
style="font-size:12pt;">
<br>
</span></font><font color="blue" face="Times New
Roman" size="3"><span style="font-size:12pt;"><b>David
Mills</b></span></font><font face="Times New
Roman" size="3"><span style="font-size:12pt;">
<br>
</span></font>Systems Administrator<font face="Times
New Roman" size="3"><span style="font-size:12pt;">
<br>
</span></font><b><i>Northrop Grumman</i></b> </span></font></div>
<div><font face="Arial" size="2"><span style="font-size:10pt;">512-595-1238<font
face="Calibri" size="2"><span style="font-size:11pt;">
<br>
</span></font><a moz-do-not-send="true"
href="mailto:david.mills@ngc.com"><font color="blue"><u>david.mills@ngc.com</u></font></a><font
face="Calibri" size="2"><span style="font-size:11pt;">
</span></font></span></font></div>
<div> </div>
<div> </div>
<div> </div>
</span></font>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Xymon mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xymon@xymon.com">Xymon@xymon.com</a>
<a class="moz-txt-link-freetext" href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a>
</pre>
</blockquote>
<br>
<br>
</body>
</html>