<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
code
{font-family:"Courier New";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hi,<br>
I have been using Nagios 2.x for almost 2 years now and I have been very happy
with its performance. Recently I decided to upgrade to version 3 but when I did
Nagios stopped sending out notifications. I figured that I had some bugs in my
configuration so I rebuilt the whole thing one object at a time using the
Nagios 3 documentation. When I had completed that Nagios still did not send out
down notices and I don't know what to do other than revert back to version 2.<br>
<br>
When I go to the Host detail page for a server it says that notifications are
enabled. I know my email command works because I can send custom notifications
just fine. The system correctly displays a server going down and then up
(nagios.log records this as well) but no notifications are sent. I have
doublechecked both my contact and host objects and I can't find anything wrong.
Notifications are enabled in nagios.cfg. Is there anywhere else I should be
looking? Any help you could offer would be greatly appreciated.<br>
<br>
Here is my contact object:<o:p></o:p></span></font></p>
<p class=MsoNormal><code><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black'>define contact{ </span></font></code><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:black'><br>
<code><font face="Courier New"> contact_name office
</font></code><br>
<code><font face="Courier New"> alias office
</font></code><br>
<code><font face="Courier New"> host_notifications_enabled 1
</font></code><br>
<code><font face="Courier New"> service_notifications_enabled 1
</font></code><br>
<code><font face="Courier New"> host_notification_period 24x7
</font></code><br>
<code><font face="Courier New"> service_notification_period 24x7
</font></code><br>
<code><font face="Courier New"> host_notification_options d,u,r
</font></code><br>
<code><font face="Courier New"> service_notification_options u,c,r
</font></code><br>
<code><font face="Courier New"> host_notification_commands host-notify-by-email
</font></code><br>
<code><font face="Courier New"> service_notification_commands notify-by-email
</font></code><br>
<code><font face="Courier New"> email myemail@mycompany.com
</font></code><br>
<code><font face="Courier New"> }</font></code></span></font><code><font
size=2 face="Courier New"><span style='font-size:10.0pt'> </span></font></code><o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br>
<br>
And here is the host object (slightly edited):<o:p></o:p></span></font></p>
<p class=MsoNormal><code><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;color:black'>define host{ </span></font></code><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:black'><br>
<code><font face="Courier New"> host_name server
</font></code><br>
<code><font face="Courier New"> alias Server
</font></code><br>
<code><font face="Courier New"> address 123.123.123.123
</font></code><br>
<code><font face="Courier New"> parents parent_host
</font></code><br>
<code><font face="Courier New"> check_command check-host-alive
</font></code><br>
<code><font face="Courier New"> max_check_attempts 10
</font></code><br>
<code><font face="Courier New"> check_period 24x7
</font></code><br>
<code><font face="Courier New"> notification_interval 10
</font></code><br>
<code><font face="Courier New"> notification_period 24x7
</font></code><br>
<code><font face="Courier New"> notification_options d,u,r
</font></code><br>
<code><font face="Courier New"> contact_groups office_group
</font></code><br>
<code><font face="Courier New"> icon_image tux.png
</font></code><br>
<code><font face="Courier New"> icon_image_alt Linux
</font></code><br>
<code><font face="Courier New"> vrml_image tux.png
</font></code><br>
<code><font face="Courier New"> statusmap_image tux.gd2
</font></code><br>
<code><font face="Courier New"> }</font></code></span></font><code><font
size=2 face="Courier New"><span style='font-size:10.0pt'> </span></font></code><o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br>
Naturally the contact I provided is in the 'office_group' contact_group.<br>
<br>
Thanks in advance.</span></font><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>--Justin Brown</span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>eSolutions</span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>justin@esolutions.net</span></font><o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>