[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xymon] hobbit-alerts.cfg and where's the needle
- To: xymon (at) xymon.com
- Subject: Re: [xymon] hobbit-alerts.cfg and where's the needle
- From: Steve Holmes <sholmes42 (at) mac.com>
- Date: Tue, 4 Jan 2011 10:06:21 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=Naso5SXC0bfN29p5aZnDWHx+SAd0BunPqeWvxdDXZ68=; b=AVLXDNeWSwK9or/CHKXubTL/WZLfgSIQIZup21YIKQrlarAnsGk4nEbECPnN8xMLn3 qv6ALdhkmhLXxQoYR4g9+8DnnqRi9n3QmlOOWOcuc3/ouQAi4PaiOEf6Bd9M2/OGoKdn X4Vnjzu89xZZgibG+M9EAlDZsmvfalSqXjC+8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; b=xQySU/M86Z4X1PslPjwTMFSEh5CywiSEuyzrhwA612OHRVWwh0zuYuJLhS8YsgdECA QTNx2YvMe8sGTcP+qyW8cdY3/U1mZZ0itlLigSmtO+P6MVdvaNskzAs2rB1+Dl2P8MYG W09Bj9J/zBdXq4mnB62TGnsut1NfnE4ON9HNo=
- References: <AANLkTik1tq+hv4XssqnjA+jOA2ehPAPFKMCxVuWMTzHu (at) mail.gmail.com> <110104.095145.EST.URMM (at) vm.marist.edu>
Thanks to Rob and Martha. Who would have thought that 'fprnts' would match
'PRNT' ? Changing 'PRNT' in the regex to '^PRNT' fixed the problem. I may
anchor all of the expressions that way to prevent future similar problems.
Thanks again,
Steve
On Tue, Jan 4, 2011 at 9:45 AM, Martha McConaghy <URMM (at) vm.marist.edu> wrote:
> Steve,
>
> It sounds like you want the bbcmd to test the alerts file. Its documented
> in http:/.../xymon/help/hobbit-alerts.html. It allows you to do a test
> run through your hobbit-alerts.cfg file and find all the places that might
> trigger an alert based on given criteria such as the hostname and test
> (i.e. cpu, disk, etc.). It can also test yellow alerts as well as red.
> The hobbitd_alert man page also contains more detailed information.
>
> ./bin/bbcmd hobbitd_alert --test osiris.hswn.dk cpu
>
>
> I have found this to be invaluable as our alerts file has grown. Hope
> it helps.
>
> Martha McConaghy
> Marist College
>
>
>
> On Mon, 3 Jan 2011 16:39:20 -0500 Steve Holmes said:
> >Is there any way to find out exactly where a recipient is being picked up
> to
> >be alerted for a specific host?
> >I.e. (on Xymon 4.2.3) I have 2 recipients for all tests on a pair of hosts
> >and there should be only one. They are windows application servers and
> both
> >the app admins and unix admins are getting the alerts. The info pages for
> >both hosts on that page show both groups as recipients. I've scoured the
> >hobbit-alerts.cfg file and I can NOT see any way the unix admin group
> should
> >be included as a recipient for either of the hosts on the page in
> question,
> >nor for either of the individual hosts.
> >
> >What I'm looking for is a tool that will read the hobbit-alerts.cfg file
> and
> >take args like a host name and recipient, and return an explanation of how
> >the results are compiled, in particular, which config line or lines would
> >result in a specific recipient being included. I know this is highly
> >unlikely to exist, but I thought I'd ask anyway.
> >
> >Thanks!
> >Steve
> >Purdue University/ITSO
> >
>
> To unsubscribe from the xymon list, send an e-mail to
> xymon-unsubscribe (at) xymon.com
>
>
>
--
The test of a democracy is not the magnificence of buildings or the speed of
automobiles or the efficiency of air transportation, but rather the care
given to the welfare of all the people. -Helen Adams Keller, lecturer and
author (1880-1968)
Truth never damages a cause that is just. -Mohandas Karamchand Gandhi
(1869-1948)