Stephen,<br>Check the attached output, "mybox" is the XP box and the other one is the 2003 server. I get notifications for the XP box but not for the 2003 server.<br><br>Thanks,<br>-john<br><br><div><span class="gmail_quote">
On 6/22/07, <b class="gmail_sendername">Valdinger, Stephen (DOV, MSX)</b> <<a href="mailto:svalding@doverchem.com">svalding@doverchem.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
















<div link="blue" vlink="blue" lang="EN-US">

<div>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Ok, we've isolated that it is not
nagios itself, or the command definitions for services/hosts other than windows
2003 servers. Turn to your Event logs. Does anything come thru them? What about
netstat –a? Can you ping the Nagios server from the Windows Server 2003
machine? Do the hosts show up fine in Nagios, or is it just notifications being
a problem? Check that the Nagios service has permission to read the Windows
2003 server. </span></font></p><span class="q">

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<div>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;"> </span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">Stephen Valdinger</span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">MIS Helpdesk Coordinator</span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">Dover Chemical Corporation</span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">3676 Davis Rd NW</span></font><font color="navy"><span style="color: navy;"></span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">Dover</span></font><font color="navy"><span style="color: navy;">, OH 44622</span></font><font color="navy"><span style="color: navy;">
</span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">330-365-3622</span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;"><a href="mailto:stephen.valdinger@doverchem.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">stephen.valdinger@doverchem.com
</a></span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;"> </span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;"> </span></font></p>

</div>

</span><div>

<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

<hr align="center" size="2" width="100%">

</span></font></div>

<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> John Duraisw
[mailto:<a href="mailto:john.duraiswamy@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">john.duraiswamy@gmail.com</a>] <br>
<b><span style="font-weight: bold;">Sent:</span></b> Friday, June 22, 2007 2:29
PM<div><span class="e" id="q_11354b7b7f425721_3"><br>
<b><span style="font-weight: bold;">To:</span></b> Valdinger, Stephen (DOV, MSX)<br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [Nagios-users]
Nagios-Windows 2003</span></div></span></font></p>

</div><div><span class="e" id="q_11354b7b7f425721_5">

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Stephen,<br>
I do not have any notification issues on this server except for these windows
2003 service checks. When I try monitor serivices on windowsXP machine
everything works fine.<br>
<br>
Thanks,<br>
-john</span></font></p>

<div>

<p><span><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On 6/22/07, <b><span style="font-weight: bold;">Valdinger,
Stephen (DOV, MSX)</span></b> <<a href="mailto:svalding@doverchem.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">svalding@doverchem.com</a>>
wrote:</span></font></span></p>

<div link="blue" vlink="blue">

<div>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Clearify for me what you mean by all other notifications get
sent out properly. Do you have other services that you are getting notified via
email or sms? Any hosts that work just fine? I'm disagreeing with Marc on the
MTA thing if you can receive other notifications. Try executing the
notification command thru terminal for that service/host. If it goes thru, it's
the Nagios program itself.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<div>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;"> </span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">Stephen Valdinger</span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">MIS Helpdesk Coordinator</span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">Dover Chemical Corporation</span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">3676 Davis
  Rd NW</span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">Dover</span></font><font color="navy"><span style="color: navy;">, OH 44622</span></font><font color="navy"><span style="color: navy;">
 </span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">330-365-3622</span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;"><a href="mailto:stephen.valdinger@doverchem.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">stephen.valdinger@doverchem.com
</a></span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;"> </span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;"> </span></font></p>

</div>

<div>

<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

<hr align="center" size="2" width="100%">

</span></font></div>

<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> John Duraisw [mailto:
<a href="mailto:john.duraiswamy@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">john.duraiswamy@gmail.com</a>]
<br>
<b><span style="font-weight: bold;">Sent:</span></b> Friday, June 22, 2007 9:55
AM<br>
<span><b><span style="font-weight: bold;">To:</span></b> Valdinger,
Stephen (DOV, MSX)</span></span></font></p>

<div><span>

