notification based on group

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

notification based on group

Holder, Bill
Hi all,
 
    is it possible to decide a notification path based on a group? For example we want to be alerted via sms about windows server outages (they belong to the server, windows and <location> categories. But we want to be alerted via jabber or email about servers that are at special sites (they belong to the same groups *plus* the silent group).
 
   I know I can set up seperate event notifications, but I just wanted to check if there was a way to do it as part of deciding the notification path.
 
/B

***********************************************************************
The information in this e-mail together with any attachments is
intended only for the person or entity to which it is addressed
and may contain confidential and/or privileged material.
Any form of review, disclosure, modification, distribution
and/or publication of this e-mail message is prohibited.
If you have received this message in error, you are asked to
inform the sender as quickly as possible and delete this message
and any copies of this message from your computer and/or your
computer system network.
Any attachments should be checked for viruses by you, before being opened. SunWater accepts no responsibility for an attachment that contains a virus.
***********************************************************************

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|

Re: notification based on group

Alexander Finger
Bill,
you can use the "catinc$CATEGORY" to filter in your event
notification. You'd need to create different Notifications though (one
has one filter).

best
Alex

On Wed, Sep 10, 2008 at 12:30 PM, Holder, Bill
<[hidden email]> wrote:

> Hi all,
>
>     is it possible to decide a notification path based on a group? For
> example we want to be alerted via sms about windows server outages (they
> belong to the server, windows and <location> categories. But we want to be
> alerted via jabber or email about servers that are at special sites (they
> belong to the same groups *plus* the silent group).
>
>    I know I can set up seperate event notifications, but I just wanted to
> check if there was a way to do it as part of deciding the notification path.
>
> /B
> ***********************************************************************
> The information in this e-mail together with any attachments is
> intended only for the person or entity to which it is addressed
> and may contain confidential and/or privileged material.
> Any form of review, disclosure, modification, distribution
> and/or publication of this e-mail message is prohibited.
> If you have received this message in error, you are asked to
> inform the sender as quickly as possible and delete this message
> and any copies of this message from your computer and/or your
> computer system network.
> Any attachments should be checked for viruses by you, before being opened.
> SunWater accepts no responsibility for an attachment that contains a virus.
> ***********************************************************************
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://www.opennms.org/index.php/Mailing_List_FAQ
>
> opennms-discuss mailing list
>
> To *unsubscribe* or change your subscription options, see the bottom of this
> page:
> https://lists.sourceforge.net/lists/listinfo/opennms-discuss
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|

Re: notification based on group

Alexander Finger
When configuring an event notification you can set a filter for the
event. You first select the event, then you can configure the filters.
Filtering is possible on services and you have a line with an IP
Filter. In that line you can add a filter for the surveillance
categories.

Let's say you have put all your production nodes in a surveillance
category "Production", then you'd put:

(IPADDR != '0.0.0.0') & (catincProduction)

Probably it would work without the brackets but I think it's clearer with ;)

Now if you have two Groups of People  ("Admins Datacenter North",
"Admins Datacenter South") you can create two notifications for the
same event, one with a

catincDatacenterNorth

and the other with

catincDatacenterSouth .

Assuming you have maintained those categories, of course.

While you theoretically could use white spaces in group (for users)
and category (for host) names, I recommend not to do it, there are
cases in which the whitespace will lead opennms to assume that you've
finished what you wanted to say.

cheers
Alex


On Wed, Sep 10, 2008 at 10:36 PM,  <[hidden email]> wrote:

> Can you tell me in wich files to do that. I need to do that also.
>
> Tanis Patrick
>
>> Bill,
>> you can use the "catinc$CATEGORY" to filter in your event
>> notification. You'd need to create different Notifications though (one
>> has one filter).
>>
>> best
>> Alex
>>
>> On Wed, Sep 10, 2008 at 12:30 PM, Holder, Bill
>> <[hidden email]> wrote:
>>> Hi all,
>>>
>>>     is it possible to decide a notification path based on a group? For
>>> example we want to be alerted via sms about windows server outages (they
>>> belong to the server, windows and <location> categories. But we want to
>>> be
>>> alerted via jabber or email about servers that are at special sites
>>> (they
>>> belong to the same groups *plus* the silent group).
>>>
>>>    I know I can set up seperate event notifications, but I just wanted
>>> to
>>> check if there was a way to do it as part of deciding the notification
>>> path.
>>>
>>> /B
>>> ***********************************************************************
>>> The information in this e-mail together with any attachments is
>>> intended only for the person or entity to which it is addressed
>>> and may contain confidential and/or privileged material.
>>> Any form of review, disclosure, modification, distribution
>>> and/or publication of this e-mail message is prohibited.
>>> If you have received this message in error, you are asked to
>>> inform the sender as quickly as possible and delete this message
>>> and any copies of this message from your computer and/or your
>>> computer system network.
>>> Any attachments should be checked for viruses by you, before being
>>> opened.
>>> SunWater accepts no responsibility for an attachment that contains a
>>> virus.
>>> ***********************************************************************
>>>
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>> world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> Please read the OpenNMS Mailing List FAQ:
>>> http://www.opennms.org/index.php/Mailing_List_FAQ
>>>
>>> opennms-discuss mailing list
>>>
>>> To *unsubscribe* or change your subscription options, see the bottom of
>>> this
>>> page:
>>> https://lists.sourceforge.net/lists/listinfo/opennms-discuss
>>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Please read the OpenNMS Mailing List FAQ:
>> http://www.opennms.org/index.php/Mailing_List_FAQ
>>
>> opennms-discuss mailing list
>>
>> To *unsubscribe* or change your subscription options, see the bottom of
>> this page:
>> https://lists.sourceforge.net/lists/listinfo/opennms-discuss
>>
>
>
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|

Re: notification based on group

Alexander Finger
> Now if you have two Groups of People  ("Admins Datacenter North",
> "Admins Datacenter South") you can create two notifications for the
> same event, one with a

..

> While you theoretically could use white spaces in group (for users)
> and category (for host) names, I recommend not to do it, there are
> cases in which the whitespace will lead opennms to assume that you've
> finished what you wanted to say.

I don't follow my own rules. The groups should be named
Admins_Datacenter_North or AdminsDatacenterNorth .

;-)

cheers
Alex

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Reply | Threaded
Open this post in threaded view
|

Re: notification based on group

Phil Stringer
In reply to this post by Alexander Finger
Alexander Finger wrote:

>
> Now if you have two Groups of People  ("Admins Datacenter North",
> "Admins Datacenter South") you can create two notifications for the
> same event, one with a
>
> catincDatacenterNorth
>
> and the other with
>
> catincDatacenterSouth .
>
> Assuming you have maintained those categories, of course.
>
> While you theoretically could use white spaces in group (for users)
> and category (for host) names, I recommend not to do it, there are
> cases in which the whitespace will lead opennms to assume that you've
> finished what you wanted to say.
>
> cheers
> Alex

Notifications is definitely one area in which spaces in group names cause things
to fail. I tried it and had to remove them to get it to work. (1.5.90)

        phil
--
  Phil Stringer, Infrastructure & Operations, Phone +44 161 275 6057
  IT Services Division,                       email [hidden email]
  The University of Manchester                UK Genealogy - http://www.genuki.org.uk/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss