bb-hosts:group, hobbit-alerts:GROUP, bb-hosts:CLASS questions
SebA
spa at syntec.co.uk
Mon Feb 14 16:41:37 CET 2011
Hi,
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
(analysis.cfg) setting.) e.g.
myIP myHost # ftp[:port[:s]][@ipaddress][=GROUP]
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...
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.)
Kind regards,
SebA
-----Original Message-----
http://www.xymon.com/archive/2007/06/msg00074.html
bb-hosts:group, hobbit-alerts:GROUP, bb-hosts:CLASS questions
_____
* Subject: bb-hosts:group, hobbit-alerts:GROUP, bb-hosts:CLASS
questions
* From: Charles Jones <jonescr (at) cisco.com>
* Date: Mon, 04 Jun 2007 14:10:14 -0700
* Organization: Cisco Systems
_____
I've been using HTML in the group titles in my bb-hosts, to spruce up the
look of the hobbit page. Example:
group-except files <font color="#33ebf4"><strong><i>Internal
Servers</strong></i></font>
Now I've come to a situation where I may want to create a paging alias that
is tied to a particular group. My first question is, will I have to use the
same HTML-ized name in hobbit-alerts.cfg as I did in bb-hosts? In other
words:
GROUP=<font color="#33ebf4"><strong><i>Internal Servers</strong></i></font>
MAIL someone (at) somwhwhere.com
My second question is, why is there no option to define alerts by CLASS
(bb-hosts has a CLASS:Classname option)? This would allow more granular
alert definitions as you could have a class of clients that are in multiple
groups that you would want to have a specific alert for.
Thanks,
-Charles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20110214/8c25476f/attachment.html>
More information about the Xymon
mailing list