<p><span><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">Subject:</span></font></b></span><span><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">
 Re: [Nagios-users] Nagios-Windows 2003</span></font></span></p></span><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"></span></font>

</div>

</div>

<div><span>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Oops that was a cut and paste error.:=)<br>
<br>
define service{<br>
       
name                           
generic-service<br>
       
active_checks_enabled          
1<br>
       
passive_checks_enabled          1<br>
       
parallelize_check              
1 <br>
       
obsess_over_service            
1<br>
       
check_freshness                
0<br>
       
notifications_enabled          
1<br>
       
event_handler_enabled          
1<br>
       
flap_detection_enabled          1 <br>
       
process_perf_data              
1<br>
       
retain_status_information       1<br>
        retain_nonstatus_information   
1<br>
       
is_volatile                    
0<br>
       
check_period                   
24x7 <br>
       
max_check_attempts             
3<br>
       
normal_check_interval          
5<br>
       
retry_check_interval           
1<br>
       
notification_interval          
120<br>
       
notification_period            
24x7 <br>
       
notification_options           
c,r<br>
       
contact_groups                 
John<br>
       
register                       
0<br>
}</span></font></p>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On
6/22/07, <b><span style="font-weight: bold;">Valdinger, Stephen (DOV, MSX)</span></b>
<<a href="mailto:svalding@doverchem.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">svalding@doverchem.com</a>>
wrote:</span></font></p>

<div link="blue" vlink="blue">

<div>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">You forgot your 0 in your service definition template. You
are not getting notifications because you are pulling from generic-service,
which it is not actually seeing.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<div>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;"> </span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">Stephen Valdinger</span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">MIS Helpdesk Coordinator</span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">Dover Chemical Corporation</span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">3676 Davis
  Rd NW</span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">Dover</span></font><font color="navy"><span style="color: navy;">, OH 44622</span></font><font color="navy"><span style="color: navy;">
 </span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">330-365-3622</span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;"><a href="mailto:stephen.valdinger@doverchem.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">stephen.valdinger@doverchem.com
</a></span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;"> </span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;"> </span></font></p>

</div>

<div>

<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

<hr align="center" size="2" width="100%">

</span></font></div>

<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> John Duraisw [mailto: 
<a href="mailto:john.duraiswamy@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">john.duraiswamy@gmail.com</a>]
<br>
<b><span style="font-weight: bold;">Sent:</span></b> Friday, June 22, 2007 9:44
AM<br>
<b><span style="font-weight: bold;">To:</span></b> Valdinger, Stephen (DOV, MSX)<br>
<b><span style="font-weight: bold;">Cc:</span></b> <a href="mailto:nagios-users@lists.sourceforge.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">nagios-users@lists.sourceforge.net</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [Nagios-users]
Nagios-Windows 2003</span></font></p>

