<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Consolas","serif";}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1030" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi David<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>What is the default command Nagios uses to send mail?.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I found some thing in log files like below.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal>[09-03-2009 21:25:02] Warning: The results of service
'Current Load' on host 'ec2-75-101-200-287.compute-1.amazonaws.com' are stale
by 0d 0h 3m 7s (threshold=0d 0h 3m 15s). I'm forcing an immediate check of the
service.<br clear=all>
<!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75"
o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
<v:stroke joinstyle="miter" />
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0" />
<v:f eqn="sum @0 1 0" />
<v:f eqn="sum 0 0 @1" />
<v:f eqn="prod @2 1 2" />
<v:f eqn="prod @3 21600 pixelWidth" />
<v:f eqn="prod @3 21600 pixelHeight" />
<v:f eqn="sum @0 0 1" />
<v:f eqn="prod @6 1 2" />
<v:f eqn="prod @7 21600 pixelWidth" />
<v:f eqn="sum @8 21600 0" />
<v:f eqn="prod @7 21600 pixelHeight" />
<v:f eqn="sum @10 21600 0" />
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect" />
<o:lock v:ext="edit" aspectratio="t" />
</v:shapetype><v:shape id="_x0000_s1026" type="#_x0000_t75" alt="Informational Message"
style='position:absolute;margin-left:0;margin-top:0;width:24pt;height:24pt;
z-index:251658240;mso-wrap-distance-left:0;mso-wrap-distance-top:0;
mso-wrap-distance-right:0;mso-wrap-distance-bottom:0;
mso-position-horizontal:left;mso-position-horizontal-relative:text;
mso-position-vertical-relative:line' o:allowoverlap="f">
<w:wrap type="square"/>
</v:shape><![endif]--><![if !vml]><img width=32 height=32
src="cid:image001.png@01CA2CB3.8D0C6B90" align=left alt="Informational Message"
v:shapes="_x0000_s1026"><![endif]>[09-03-2009 21:25:02] Warning: Contact
'nagiosadmin' host notification command '/usr/bin/printf "%b"
"***** Nagios *****\n\nNotification Type: PROBLEM\nHost:
ec2-75-101-200-287.compute-1.amazonaws.com\nState: DOWN\nAddress:
ec2-75-101-200-287.compute-1.amazonaws.com\nInfo: Name or service not
known\n\nDate/Time: Thu Sept 3 21:24:31 UTC 2009\n" | /bin/mail -s
"** PROBLEM Host Alert: ec2-75-101-200-287.compute-1.amazonaws.com is DOWN
**" ntadepalli@pervasive.com' timed out after 30 seconds<br clear=all>
<!--[if gte vml 1]><v:shape id="_x0000_s1027" type="#_x0000_t75" alt="Host Notification"
style='position:absolute;margin-left:0;margin-top:0;width:24pt;height:24pt;
z-index:251658240;mso-wrap-distance-left:0;mso-wrap-distance-top:0;
mso-wrap-distance-right:0;mso-wrap-distance-bottom:0;
mso-position-horizontal:left;mso-position-horizontal-relative:text;
mso-position-vertical-relative:line' o:allowoverlap="f">
<w:wrap type="square"/>
</v:shape><![endif]--><![if !vml]><img width=32 height=32
src="cid:image001.png@01CA2CB3.8D0C6B90" align=left alt="Host Notification"
v:shapes="_x0000_s1027"><![endif]>[09-03-2009 21:24:59] HOST NOTIFICATION:
nagiosadmin;ec2-75-101-200-287.compute-1.amazonaws.com;DOWN;notify-host-by-email;Name
or service not known<br clear=all>
<!--[if gte vml 1]><v:shape id="_x0000_s1028" type="#_x0000_t75" alt="Informational Message"
style='position:absolute;margin-left:0;margin-top:0;width:24pt;height:24pt;
z-index:251658240;mso-wrap-distance-left:0;mso-wrap-distance-top:0;
mso-wrap-distance-right:0;mso-wrap-distance-bottom:0;
mso-position-horizontal:left;mso-position-horizontal-relative:text;
mso-position-vertical-relative:line' o:allowoverlap="f">
<w:wrap type="square"/>
</v:shape><![endif]--><![if !vml]><img width=32 height=32
src="cid:image001.png@01CA2CB3.8D0C6B90" align=left alt="Informational Message"
v:shapes="_x0000_s1028"><![endif]>[09-03-2009 21:24:59] Warning: Contact
'nagiosadmin' host notification command '/usr/bin/printf "%b"
"***** Nagios *****\n\nNotification Type: PROBLEM\n\nService:
$SERVICEDESC$\nHost: ec2-75-101-200-287.compute-1.amazonaws.com\nAddress:
ec2-75-101-200-287.compute-1.amazonaws.com\nState: $SERVICESTATE$\n\nDate/Time:
Thu Sept 3 21:24:28 UTC 2009\n\nAdditional Info:\n\n$SERVICEOUTPUT$" |
/bin/mail -s "** PROBLEM Service Alert:
ec2-75-101-200-287.compute-1.amazonaws.com/$SERVICEDESC$ is $SERVICESTATE$
**" ntadepalli@pervasive.com' timed out after 30 seconds<br clear=all>
<!--[if gte vml 1]><v:shape id="_x0000_s1029" type="#_x0000_t75" alt="Host Notification"
style='position:absolute;margin-left:0;margin-top:0;width:24pt;height:24pt;
z-index:251658240;mso-wrap-distance-left:0;mso-wrap-distance-top:0;
mso-wrap-distance-right:0;mso-wrap-distance-bottom:0;
mso-position-horizontal:left;mso-position-horizontal-relative:text;
mso-position-vertical-relative:line' o:allowoverlap="f">
<w:wrap type="square"/>
</v:shape><![endif]--><![if !vml]><img width=32 height=32
src="cid:image001.png@01CA2CB3.8D0C6B90" align=left alt="Host Notification"
v:shapes="_x0000_s1029"><![endif]>[09-03-2009 21:24:31] HOST NOTIFICATION:
nagiosadmin;ec2-75-101-200-287.compute-1.amazonaws.com;DOWN;notify-host-by-email;Name
or service not known<span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> David Gossage
[mailto:dgossage@zacks.com] <br>
<b>Sent:</b> Thursday, September 03, 2009 3:46 PM<br>
<b>To:</b> Nagios Plugin Help List<br>
<b>Subject:</b> Re: [Nagiosplug-help] Problem with Email Alerts<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Do you see any attempts in the log files that nagios is
trying to actually send the emails? If so try sending a simple test email
from the command line and see what happens.<br>
<br>
<br>
On Thu, 2009-09-03 at 15:36 -0500, Narasimha Tadepalli wrote: <o:p></o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'>Hi All<br>
<br>
<br>
<br>
I couldn’t able to receive any email alerts. I configured the proper contacts
with right emails. And also I saw lot of the critical alerts which are
displaying in web interface. What should I do to fix this issue?. I am
suspecting some thing wrong with either sendmail or other default mail client
for Nagios. <br>
<br>
<br>
<br>
Thanks In advance<br>
<br>
narasimha<br>
<br>
<o:p></o:p></p>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre><o:p> </o:p></pre><pre>------------------------------------------------------------------------------<o:p></o:p></pre><pre>Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day <o:p></o:p></pre><pre>trial. Simplify your report design, integration and deployment - and focus on <o:p></o:p></pre><pre>what you do best, core application coding. Discover what's new with <o:p></o:p></pre><pre>Crystal Reports now. <a
href="http://p.sf.net/sfu/bobj-july">http://p.sf.net/sfu/bobj-july</a><o:p></o:p></pre><pre>_______________________________________________ Nagiosplug-help mailing list <a
href="mailto:Nagiosplug-help@lists.sourceforge.net">Nagiosplug-help@lists.sourceforge.net</a> <a
href="https://lists.sourceforge.net/lists/listinfo/nagiosplug-help">https://lists.sourceforge.net/lists/listinfo/nagiosplug-help</a> ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null<o:p></o:p></pre></blockquote>
</div>
</body>
</html>