Differentiate receivers based on alert severity?
Assaf Flatto
nagios at flatto.net
Mon Jul 30 14:43:58 CEST 2012
Correction , you can not specify an email address in the service def.
you will need to create a contact and then define the contact in the
server :
contacts foo
or if he is part of a group
contact_group Faa
but you specify the service notifications as
notification_options w,c
and in the contact definition you say which statuses it will alert on .
On 30/07/12 13:22, vishesh kumar wrote:
> No , I think in same service definition , you can write
>
> notification_options w
> contact_group user1 at foo.com <mailto:user1 at foo.com>
> notification_options c
> contact_group user2 at foo.com <mailto:user1 at foo.com>
>
> Thanks
>
>
> On Mon, Jul 30, 2012 at 2:50 PM, Ruslan Valiyev <linuxoid at gmail.com
> <mailto:linuxoid at gmail.com>> wrote:
>
> Does it mean I have to create two different service templates and
> specify my emails there?
>
>
> On Mon, Jul 30, 2012 at 11:13 AM, Assaf Flatto <nagios at flatto.net
> <mailto:nagios at flatto.net>> wrote:
>
> Yes , you can use two different contacts , one that has only
> warning , and the other only for critical .
>
>
>
>
> On 30/07/12 09:54, Ruslan Valiyev wrote:
>> Hi,
>>
>> I was wondering if it's possible to achieve something a la:
>>
>> - when CPU alerts are warning, they should go to
>> user1 at foo.com <mailto:user1 at foo.com>
>> - when CPU alerts are critical, they should go to
>> user2 at foo.com <mailto:user2 at foo.com>
>>
>>
>> Ruslan
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>
>>
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at lists.sourceforge.net <mailto:Nagios-users at lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
>> ::: Messages without supporting info will risk being sent to /dev/null
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond.
> Discussions
> will include endpoint security, mobile security and the latest
> in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> <mailto:Nagios-users at lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS
> when reporting any issue.
> ::: Messages without supporting info will risk being sent to
> /dev/null
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond.
> Discussions
> will include endpoint security, mobile security and the latest in
> malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> <mailto:Nagios-users at lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
>
>
>
> --
> http://linuxmantra.com
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120730/899b1617/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list