<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.17093" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN 
class=338241515-14022011> Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=338241515-14022011>I was looking for a 
way of sending alerts based on bb-hosts:group and could not find a way.  Is 
there no way of doing this?  The nearest thing I could find was this e-mail 
below (which implies it is possible, but my debug tests suggest it does not 
work), but I could not find a follow-up to this e-mail.  Alerts based on 
bb-hosts group and CLASS seem like a good idea...  Or a way of designating 
network tests as belonging to a certain GROUP.  (Lower-case "group" refers 
to the existing directive in bb-hosts (hosts.cfg), while upper-case GROUP 
refers to the hobbit-alerts (alerts.cfg) and hobbit-clients (<FONT 
face="Times New Roman" size=3>analysis.cfg) </FONT>setting.)  
e.g.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=338241515-14022011>myIP    myHost    # 
ftp[:port[:s]][@ipaddress][=GROUP]</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=338241515-14022011>To be honest, I 
think either alerting by CLASS or bb-hosts:group would suffice, or in 
this particular case, I could move these hosts to their own page because there 
are a fair number.  But I have other smaller groups/classes where their own 
page would be overkill...</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=338241515-14022011></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=338241515-14022011>Anyway, I'm looking 
for a good way to set-up alerts for network-tests on particular classes of 
servers...  Is my best bet just to create a macro in alerts.cfg with all 
the hostnames I need?  (And to remember to update it.)</SPAN></FONT></DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=en-gb><FONT face=Arial size=2>Kind regards,</FONT></SPAN> </P>
<P><SPAN lang=en-gb><SPAN class=338241515-14022011></SPAN></SPAN><FONT 
face=Arial><FONT size=2>S<SPAN 
class=338241515-14022011>ebA</SPAN></FONT></FONT><BR><SPAN lang=en-gb><FONT 
face=Arial color=#808080 size=2> </FONT></SPAN> <BR></P><PRE>-----Original Message-----<BR><A href="http://www.xymon.com/archive/2007/06/msg00074.html">http://www.xymon.com/archive/2007/06/msg00074.html</A>
<STRONG><FONT size=4>bb-hosts:group, hobbit-alerts:GROUP, bb-hosts:CLASS questions</FONT></STRONG></PRE><PRE><HR><!--X-Subject-Header-End--><!--X-Head-of-Message--><UL><LI><EM>Subject</EM>: bb-hosts:group, hobbit-alerts:GROUP, bb-hosts:CLASS questions</LI><LI><EM>From</EM>: Charles Jones <jonescr (at) cisco.com></LI><LI><EM>Date</EM>: Mon, 04 Jun 2007 14:10:14 -0700</LI><LI><EM>Organization</EM>: Cisco Systems</LI></UL><HR><!--X-Head-Body-Sep-End--><!--X-Body-of-Message--><TT>I've been using HTML in the group titles in my bb-hosts, to spruce up </TT><TT>the look of the hobbit page. Example: </TT><PRE style="MARGIN: 0em"></PRE><TT>group-except files <font color="#33ebf4"><strong><i>Internal </TT><TT>Servers</strong></i></font> </TT><PRE style="MARGIN: 0em"></PRE><TT>Now I've come to a situation where I may want to create a paging alias </TT><TT>that is tied to a particular group. My first question is, will I have to </TT><TT>use the same HTML-ized name in hobbit-alerts.cfg as I did in bb-hosts? </TT><TT>In other words: </TT><PRE style="MARGIN: 0em">GROUP=<font color="#33ebf4"><strong><i>Internal Servers</strong></i></font>
    MAIL someone (at) somwhwhere.com

</PRE><TT>My second question is, why is there no option to define alerts by CLASS </TT><TT>(bb-hosts has a CLASS:Classname option)? This would allow more granular </TT><TT>alert definitions as you could have a class of clients that are in </TT><TT>multiple groups that you would want to have a specific alert for. </TT><PRE style="MARGIN: 0em">Thanks,
-Charles
</PRE></PRE></BODY></HTML>