Xymon Mailing List Archive search

Alert exclusions and Boolean processing

list David Boldt
Thu, 22 Sep 2016 17:43:53 -0400
Message-Id: <CAC_ry0YHVSp0bewOz_OX8NYcErpBD8uozGvAPKT_A9Y=user-1dba9c25dac9@xymon.invalid>

Scot,

I figured there must be some way of doing this,
thanks for your help, this appears to be doing what I want.


On Thu, Sep 22, 2016 at 8:41 AM, Scot Kreienkamp <
user-9678697f1438@xymon.invalid> wrote:
I think this is what you’re looking for, it’s from the help page on my
xymon server.  The help pages can be accessed from the menus at the top of
the xymon web pages on your server as well as xymon.com.


There are rules ... and exceptions: IGNORE


A common scenario is where you handle most of the alerts with a wildcard
rule, but there is just that one exception where you don't want any cpu
alerts from the marketing server on Thursday afternoon. Then it is time for
the IGNORE recipient:

               HOST=* COLOR=red

                              IGNORE HOST=marketing.foo.com SERVICE=cpu
TIME=4:1500:1800

                              MAIL user-ef86c43926b6@xymon.invalid


*From:* Xymon [mailto:xymon-bounces at xymon.com] *On Behalf Of *Boldt, David
*Sent:* Wednesday, September 21, 2016 5:54 PM
*To:* xymon at xymon.com
*Subject:* [Xymon] Alert exclusions and Boolean processing


I have a display group where I would like to ignore alerts for a specific
test on a specific host.


It appears that the following definition


DISPLAYGROUP=%My\sGroup EXHOST=myhostname EXSERVICE=mytest COLOR=red


excludes all of the tests run on "myhostname" as well as all of the
"mytest" tests run

on the other hosts in that group.


How do I arrange for these test exclusions to be logical ANDs?


--

                                         -- David Boldt
                                            <user-945c7be1b8e4@xymon.invalid>


  "It has been said that democracy is the worst form of government
    except all the others that have been tried."

    --Sir Winston Churchill (1874 - 1965)


*Scot Kreienkamp  | Senior Systems Engineer | La-Z-Boy Corporate*
One La-Z-Boy Drive | Monroe, Michigan 48162 | Office: XXX-XXX-XXXX | |
Mobile: XXXXXXXXXX | Email: user-9678697f1438@xymon.invalid

This message is intended only for the individual or entity to which it is
addressed.  It may contain privileged, confidential information which is
exempt from disclosure under applicable laws.  If you are not the intended
recipient, you are strictly prohibited from disseminating or distributing
this information (other than to the intended recipient) or copying this
information.  If you have received this communication in error, please
notify us immediately by e-mail or by telephone at the above number.
Thank you.
-- 
                                         -- David Boldt
                                            <user-945c7be1b8e4@xymon.invalid>


  "It has been said that democracy is the worst form of government
    except all the others that have been tried."
    --Sir Winston Churchill (1874 - 1965)