<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=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<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:"Book Antiqua";
panose-1:2 4 6 2 5 3 5 3 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.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="1026" />
</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='color:#1F497D'>Hi ,<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>I am using Nagios 3.0.6 on Linux
with Fedora installed on it.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>My Nagios suddenly stopped
sending email notifications .<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Here is my service template.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'># Generic service definition
template - This is NOT a real service, just a template!<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>define service{<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
name
generic-service ; The 'name' of
this service template<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
active_checks_enabled
1
; Active service checks are enabled<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
passive_checks_enabled
1
; Passive service checks are enabled/accepted<o:p></o:p></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)<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
obsess_over_service
1
; We should obsess over this service (if necessary)<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
check_freshness
0
; Default is to NOT check service 'freshness'<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
notifications_enabled
1
; Service notifications are enabled<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
event_handler_enabled 1
; Service event handler is enabled<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
flap_detection_enabled
1
; Flap detection is enabled<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
failure_prediction_enabled
1
; Failure prediction is enabled<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> process_perf_data
1
; Process performance data<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
retain_status_information
1
; Retain status information across program restarts<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
retain_nonstatus_information
1 ;
Retain non-status information across program restarts<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
is_volatile
0
; The service is not volatile<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
check_period
24x7
; The service can be checked at any time of the day<o:p></o:p></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<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
normal_check_interval
5
; Check the service every 10 minutes under normal conditions<o:p></o:p></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<o:p></o:p></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<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
notification_options
w,u,c
; Send notifications about warning, unknown, critical, and recovery events<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
notification_interval 30
; Re-notify about service problems every hour<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
notification_period
24x7
; Notifications can be sent out at any time<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
register
0
; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
}<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:black'>Thanks & Regards,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Book Antiqua","serif";
color:black'>Ravi G<o:p></o:p></span></p>
</div>
</div>
</body>
</html>