[Nagios-users] Differentiate receivers based on alert severity?

2012-07-30 Thread Ruslan Valiyev
Hi, I was wondering if it's possible to achieve something a la: - when CPU alerts are warning, they should go to us...@foo.com - when CPU alerts are critical, they should go to us...@foo.com Ruslan -- Live Security

Re: [Nagios-users] Differentiate receivers based on alert severity?

2012-07-30 Thread Assaf Flatto
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 us...@foo.com

Re: [Nagios-users] Differentiate receivers based on alert severity?

2012-07-30 Thread Ruslan Valiyev
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 nag...@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

Re: [Nagios-users] Differentiate receivers based on alert severity?

2012-07-30 Thread vishesh kumar
No , I think in same service definition , you can write notification_options w contact_group us...@foo.com notification_options c contact_group us...@foo.com us...@foo.com Thanks On Mon, Jul 30, 2012 at 2:50 PM, Ruslan Valiyev linux...@gmail.com wrote: Does it mean I have to create two

Re: [Nagios-users] Differentiate receivers based on alert severity?

2012-07-30 Thread Assaf Flatto
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

Re: [Nagios-users] Differentiate receivers based on alert severity?

2012-07-30 Thread Chris Beattie
On 7/30/2012 5:20 AM, Ruslan Valiyev wrote: Does it mean I have to create two different service templates and specify my emails there? No, you can have just one template for service check if you like. You determine what kinds of notifications a contact can receive with the