[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 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@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

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 
mailto:us...@foo.com
- when CPU alerts are critical, they should go to us...@foo.com 
mailto:us...@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@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@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

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 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
 - when CPU alerts are critical, they should go to us...@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 
 listNagios-users@lists.sourceforge.nethttps://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@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@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

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 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 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
 - when CPU alerts are critical, they should go to us...@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 
 listNagios-users@lists.sourceforge.nethttps://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@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@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@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

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 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 us...@foo.com mailto:us...@foo.com
notification_options c
contact_group us...@foo.com mailto:us...@foo.com

Thanks


On Mon, Jul 30, 2012 at 2:50 PM, Ruslan Valiyev linux...@gmail.com 
mailto:linux...@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 nag...@flatto.net
mailto: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 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 mailto:us...@foo.com
- when CPU alerts are critical, they should go to
us...@foo.com mailto:us...@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@lists.sourceforge.net  
mailto:Nagios-users@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@lists.sourceforge.net
mailto:Nagios-users@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@lists.sourceforge.net
mailto:Nagios-users@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@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. 

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 
service_notification_options directive in the contact definition.  You 
just make two contact definitions with different notification options.

Where I work the system administrators receive warning, critical, and 
recovery notifications via e-mail.  Each of those guys has a separate 
contact defined for his pager, which is set to receive only critical and 
recovery.

Also, you may want to check out service escalations as a flexible way of 
adding more recipients to a notification.  If the system administrators 
here sleep through the first two notifications, their manager will start 
receiving them as well!

-- 
-Chris

Nothing in this message is intended to make or accept an offer or to form a 
contract, except that an attachment that is an image of a contract bearing the 
signature of an officer of our company may be or become a contract. This 
message (including any attachments) is intended only for the use of the 
individual or entity to whom it is addressed. It may contain information that 
is non-public, proprietary, privileged, confidential, and exempt from 
disclosure under applicable law or may constitute as attorney work product. If 
you are not the intended recipient, we hereby notify you that any use, 
dissemination, distribution, or copying of this message is strictly prohibited. 
If you have received this message in error, please notify us immediately by 
telephone and delete this message immediately.

Thank you.


--
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@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