<div dir="ltr">Nagios uses sendmail MTA to send emails out, please check your sendmail configuration and troubleshoot it. check to see if any emails in the queue<br><br>
<div class="gmail_quote">On Sat, Jun 5, 2010 at 5:52 AM, <span dir="ltr"><<a href="mailto:ravishankar.gundlapali@wipro.com">ravishankar.gundlapali@wipro.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div lang="EN-US" vlink="purple" link="blue">
<div>
<p class="MsoNormal"><span style="COLOR: #1f497d">Hi ,</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">I am using Nagios 3.0.6 on Linux with Fedora installed on it.</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d"> </span></p><pre><span style="COLOR: #1f497d">My Nagios suddenly stopped sending email notifications .</span><span style="COLOR: #1f497d">When I tried sending manually using the command ‘</span>echo "subject" | mail -s "message" contactemail@whatever ‘ <span style="COLOR: #1f497d">I am not receiving any email.</span></pre>

<p class="MsoNormal"><span style="COLOR: #1f497d"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">Please someone guide me on this…</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">Here is my service template.</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d"># Generic service definition template - This is NOT a real service, just a template!</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d"> </span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">define service{</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">        name                            generic-service         ; The 'name' of this service template</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">        active_checks_enabled           1                       ; Active service checks are enabled</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">        passive_checks_enabled          1                       ; Passive service checks are enabled/accepted</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">        parallelize_check               1                       ; Active service checks should be parallelized (disabling this can lead to major performance problems)</span></p>

<p class="MsoNormal"><span style="COLOR: #1f497d">        obsess_over_service             1                       ; We should obsess over this service (if necessary)</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">        check_freshness                 0                       ; Default is to NOT check service 'freshness'</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">        notifications_enabled           1                       ; Service notifications are enabled</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">        event_handler_enabled           1                       ; Service event handler is enabled</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">        flap_detection_enabled          1                       ; Flap detection is enabled</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">        failure_prediction_enabled      1                       ; Failure prediction is enabled</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">        process_perf_data               1                       ; Process performance data</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">        retain_status_information       1                       ; Retain status information across program restarts</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">        retain_nonstatus_information    1                       ; Retain non-status information across program restarts</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">        is_volatile                     0                       ; The service is not volatile</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">        check_period                    24x7                    ; The service can be checked at any time of the day</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">        max_check_attempts              2                       ; Re-check the service up to 3 times in order to determine its final (hard) state</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">        normal_check_interval           5                       ; Check the service every 10 minutes under normal conditions</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">        retry_check_interval            1                       ; Re-check the service every two minutes until a hard state can be determined</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">#        contact_groups                 stw_win_server,stw_network_devices,stw_app_server       ; Notifications get sent out to everyone in the 'admins' group</span></p>

<p class="MsoNormal"><span style="COLOR: #1f497d">        notification_options            w,u,c                   ; Send notifications about warning, unknown, critical, and recovery events</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">        notification_interval           30                      ; Re-notify about service problems every hour</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">        notification_period             24x7                    ; Notifications can be sent out at any time</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">        register                        0                       ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d">        }</span></p>
<p class="MsoNormal"><span style="COLOR: #1f497d"> </span></p>
<div>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Book Antiqua','serif'">Thanks & Regards,</span></p>
<p class="MsoNormal"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Book Antiqua','serif'">Ravi G</span></p></div></div></div><br>------------------------------------------------------------------------------<br>
ThinkGeek and WIRED's GeekDad team up for the Ultimate<br>GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the<br>lucky parental unit.  See the prize list and enter to win:<br><a href="http://p.sf.net/sfu/thinkgeek-promo" target="_blank">http://p.sf.net/sfu/thinkgeek-promo</a><br>
_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br><br clear="all"><br>-- <br>Shankar Asam<br>
</div>