<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">This seems to be working now. <br>
<span></span></p>
<p style="margin-top:0;margin-bottom:0"><span><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span>CLASS=linux EXHOST=%(a*.yyy.xxx)</span><br>
</p>
<br>
<p style="margin-top:0;margin-bottom:0"><span>this did not work EXHOST=%a*.yyy.xxx  ... do you need more () when you're using a * ?<span></span></span></p>
<p style="margin-top:0;margin-bottom:0"><span><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span>I hope <span>EXHOST=%(*.yyy.xxx) works as well because that's what I really need!</span></span></p>
<p style="margin-top:0;margin-bottom:0"><br>
<span><span></span></span></p>
<p style="margin-top:0;margin-bottom:0"><span><span>If anyone has a good set of RE pattern examples for HOST and EXHOST - or can point me too some - I would be VERY grateful. I have not quite got the hang of it.</span></span></p>
<p style="margin-top:0;margin-bottom:0"><span><span><br>
</span></span></p>
<p style="margin-top:0;margin-bottom:0"><span><span>B<br>
</span></span></p>
<p style="margin-top:0;margin-bottom:0"><br>
<span><span></span></span></p>
<p style="margin-top:0;margin-bottom:0"><span><span><br>
</span></span></p>
<p style="margin-top:0;margin-bottom:0"><span><span><br>
</span></span></p>
<p style="margin-top:0;margin-bottom:0"><span><span></span></span><br>
</p>
<div style="color: rgb(31, 28, 27);">
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Xymon <xymon-bounces@xymon.com> on behalf of Bakkies Gatvol <bakgat8@hotmail.com><br>
<b>Sent:</b> Wednesday, December 6, 2017 6:28 PM<br>
<b>To:</b> Xymon Mailing List<br>
<b>Subject:</b> [Xymon] can you use patterns in EXHOST ?</font>
<div> </div>
</div>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p style="margin-top:0; margin-bottom:0">In <span>analysis.cfg</span><br>
</p>
<p style="margin-top:0; margin-bottom:0">I have a <span>CLASS=linux</span> section that works fine. Fine for *our* hosts - the ones we built.</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">Now I have to monitor a whole <span>datacenter of other linux boxes that do not adhere to *our* standards.</span></p>
<p style="margin-top:0; margin-bottom:0"><span><br>
</span></p>
<p style="margin-top:0; margin-bottom:0">I added the new linux boxes into Xymon with longname ( host.yyy.xxx ) - my hosts are all shortname. Please tell me how I can exclude every linux host ending in <span>yyy.xxx from CLASS=linux.</span></p>
<p style="margin-top:0; margin-bottom:0"><span><br>
</span></p>
<p style="margin-top:0; margin-bottom:0"><span>It is not really practical to list 150 hosts by LONGname in EXHOST.</span></p>
<p style="margin-top:0; margin-bottom:0"><span><br>
</span></p>
<p style="margin-top:0; margin-bottom:0"><span>Fingers crossed that this is possible!</span></p>
<p style="margin-top:0; margin-bottom:0"><span><br>
</span></p>
<p style="margin-top:0; margin-bottom:0"><span>Bakkies</span><br>
<span></span></p>
</div>
</div>
</div>
</div>
</body>
</html>