<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<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=iso-8859-1">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="cid:filelist.xml@01C5771C.60777BC0">
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
</w:WordDocument>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:553679495 -2147483648 8 0 66047 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
{margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
span.EmailStyle18
{mso-style-type:personal;
mso-ansi-font-size:10.0pt;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:black;}
span.EmailStyle19
{mso-style-type:personal-reply;
mso-ansi-font-size:10.0pt;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple style='tab-interval:.5in'>
<div class=Section1>
<p class=MsoNormal><span class=EmailStyle19><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>Thank you
for this information it does look like Nagios did not send out anything (there
is nothing about notification in the event or notification logs). Can you let
me know if I was on the right track with the configuration files below?<o:p></o:p></span></font></span></p>
<p class=MsoNormal><span class=EmailStyle19><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>
<p class=MsoNormal><span class=EmailStyle19><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>Thank You;<o:p></o:p></span></font></span></p>
<p class=MsoNormal><span class=EmailStyle19><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>
<p class=MsoNormal><span class=EmailStyle19><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=black
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;color:black'>-----Original
Message-----<br>
<b><span style='font-weight:bold'>From:</span></b>
nagios-users-admin@lists.sourceforge.net
[mailto:nagios-users-admin@lists.sourceforge.net]<b><span style='font-weight:
bold'>On Behalf Of </span></b>Blair Bolduc<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, June 22, 2005
10:43 AM<br>
<b><span style='font-weight:bold'>To:</span></b> Nagios (E-mail)<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [Nagios-users] E-Mail
Notifications Help</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=black
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;color:black'>1)
Check the eventlog or notifications log on nagios webpage and see if
nagios is attempting to send the email. If you have entries for the
notifications in the log your problem is not nagios. If you don't, then your
config somewhere is preventing nagios from sending the email. You'll just have
to pick through your cfg files to see where the problem is. </span></font><font
color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'> </span></font><font
color=black><span style='color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 color=black
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;color:black'>Blair. </span></font><font
size=2 color=black face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
color:black;mso-color-alt:windowtext'><o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:1.0in'><span class=EmailStyle18><font
size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'>Even though I will probably get a lot of flack from
some I would like to attempt to get assistance with this issue that I am
having. <o:p></o:p></span></font></span></p>
<p class=MsoNormal style='margin-left:1.0in'><span class=EmailStyle18><font
size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'> <o:p></o:p></span></font></span></p>
<p class=MsoNormal style='margin-left:1.0in'><span class=EmailStyle18><font
size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'>I am having issues with the Nagios notifications
being sent out.<o:p></o:p></span></font></span></p>
<p class=MsoNormal style='margin-left:1.5in;text-indent:-.25in;tab-stops:list .5in'><span
class=EmailStyle18><font size=2 color=black face=Arial><span style='font-size:
10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>1)</span></font></span><span
class=EmailStyle18><font size=1 color=black><span style='font-size:7.0pt;
mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman"'> </span></font></span><span
class=EmailStyle18><font size=2 color=black face=Arial><span style='font-size:
10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>If I goto the command
prompt and type out /bin/mail –s “subject” <a href="mailto:myname@mydomain.com">myname@mydomain.com</a>
<.usr/loca/nagios/libexec/temp.txt I get the email no problem<o:p></o:p></span></font></span></p>
<p class=MsoNormal style='margin-left:1.5in;text-indent:-.25in;tab-stops:list .5in'><span
class=EmailStyle18><font size=2 color=black face=Arial><span style='font-size:
10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>2)</span></font></span><span
class=EmailStyle18><font size=1 color=black><span style='font-size:7.0pt;
mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman"'> </span></font></span><span
class=EmailStyle18><font size=2 color=black face=Arial><span style='font-size:
10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>If I put the same command
in misccommands.cfg within notify-by-email I and then disable a monitored
service on purpose to put in the alert stage I get nothing.<o:p></o:p></span></font></span></p>
<p class=MsoNormal style='margin-left:1.5in;text-indent:-.25in;tab-stops:list .5in'><span
class=EmailStyle18><font size=2 color=black face=Arial><span style='font-size:
10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>3)</span></font></span><span
class=EmailStyle18><font size=1 color=black><span style='font-size:7.0pt;
mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman"'> </span></font></span><span
class=EmailStyle18><font size=2 color=black face=Arial><span style='font-size:
10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>I also put the same command
in the host-notify-by-email just in case.<o:p></o:p></span></font></span></p>
<p class=MsoNormal style='margin-left:1.5in;text-indent:-.25in;tab-stops:list .5in'><span
class=EmailStyle18><font size=2 color=black face=Arial><span style='font-size:
10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>4)</span></font></span><span
class=EmailStyle18><font size=1 color=black><span style='font-size:7.0pt;
mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman"'> </span></font></span><span
class=EmailStyle18><font size=2 color=black face=Arial><span style='font-size:
10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>In Services.cfg I have
notifications_enabled = 1 notification_options=w,u,c,r and contact groups
pointing at admins which is defined in contactgroups.cfg then points to
contacts.cfg. <o:p></o:p></span></font></span></p>
<p class=MsoNormal style='margin-left:1.5in;text-indent:-.25in;tab-stops:list .5in'><span
class=EmailStyle18><font size=2 color=black face=Arial><span style='font-size:
10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>5)</span></font></span><span
class=EmailStyle18><font size=1 color=black><span style='font-size:7.0pt;
mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman"'> </span></font></span><span
class=EmailStyle18><font size=2 color=black face=Arial><span style='font-size:
10.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>In hosts.cfg I have
notifications enabled and also using the admins group to contact.<o:p></o:p></span></font></span></p>
<p class=MsoNormal style='margin-left:1.0in'><span class=EmailStyle18><font
size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'> <o:p></o:p></span></font></span></p>
<p class=MsoNormal style='margin-left:1.0in'><span class=EmailStyle18><font
size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'>Again when I send an email from the command line it
works but when I attempt to get a notification using the misccommands.cfg I get
nothing..<o:p></o:p></span></font></span></p>
<p class=MsoNormal style='margin-left:1.0in'><span class=EmailStyle18><font
size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'> <o:p></o:p></span></font></span></p>
<p class=MsoNormal style='margin-left:1.0in'><span class=EmailStyle18><font
size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'>Any assistance would be appreciated.<o:p></o:p></span></font></span></p>
<p class=MsoNormal style='margin-left:1.0in'><span class=EmailStyle18><font
size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'> <o:p></o:p></span></font></span></p>
<p class=MsoNormal style='margin-left:1.0in'><span class=EmailStyle18><font
size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'>Thank You;<o:p></o:p></span></font></span></p>
<p class=MsoNormal style='margin-left:1.0in'><span class=EmailStyle18><font
size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:
12.0pt;font-family:Arial'><span style="mso-spacerun: yes"> </span><o:p></o:p></span></font></span></p>
</div>
</body>
</html>