<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE>
v\:* {behavior:url (#default#vml);}
</STYLE>

<STYLE>v\:* {
        BEHAVIOR: url (#default#vml)
}
</STYLE>
<!--IncrdiXMLRemarkStart>
<IncrdiX-Info>
<X-FID>FLAVOR00-NONE-0000-0000-000000000000</X-FID>
<X-FVER>4.0</X-FVER>
<X-CNT>;</X-CNT>
</IncrdiX-Info>
<IncrdiXMLRemarkEnd--></HEAD>
<BODY style="FONT-SIZE: 12pt; MARGIN: 5px 10px 10px; FONT-FAMILY: Arial" 
bgColor=#ffffff background="" scroll=yes>
<DIV><SPAN class=893350217-05042006><FONT size=2>With NSCLIENT you can monitor 
services... so just pick you SQL service and Nagios will let you know if it 
fails.. as far as SMTP there is a check for that in the nagios plugins.. 
</FONT></SPAN></DIV>
<DIV><SPAN class=893350217-05042006><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=893350217-05042006><BR># 'check_nt_service' command 
definition<BR>define command{<BR>        
command_name    
check_nt_service<BR>        
command_line    $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v 
SERVICESTATE -l $ARG1$<BR>        
}</SPAN></DIV>
<DIV><SPAN class=893350217-05042006><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=893350217-05042006># Service definition<BR>#SERVERS CHECK NT 
SERVICE SQL<BR>define service{<BR>        
use                             
generic-service         
;<BR>        
host_name                       HOST<BR>        
service_description             
SERVICE SQL<BR>        
is_volatile                     
0<BR>        
check_period                    
24x7<BR>        
max_check_attempts              
3<BR>        
normal_check_interval           
3<BR>        
retry_check_interval            
1<BR>        
contact_groups                  
nt-admins, db-admins<BR>        
notification_interval           
120<BR>        
notification_period             
24x7<BR>        
notification_options            
w,u,c,r<BR>        
check_command                   
check_nt_service!MSSQLSERVER<BR>        
}</SPAN></DIV>
<DIV> </DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=en-us><FONT size=2><SPAN class=893350217-05042006>- </SPAN>Peter 
Brown</FONT></SPAN> <BR><BR><SPAN lang=en-us> </SPAN> </P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> 
  nagios-users-admin@lists.sourceforge.net 
  [mailto:nagios-users-admin@lists.sourceforge.net] <B>On Behalf Of 
  </B>Steph<BR><B>Sent:</B> Wednesday, April 05, 2006 9:57 AM<BR><B>To:</B> 
  nagios-users@lists.sourceforge.net<BR><B>Subject:</B> [Nagios-users] 
  NSClient<BR><BR></FONT></DIV>
  <TABLE id=INCREDIMAINTABLE cellSpacing=0 cellPadding=2 width="100%" 
    border=0><TBODY>
    <TR>
      <TD id=INCREDITEXTREGION style="FONT-SIZE: 12pt; FONT-FAMILY: Arial" 
      width="100%">
        <DIV><FONT size=2>I'm currently monitoring a few windows server 
        2003 machines with nsclient</FONT></DIV>
        <DIV><FONT size=2>Does anyone have any suggestions for monitoring smtp 
        and mysql?</FONT></DIV>
        <DIV><FONT size=2>Can I use commands similar to the ones below and if so 
        does anyone have any samples from checkcommands.cfg and 
        services.cfg?</FONT></DIV>
        <DIV><FONT size=2></FONT> </DIV>
        <DIV><FONT size=2><U>Checkcommands.cfg</U>:</FONT></DIV>
        <DIV><FONT size=2></FONT> </DIV>
        <DIV><FONT size=2>Define 
        command{<BR>        
        Command_name    
        check_nt_CPU<BR>        
        Command_line    $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 
        -v CPULOAD -l $ARG1$<BR>}</FONT></DIV>
        <DIV><FONT 
        size=2>-------------------------------------------------------------------------------------------------------------</FONT></DIV>
        <DIV><U><FONT size=2>Services.cfg</FONT></U></DIV>
        <DIV><FONT size=2></FONT> </DIV>
        <DIV><FONT size=2>Define 
        service{<BR>        
        Use                             
        generic-service<BR>        
        Host_name                       test-server<BR>        
        Service_description             
        CPU Usage<BR>        
        is_volatile                     
        0<BR>        
        Check_period                    
        24x7<BR>        
        Max_check_attempts              
        3<BR>        
        Normal_check_interval           
        1<BR>        
        Retry_check_interval            
        1<BR>        
        Contact_groups                  
        linux-admins<BR>        
        Notification_interval           
        300<BR>        
        Notification_period             
        24x7<BR>        
        Notification_options            
        w,U,c,R<BR>        
        Check_command                   
        check_nt_CPU!10,80,95,60,80,95,1440,80,95<BR>}</FONT></DIV>
        <DIV><FONT 
        size=2>---------------------------------------------------------------------------------------------------------</FONT></DIV>
        <DIV><FONT size=2>I'm pretty new to windows servers so any help would be 
        greatly appreciated.</FONT></DIV>
        <DIV><FONT size=2></FONT> </DIV>
        <DIV><FONT size=2>Thanks</FONT></DIV>
        <DIV><FONT size=2></FONT> </DIV>
        <DIV><FONT size=2>Stephanie</FONT></DIV></TD></TR>
    <TR>
      <TD id=INCREDIFOOTER width="100%">
        <TABLE cellSpacing=0 cellPadding=0 width="100%">
          <TBODY>
          <TR>
            <TD width="100%"></TD>
            <TD id=INCREDISOUND vAlign=bottom align=middle></TD>
            <TD id=INCREDIANIM vAlign=bottom 
      align=middle></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BLOCKQUOTE></BODY></HTML>