<HTML>
<HEAD>
<TITLE>Re: [Nagios-users] Email when Warning and Page when critical</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana">    Just remove the “w” from the notification_options directive in all the page_group users.  If you’re using the same contact definitions for each group, you’ll need to set up alternate user definitions which will be exclusive to the pagers.  It’s a little iffy, but it should work just fine.<BR>
<BR>
CK<BR>
<BR>
On 6/19/03 3:02 AM, "Barry Darnton" <BarryD@chw.edu.au> wrote:<BR>
<BR>
</FONT><BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Arial">I have been running netsaint/nagios for around 12 months now and have had very little problems with it. Now I want to change the way that it works and I am sure that I had it running when I first installed it but for the life of me I cannot remember how now (If I ever had it working that is)<BR>
</FONT></FONT><FONT FACE="Verdana"><BR>
</FONT><FONT SIZE="2"><FONT FACE="Arial">We can notify either by email using "notify_by_email" or pager by using "page_group" in the servie and host notification commands.<BR>
</FONT></FONT><FONT FACE="Verdana"><BR>
</FONT><FONT SIZE="2"><FONT FACE="Arial">Both of these are working without any problem, however what I am trying to do is configure the system to E-mail warnings and page critical events. I can configure it to do either or both for any given service or host but I am not able to figure out how to do one or the other based on the status of the service.<BR>
</FONT></FONT><FONT FACE="Verdana"><BR>
</FONT><FONT SIZE="2"><FONT FACE="Arial">For example if I have 20G of disk space available on a system it returns a status of Warning and notifies me by Email, if the disk space get down to 10 meg I want the status to be Critical and to be paged. The mailing, paging, warning and critical status I can do, but not different notifications based on this status.<BR>
</FONT></FONT><FONT FACE="Verdana"><BR>
</FONT><FONT SIZE="2"><FONT FACE="Arial">Anyone got the answer to this.</FONT></FONT><FONT FACE="Verdana"> <BR>
<BR>
<BR>
</FONT><FONT SIZE="2"><FONT FACE="Arial">Barry</FONT></FONT><FONT FACE="Verdana"> <BR>
</FONT><FONT SIZE="2"><FONT FACE="Arial"> <BR>
</FONT></FONT><FONT FACE="Verdana"><BR>
</FONT></BLOCKQUOTE><FONT FACE="Verdana"><BR>
</FONT>
</BODY>
</HTML>