<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hi, SebA<br><br>Would mind go one step further ?<br>get  a hobbit developer account  from Henrik to update the manpages ?<br><br>T.J. Yang<br><br><hr>From: spa@syntec.co.uk<br>To: hobbit@hswn.dk<br>Date: Wed, 15 Oct 2008 16:25:16 +0100<br>Subject: RE: [hobbit] Comma-separated lists of hostnames, etc. in hobbit-alerts.cfg is not documented<br><br>

<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">

<style>
.ExternalClass DIV
{;}
</style>



<div dir="ltr" align="left"><span class="EC_613472115-15102008"><font size="2" face="Arial">Thanks for the suggestion.  I'll certainly give that some 
thought.  Comma-separated is just the easiest when it comes to converting 
my existing bbwarnrules.cfg file as I can just select the hosts and replace 
spaces with commas.  Going forward I had thought of using macros, but I'll 
look at PAGEs too.</font></span></div>
<div dir="ltr" align="left"><span class="EC_613472115-15102008"><font size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span class="EC_613472115-15102008"><font size="2" face="Arial">SebA</font></span></div><br>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
  <div class="EC_OutlookMessageHeader" dir="ltr" align="left" lang="en-us">
  <hr>
  <font size="2" face="Tahoma"><b>From:</b> jm54601@yahoo.com 
  [mailto:jm54601@yahoo.com] <br><b>Sent:</b> 15 October 2008 
  16:03<br><b>To:</b> hobbit@hswn.dk<br><b>Subject:</b> Re: [hobbit] 
  Comma-separated lists of hostnames, etc. in hobbit-alerts.cfg is not 
  documented<br></font><br></div>
  <div></div>
  <div style="font-size: 12pt; font-family: times new roman,new york,times,serif;">
  <div>I struggled with the same thing through a lot of trial and error.  
  On a related note, I highly recommend trying to get away from using a comma 
  separated list as it's a nightmare to maintain.  I'm working toward using 
  the PAGE token, where a list of hosts on a given page alerts a group, so 
  you're effectively grouping your hosts based on the support team 
  responsible.  There will still be exceptions, but if you can generalize 
  alerts so all the hosts on a given page can alert the same way, you'll save 
  time and avoid the possibility of a host not having an alert configured.  
  Just my 2 cents.</div>
  <div> </div>
  <div><br> </div>
  <div style="font-size: 12pt; font-family: times new roman,new york,times,serif;"><br>
  <div style="font-size: 12pt; font-family: times new roman,new york,times,serif;">----- 
  Original Message ----<br>From: SebA <spa@syntec.co.uk><br>To: 
  hobbit@hswn.dk<br>Sent: Wednesday, October 15, 2008 7:43:35 AM<br>Subject: 
  [hobbit] Comma-separated lists of hostnames, etc. in hobbit-alerts.cfg is not 
  documented<br><br>
  <font size="2" face="Arial">Comma-separated lists of hostnames in 
  hobbit-alerts.cfg is not documented, so maybe we could add something like this 
  (taken from  </font><a href="http://hobbitmon.sourceforge.net/docs/man5/hobbit-clients.cfg.5.html" rel="nofollow" target="_blank"><u><font size="2" color="#0000ff" face="Arial">http://hobbitmon.sourceforge.net/docs/man5/hobbit-clients.cfg.5.html</font></u></a><font size="2" face="Arial">) to </font><a href="http://hobbitmon.sourceforge.net/docs/man5/hobbit-alerts.cfg.5.html" rel="nofollow" target="_blank"><u><font size="2" color="#0000ff" face="Arial">http://hobbitmon.sourceforge.net/docs/man5/hobbit-alerts.cfg.5.html</font></u></a><font size="2" face="Arial">:</font><BR>
  <font size="2" face="Courier New">        
  HOST=targetstring Rule matching a host by the hostname.  
  "targetstring"<br>        is either a 
  comma-separated list of hostnames (from the bb-hosts 
  file),<br>        "*"  to  
  indicate "all hosts", or a Perl-compatible regular 
  expression.<br>        E.g.  
  "HOST=dns.foo.com,</font><a href="http://www.foo.com/" rel="nofollow" target="_blank"><u><font size="2" color="#0000ff" face="Courier New">www.foo.com</font></u></a><font size="2" face="Courier New">"  
  identifies  two  specific  
  hosts;<br>        "HOST=%www.*.<a href="http://foo.com/" target="_blank">foo.com</a>  
  EXHOST=www-test.foo.com" matches all hosts with 
  a<br>        name beginning with "www", 
  except the "www-test" host.</font> <BR>
  <font size="2" face="Arial">Adding an example that used the comma-separated 
  syntax to </font><a href="http://hobbitmon.sourceforge.net/docs/hobbit-alerts.html" rel="nofollow" target="_blank"><u><font size="2" color="#0000ff" face="Arial">http://hobbitmon.sourceforge.net/docs/hobbit-alerts.html</font></u></a><font size="2" face="Arial"> and hobbit-alerts.cfg (sample) files would also be 
  good.</font><BR>
  <font size="2" face="Arial">And, actually, maybe something to say that the 
  comma-separated syntax can be used in all XXX= places (except, presumably, 
  REPEAT) and also for the recipient.  One really shouldn't have to work 
  this basic stuff out using:</font><BR>
  <font size="2" face="Arial">$</font> <font size="2" face="Courier New">./bin/bbcmd hobbitd_alert --test</font> <br><font size="2" face="Arial">!</font> <br><font size="2" face="Arial">We definitely need some more 
  complex examples.  Maybe someone who has a complex and varied 
  hobbit-alerts.cfg can post some sanitized examples that someone can commit to 
  SVN?</font><BR>
  <font size="2" face="Arial">Many thanks,</font> <BR>
  <font size="2" face="Arial">SebA</font> 
<BR></div></div></div><br></blockquote>
<br /><hr />Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie. <a href='http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008' target='_new'>Learn Now</a></body>
</html>