<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Windows-1252">
<META content=Word.Document name=ProgId>
<META content="MSHTML 6.00.2800.1505" name=GENERATOR>
<META content="Microsoft Word 9" name=Originator><LINK
href="cid:filelist.xml@01C5771C.60777BC0" rel=File-List><!--[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-face {
font-family: Tahoma;
}
@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; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
P.MsoAutoSig {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
LI.MsoAutoSig {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
DIV.MsoAutoSig {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
SPAN.EmailStyle18 {
COLOR: black; 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
}
SPAN.EmailStyle19 {
COLOR: navy; 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
}
DIV.Section1 {
page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US style="tab-interval: .5in" vLink=purple link=blue>
<DIV><SPAN class=377482415-22062005><FONT size=2>Looks to me like it should
work, but that don't mean much.</FONT></SPAN></DIV>
<DIV><SPAN class=377482415-22062005><FONT size=2>Couple initial things to check
- 1) whats your max_check_attempts set to? Is the check reaching that number
before you decide it isn't emailing you.</FONT></SPAN></DIV>
<DIV><SPAN class=377482415-22062005><FONT size=2>2) Is the
service_notification_commands correct in your contacts.cfg definitions? It
should be notify-by-email or whatever it is you called your
command.</FONT></SPAN></DIV>
<DIV><SPAN class=377482415-22062005><FONT size=2>3) Is the notification_period
correct for the contact and service definitions? (use 24x7 until you get things
working)</FONT></SPAN></DIV>
<DIV><SPAN class=377482415-22062005><FONT size=2>4) Shouldn't matter but,
su to nagios on the command line and try sending the email. (assuming your
running nagios under user/group nagios)</FONT></SPAN></DIV>
<DIV><SPAN class=377482415-22062005><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=377482415-22062005><FONT size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Edward Ford
[mailto:eford@nexusenergy.com]<BR><B>Sent:</B> Wednesday, June 22, 2005
10:21<BR><B>To:</B> Bolduc, Blair; Nagios (E-mail)<BR><B>Subject:</B> RE:
[Nagios-users] E-Mail Notifications Help<BR><BR></FONT></DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN class=EmailStyle19><FONT face=Arial color=navy
size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">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 face=Arial color=navy
size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt"><![if !supportEmptyParas]><![endif]> <o:p></o:p></SPAN></FONT></SPAN></P>
<P class=MsoNormal><SPAN class=EmailStyle19><FONT face=Arial color=navy
size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">Thank
You;<o:p></o:p></SPAN></FONT></SPAN></P>
<P class=MsoNormal><SPAN class=EmailStyle19><FONT face=Arial color=navy
size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt"><![if !supportEmptyParas]><![endif]> <o:p></o:p></SPAN></FONT></SPAN></P>
<P class=MsoNormal><SPAN class=EmailStyle19><FONT face=Arial color=navy
size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt"><![if !supportEmptyParas]><![endif]> <o:p></o:p></SPAN></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face=Tahoma color=black
size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Tahoma">-----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: 0.5in"><FONT face="Times New Roman"
size=3><SPAN
style="FONT-SIZE: 12pt"><![if !supportEmptyParas]><![endif]> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN-LEFT: 0.5in"><FONT face=Tahoma color=black
size=2><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Tahoma">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: 0.5in"><FONT face="Times New Roman"
color=black size=3><SPAN
style="FONT-SIZE: 12pt; 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: 0.5in"><FONT face=Tahoma color=black
size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Tahoma">Blair. </SPAN></FONT><FONT
face=Tahoma color=black size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Tahoma; mso-color-alt: windowtext"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN-LEFT: 1in"><SPAN class=EmailStyle18><FONT
face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">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: 1in"><SPAN class=EmailStyle18><FONT
face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt"> <o:p></o:p></SPAN></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 1in"><SPAN class=EmailStyle18><FONT
face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">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: -0.25in; tab-stops: list .5in"><SPAN
class=EmailStyle18><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">1)</SPAN></FONT></SPAN><SPAN
class=EmailStyle18><FONT color=black size=1><SPAN
style="FONT-SIZE: 7pt; 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 face=Arial color=black
size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">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: -0.25in; tab-stops: list .5in"><SPAN
class=EmailStyle18><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">2)</SPAN></FONT></SPAN><SPAN
class=EmailStyle18><FONT color=black size=1><SPAN
style="FONT-SIZE: 7pt; 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 face=Arial color=black
size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">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: -0.25in; tab-stops: list .5in"><SPAN
class=EmailStyle18><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">3)</SPAN></FONT></SPAN><SPAN
class=EmailStyle18><FONT color=black size=1><SPAN
style="FONT-SIZE: 7pt; 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 face=Arial color=black
size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">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: -0.25in; tab-stops: list .5in"><SPAN
class=EmailStyle18><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">4)</SPAN></FONT></SPAN><SPAN
class=EmailStyle18><FONT color=black size=1><SPAN
style="FONT-SIZE: 7pt; 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 face=Arial color=black
size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">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: -0.25in; tab-stops: list .5in"><SPAN
class=EmailStyle18><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">5)</SPAN></FONT></SPAN><SPAN
class=EmailStyle18><FONT color=black size=1><SPAN
style="FONT-SIZE: 7pt; 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 face=Arial color=black
size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">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: 1in"><SPAN class=EmailStyle18><FONT
face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt"> <o:p></o:p></SPAN></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 1in"><SPAN class=EmailStyle18><FONT
face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">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: 1in"><SPAN class=EmailStyle18><FONT
face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt"> <o:p></o:p></SPAN></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 1in"><SPAN class=EmailStyle18><FONT
face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">Any
assistance would be appreciated.<o:p></o:p></SPAN></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 1in"><SPAN class=EmailStyle18><FONT
face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt"> <o:p></o:p></SPAN></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 1in"><SPAN class=EmailStyle18><FONT
face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">Thank
You;<o:p></o:p></SPAN></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN-LEFT: 1in"><SPAN class=EmailStyle18><FONT
face=Arial color=black size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt"><SPAN
style="mso-spacerun: yes"> </SPAN><o:p></o:p></SPAN></FONT></SPAN></P></DIV></BLOCKQUOTE></BODY></HTML>