<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0">
<TITLE>Comma-separated lists of hostnames, etc. in hobbit-alerts.cfg is not documented</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><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"><U><FONT COLOR="#0000FF" SIZE=2 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"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://hobbitmon.sourceforge.net/docs/man5/hobbit-alerts.cfg.5.html</FONT></U></A><FONT SIZE=2 FACE="Arial">:</FONT></P>
<P><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"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Courier New">www.foo.com</FONT></U></A><FONT SIZE=2 FACE="Courier New">" identifies two specific hosts;<BR>
"HOST=%www.*.foo.com EXHOST=www-test.foo.com" matches all hosts with a<BR>
name beginning with "www", except the "www-test" host.</FONT>
</P>
<P><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"><U><FONT COLOR="#0000FF" SIZE=2 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></P>
<P><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></P>
<P><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></P>
<P><FONT SIZE=2 FACE="Arial">Many thanks,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">SebA</FONT>
</P>
</BODY>
</HTML>