<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6249.1">
<TITLE>Check_nt win2k service states and nagios</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hi All,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I'm having a problem monitoring some Win 2k exchange services using nagios and check_nt from nsclient.  When I execute the following from the command line su'd to nagios(ie...su - nagios) I get the following:</FONT></P>

<P><FONT FACE="Times New Roman">usr/local/nagios/libexec/check_nt -H 192.168.0.7 -s password123 -v SERVICESTATE -d SHOWALL -l SMTPSVC,AVExch32Service<BR>
<BR>
SMTPSVC: Started - AVExch32Service: Started<BR>
<BR>
But within nagios on the http web page I get:<BR>
Service Checks(SMTP,AV)<BR>
<BR>
WARNING 10-31-2003 09:00:54 0d 0h 6m 11s 1/1 SMTPSVC: Started - AVExch32Service$: Unknown<BR>
<BR>
Here is the definition in the services.cfg file:<BR>
define service {<BR>
host_name Exchange<BR>
service_description Service Checks(SMTP,AV)<BR>
register 1<BR>
max_check_attempts 1<BR>
normal_check_interval 3<BR>
retry_check_interval 1<BR>
check_period 24x7<BR>
notification_interval 0<BR>
notification_period 24x7<BR>
notification_options w,u,c,r<BR>
contact_groups ntadmins<BR>
check_command "/usr/local/nagios/libexec/check_nt -H 192.168.0.7 -s password123 -v SERVICESTATE -d SHOWALL -l SMTPSVC,AVExch32Service"<BR>
<BR>
Has anyone seen this problem before…….?<BR>
<BR>
<BR>
Thanks...<BR>
<BR>
Neil</FONT>
</P>

</BODY>
</HTML>