<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Correction , you can not specify an email address in the service
def.<br>
<br>
you will need to create a contact and then define the contact in the
server :<br>
<br>
contacts foo<br>
<br>
or if he is part of a group <br>
<br>
contact_group Faa<br>
<br>
but you specify the service notifications as <br>
<br>
notification_options w,c <br>
<br>
and in the contact definition you say which statuses it will alert
on .<br>
<br>
On 30/07/12 13:22, vishesh kumar wrote:
<blockquote
cite="mid:CAKpaJ1xzmEUgvjU8NVAyE_azFDoQur6=LRtbe2KTyHhVkBkLTg@mail.gmail.com"
type="cite">No , I think in same service definition , you can
write<br>
<br>
notification_options w<br>
contact_group <a moz-do-not-send="true"
href="mailto:user1@foo.com" target="_blank">user1@foo.com</a><br>
notification_options c<br>
contact_group <a moz-do-not-send="true"
href="mailto:user1@foo.com" target="_blank">user2@foo.com</a><br>
<br>
Thanks<br>
<br>
<br>
<div class="gmail_quote">On Mon, Jul 30, 2012 at 2:50 PM, Ruslan
Valiyev <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:linuxoid@gmail.com" target="_blank">linuxoid@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
Does it mean I have to create two different service templates
and specify my emails there?
<div class="HOEnZb">
<div class="h5">
<div><br>
<br>
<div class="gmail_quote">On Mon, Jul 30, 2012 at 11:13
AM, Assaf Flatto <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:nagios@flatto.net" target="_blank">nagios@flatto.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt
0pt 0.8ex; border-left: 1px solid rgb(204, 204,
204); padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000"> Yes , you can
use two different contacts , one that has only
warning , and the other only for critical .
<div>
<div><br>
<br>
<br>
<br>
On 30/07/12 09:54, Ruslan Valiyev wrote: </div>
</div>
<blockquote type="cite">
<div>
<div>Hi,
<div><br>
</div>
<div>I was wondering if it's possible to
achieve something a la:</div>
<div><br>
</div>
<div>- when CPU alerts are warning, they
should go to <a moz-do-not-send="true"
href="mailto:user1@foo.com"
target="_blank">user1@foo.com</a></div>
<div>- when CPU alerts are critical, they
should go to <a moz-do-not-send="true"
href="mailto:user2@foo.com"
target="_blank">user2@foo.com</a></div>
<div><br>
</div>
<div><br>
</div>
<div>Ruslan</div>
</div>
</div>
<pre><fieldset></fieldset>
------------------------------------------------------------------------------
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. <a moz-do-not-send="true" href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a></pre>
<pre><fieldset></fieldset>
_______________________________________________
Nagios-users mailing list
<a moz-do-not-send="true" href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a>
<a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null</pre>
</blockquote>
<br>
</div>
<br>
------------------------------------------------------------------------------<br>
Live Security Virtual Conference<br>
Exclusive live event will cover all the ways today's
security and<br>
threat landscape has changed and how IT managers can
respond. Discussions<br>
will include endpoint security, mobile security and
the latest in malware<br>
threats. <a moz-do-not-send="true"
href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/"
target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Nagios-users@lists.sourceforge.net"
target="_blank">Nagios-users@lists.sourceforge.net</a><br>
<a moz-do-not-send="true"
href="https://lists.sourceforge.net/lists/listinfo/nagios-users"
target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version
(-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being
sent to /dev/null<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<br>
------------------------------------------------------------------------------<br>
Live Security Virtual Conference<br>
Exclusive live event will cover all the ways today's security
and<br>
threat landscape has changed and how IT managers can respond.
Discussions<br>
will include endpoint security, mobile security and the latest
in malware<br>
threats. <a moz-do-not-send="true"
href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/"
target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a moz-do-not-send="true"
href="https://lists.sourceforge.net/lists/listinfo/nagios-users"
target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS
when reporting any issue.<br>
::: Messages without supporting info will risk being sent to
/dev/null<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<a moz-do-not-send="true" href="http://linuxmantra.com">http://linuxmantra.com</a><br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
------------------------------------------------------------------------------
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. <a class="moz-txt-link-freetext" href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a></pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null</pre>
</blockquote>
<br>
</body>
</html>