</div>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Stephen,<br>
Thanks for the quick response. Following are the info.<br>
<br>
define host {<br>
        use    
generic-host<br>
       
host_name       WebsenseFilterServer1<br>
        alias  
WebsenseFilterServer1 - Wilton Woods NOC <br>
        address <a href="http://10.31.47.13" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">10.31.47.13</a><br>
        parents DC-MSFC<br>
}<br>
<br>
 define host{<br>
       
name                           
generic-host<br>
       
notifications_enabled          
1<br>
        event_handler_enabled          
1<br>
       
flap_detection_enabled          1<br>
       
process_perf_data              
1<br>
       
retain_status_information       1<br>
       
retain_nonstatus_information    1 <br>
       
check_command                  
check-host-alive<br>
        max_check_attempts             
20<br>
       
notification_interval          
60<br>
       
notification_period            
24x7<br>
       
contact_groups                 
John <br>
       
notification_options           
d,u,r<br>
       
register                       
0<br>
}<br>
<br>
define service{<br>
       
name                           
generic-service<br>
       
active_checks_enabled          
1 <br>
       
passive_checks_enabled          1<br>
       
parallelize_check              
1<br>
       
obsess_over_service            
1<br>
        check_freshness                
0<br>
       
notifications_enabled          
1 <br>
       
event_handler_enabled          
1<br>
       
flap_detection_enabled          1<br>
       
process_perf_data              
1<br>
       
retain_status_information       1<br>
        retain_nonstatus_information   
1 <br>
       
is_volatile                    
0<br>
       
check_period                   
24x7<br>
       
max_check_attempts             
3<br>
       
normal_check_interval          
5<br>
       
retry_check_interval           
1 <br>
        notification_interval          
120<br>
       
notification_period            
24x7<br>
       
notification_options           
c,r<br>
       
contact_groups                 
John<br>
       
register         <br>
define service{<br>
       
use                            
generic-service<br>
       
host_name                      
WebsenseFilterServer1<br>
       
service_description            
check_WebsenseFilteringService<br>
       
check_command                  
check_WebsenseFilteringService!public!"websense filtering service" <br>
        }<br>
<br>
# 'notify-by-email' command definition - good<br>
define command{<br>
        command_name   
notify-by-email<br>
        command_line   
/usr/bin/printf "%b" "Ladies and Gentlemen $SERVICEDESC$ for
$HOSTNAME$ is $SERVICESTATE$ at this time\n\nNotificatio <br>
n Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost:
$HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time:
$LONGDAT<br>
ETIME$\n\nAdditional Info: $SERVICEOUTPUT$\nComments:
$SERVICEACKCOMMENT$\nAuthor: $SERVICEACKAUTHOR$" | /bin/mail -s "**
$NOTIFICATIONTYPE$ <br>
alert - $HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$<br>
        }<br>
<br>
<br>
[1182517451] SERVICE NOTIFICATION:
john;WebsenseFilterServer1;check_WebsenseFilteringService;CRITICAL;notify-by-email;EIMServer.exe:
not running <br>
<br>
<br>
Thanks,<br>
<br>
-john</span></font></p>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On
6/22/07, <b><span style="font-weight: bold;">Valdinger, Stephen (DOV, MSX)</span></b>
<<a href="mailto:svalding@doverchem.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">svalding@doverchem.com</a>>
wrote: </span></font></p>

<div link="blue" vlink="purple">

<div>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Can you post your log files so we can read them? There could
be a number of things wrong. Also, please include the host/service definition
commands so we can take a look at them. Could be something as simple as a typo.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<div>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;"> </span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">Stephen Valdinger</span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">MIS Helpdesk Coordinator</span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">Dover Chemical Corporation</span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">3676 Davis
  Rd NW</span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">Dover</span></font><font color="navy"><span style="color: navy;">, OH 44622</span></font><font color="navy"><span style="color: navy;">
 </span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">330-365-3622</span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;"><a href="mailto:stephen.valdinger@doverchem.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">stephen.valdinger@doverchem.com
</a></span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;"> </span></font></p>

<p><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;"> </span></font></p>

</div>

<div>

<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

<hr align="center" size="2" width="100%">

</span></font></div>

<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> John Duraisw [mailto: 
<a href="mailto:john.duraiswamy@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">john.duraiswamy@gmail.com</a>]
<br>
<b><span style="font-weight: bold;">Sent:</span></b> Friday, June 22, 2007 9:32
AM<br>
<b><span style="font-weight: bold;">To:</span></b> <a href="mailto:nagios-users@lists.sourceforge.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">nagios-users@lists.sourceforge.net</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> [Nagios-users]
Nagios-Windows 2003</span></font></p>

</div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Hello Everyone,<br>
I've been trying to monitor some services on windows 2003(SP2) using snmp
plugins with nagios 2.9, everything is working fine on the monitoring side.
When the service goes down the GUI turns RED but I don't get any notifications
all though the nagios GUI says the notifations has been sent out. All the other
notifications gets sent properly. I this something to do with windows 2003 ?
Any ideas please? <br>
<br>
Thanks,<br>
-john</span></font></p>

</div>

</div>

</div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

</div>

</div>

</div>

</div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

</span></div>

</div>

</div>

</div>



<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

</span></div></div>

</div>


</blockquote></div><br>