<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META content="MSHTML 5.50.4916.2300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=474243509-25092002><FONT face=Arial color=#0000ff size=2>Hi
Timo,</FONT></SPAN></DIV>
<DIV><SPAN class=474243509-25092002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=474243509-25092002><FONT face=Arial color=#0000ff size=2>you
have set the notification_options of your service to w,u,r
(warning,unknown,recovery). May be you have forgotten c (critical)? Your contact
has notification_options u,c,r. So you can get only notifications for this
service on u (unknown) and r (recovery).</FONT></SPAN></DIV>
<DIV><SPAN class=474243509-25092002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=474243509-25092002><FONT face=Arial color=#0000ff
size=2>-vol</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Timo Koskela
[mailto:timo.koskela@datavahti.fi]<BR><B>Sent:</B> Wednesday, September 25,
2002 9:47 AM<BR><B>To:</B>
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> [Nagios-users] Notifying
by service ins't working?<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Hi all!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm a bit confused why I can't get working that
service notifying. The only reason why I need it are in couple of
cases which are in distributed services and I'm going to disable host
notification in those hosts, but I need to be notified in services then, of
course. My service check look likes this:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>define
service{<BR> host_name
VMG-ts<BR> service_description
ping<BR> check_command
check-host-alive<BR> max_check_attempts
10<BR> normal_check_interval
5<BR> retry_check_interval
5<BR> check_period
24x7<BR> notification_interval
30<BR> notification_period
24x7<BR> active_checks_enabled
0 <BR> passive_checks_enabled
1 <BR> check_freshness
1 <BR> freshness_threshold
1200<BR> check_command
service-is-stale <BR> notification_options
w,u,r<BR> contact_groups
guard-admin<BR> }</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>and contact group look like this:</FONT></DIV>
<DIV><FONT size=2><FONT face=Arial></FONT></FONT> </DIV>
<DIV><FONT size=2><FONT face=Arial>define
contactgroup{<BR>
contactgroup_name
guard-admin<BR>
alias Own<BR> members
timo,xxx<BR> }</FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Arial></FONT></FONT> </DIV>
<DIV><FONT size=2><FONT face=Arial></FONT></FONT> </DIV>
<DIV><FONT size=2><FONT face=Arial>And contact look like
this:</FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Arial></FONT></FONT> </DIV>
<DIV><FONT size=2><FONT face=Arial>define
contact{<BR> contact_name
timo<BR> alias Timo
Koskela<BR> service_notification_period
24x7<BR> host_notification_period
24x7<BR> service_notification_options
u,c,r<BR> host_notification_options
d,u,r<BR> service_notification_commands
notify-by-email,call.timo<BR> host_notification_commands
host-notify-by-email,call.timo<BR> email
timo@...<BR> }</FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Arial></FONT></FONT> </DIV>
<DIV><FONT size=2><FONT face=Arial>There's something I'm missing but I
really can't figure it out! I hope someone can help me in
this!!</FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Arial></FONT></FONT> </DIV>
<DIV><FONT size=2><FONT face=Arial>Timo
K</FONT></DIV></BLOCKQUOTE></FONT></BODY></HTML>