<br><font size=2 face="sans-serif">I am running Nagios on Linux and I am
not monitoring any windows boxes!</font>
<br>
<br><font size=2 face="sans-serif">There seems to be some confusion here.
</font>
<br>
<br><font size=2 face="sans-serif">check_nt40 is a  program.</font>
<br>
<br><font size=2 face="sans-serif">checkcommands.cfg defines commands that
execute this program with specified parameters.</font>
<br>
<br><font size=2 face="sans-serif">services.cfg refers to the commands
defined in checkcommands.cfg, NOT the original program.</font>
<br>
<br><font size=2 face="sans-serif">I am not sure if 'check_nt40' is defined
in your checkcommands.cfg. Services.cfg can only refer to those defined
in checkcommands.cfg.</font>
<br>
<br><font size=2 face="sans-serif">__________________________________________<br>
Ranga Nathan / CSG<br>
Systems Programmer - Specialist; Technical Services; <br>
BAX Global Inc. Irvine-California<br>
Tel: 714-442-7591   Fax: 714-442-2840<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>"Paul  Aviles" <paviles@adjoined.com></b></font>
<br>
<p><font size=1 face="sans-serif">07/20/2004 09:49 AM</font>
<td><font size=1 face="Arial">        </font>
<br><font size=1 face="sans-serif">        To:
       "Ranga Nathan" <RNathan@baxglobal.com></font>
<br><font size=1 face="sans-serif">        cc:
       </font>
<br><font size=1 face="sans-serif">        Subject:
       RE: Nagios-users digest, Vol 1 #2136
- 25 msgs</font></table>
<br>
<br>
<br><font size=2 color=blue face="Arial">a bit better, I changed the service
to say check_nt40 and now I get on the nagios screen..</font>
<br><font size=3> </font>
<br><font size=3>check_nt: Unknown argument: (null) </font>
<br><font size=3> </font>
<br><font size=2 color=blue face="Arial">What is the normal configuration
I should have for nsclient, can you send me a snapshot of your current
files?</font>
<br><font size=3> </font>
<br><font size=2 color=blue face="Arial">Thanks</font>
<br><font size=3> </font>
<br><font size=2 color=blue face="Arial">-pa</font>
<br><font size=2 face="Tahoma">-----Original Message-----<b><br>
From:</b> Ranga Nathan [mailto:RNathan@baxglobal.com] <b><br>
Sent:</b> Tuesday, July 20, 2004 12:39 PM<b><br>
To:</b> Paul Aviles<b><br>
Subject:</b> RE: Nagios-users digest, Vol 1 #2136 - 25 msgs<br>
</font>
<br><font size=2 face="sans-serif"><br>
Ok, I think you meant to say:</font><font size=3> </font><font size=2><tt><br>
check_nt40_cpuload</tt></font><font size=2 face="sans-serif">  </font><font size=2><tt>-H
192.168.100.32 -p 1248 -v CPULOAD -l 10,80,95,60,80,95,1440,80,95</tt></font><font size=3>
</font><font size=2><tt><br>
because in your checkcommands.cfg, you do not have a "check_nt40"
but you do have "check_nt40_cpuload"</tt></font><font size=3>
<br>
</font><font size=2><tt><br>
Could it be just that? Try and let me know.</tt></font><font size=3> </font><font size=2><tt><br>
Good luck.</tt></font><font size=3> </font><font size=2 face="sans-serif"><br>
__________________________________________<br>
Ranga Nathan / CSG<br>
Systems Programmer - Specialist; Technical Services; <br>
BAX Global Inc. Irvine-California<br>
Tel: 714-442-7591   Fax: 714-442-2840</font><font size=3><br>
<br>
<br>
</font>
<table width=100%>
<tr valign=top>
<td width=2%>
<td width=41%><font size=1 face="sans-serif"><b>"Paul  Aviles"
<paviles@adjoined.com></b></font><font size=3> </font>
<p><font size=1 face="sans-serif">07/20/2004 07:58 AM</font><font size=3>
</font>
<td width=56%><font size=1 face="Arial">        </font><font size=1 face="sans-serif"><br>
        To:        <RNathan@baxglobal.com></font><font size=3>
</font><font size=1 face="sans-serif"><br>
        cc:        </font><font size=3>
</font><font size=1 face="sans-serif"><br>
        Subject:        RE: Nagios-users
digest, Vol 1 #2136 - 25 msgs</font></table>
<br><font size=3><br>
<br>
</font><font size=2><tt><br>
Ranga,<br>
<br>
I am coming up with the same error. <br>
<br>
Running pre-flight check on configuration data...<br>
Checking services...<br>
Error: Service check command 'check_nt40' specified in service 'CPU<br>
Load' for host 'szmia000' not defined anywhere!<br>
       Checked 22 services.<br>
<br>
Here are my file definitions. Is there something I am missing?<br>
<br>
Thanks<br>
-pa<br>
<br>
Service.cfg<br>
define service{<br>
       use              
              generic-service  
      ; Name<br>
of service template to use<br>
       host_name            
          szmia000<br>
       service_description          
  CPU Load<br>
       is_volatile            
        0<br>
       check_period            
       24x7<br>
       max_check_attempts          
   3<br>
       normal_check_interval        
  5<br>
       retry_check_interval        
   1<br>
       contact_groups          
       windows-admins<br>
       notification_interval        
  120<br>
       notification_period          
  24x7<br>
       notification_options        
   c,r<br>
       check_command          
        check_nt40 -H 192.168.100.32 -p<br>
1248 -v CPULOAD -l 10,80,95,60,80,95,1440,80,95<br>
       }<br>
<br>
Hosts.cfg<br>
define host{<br>
       use              
      generic-host<br>
       host_name            
  szmia000<br>
       alias              
    Miami VPN<br>
       address            
    192.168.100.32<br>
       check_command          
check-host-alive<br>
       max_check_attempts      10<br>
       notification_interval   120<br>
       notification_period     24x7<br>
       notification_options    d,u,r<br>
       }<br>
<br>
Checkcommands.cfg<br>
# WINDOWS STUFF<br>
#<br>
<br>
define command{<br>
       command_name    check_nt40_disk<br>
       command_line    $USER1$/check_nt40 -H $HOSTADDRESS$
-p 1248 -v<br>
USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$<br>
       }<br>
<br>
define command{<br>
       command_name    check_nt40_cpuload<br>
       command_line    $USER1$/check_nt40 -H $HOSTADDRESS$
-p 1248 -v<br>
CPULOAD -l $ARG1$<br>
       }<br>
<br>
define command{<br>
       command_name    check_nt40_uptime<br>
       command_line    $USER1$/check_nt40 -H $HOSTADDRESS$
-p 1248 -v<br>
UPTIME<br>
       }<br>
<br>
define command{<br>
       command_name    check_nt40_clientversion<br>
       command_line    $USER1$/check_nt40 -H $HOSTADDRESS$
-p 1248 -v<br>
CLIENTVERSION<br>
       }<br>
<br>
define command{<br>
       command_name    check_nt40_process<br>
       command_line    $USER1$/check_nt40 -H $HOSTADDRESS$
-p 1248 -v<br>
PROCSTATE -l $ARG1$<br>
       }<br>
<br>
define command{<br>
       command_name    check_nt40_service<br>
       command_line    $USER1$/check_nt40 -H $HOSTADDRESS$
-p 1248 -v<br>
SERVICESTATE -l $ARG1$<br>
       }<br>
<br>
define command{<br>
       command_name    check_nt40_memuse<br>
       command_line    $USER1$/check_nt40 -H $HOSTADDRESS$
-p 1248 -v<br>
MEMUSE -w $ARG1$ -c $ARG2$<br>
       }<br>
<br>
define command{<br>
       command_name    check_nt40_fileage<br>
       command_line    $USER1$/check_nt40 -H $HOSTADDRESS$
-p 1248 -v<br>
FILEAGE .l $ARG1$ -w $ARG2$ -c $ARG3$<br>
       }<br>
<br>
define command{<br>
       command_name    check_nt40_pagingfile<br>
       command_line    $USER1$/check_nt40 -H $HOSTADDRESS$
-p 1248 -v<br>
COUNTER -l "\\Paging File(_Total)\\%% Usage","Paging File
usage is %.2f<br>
%%" -w $ARG1$ -c $ARG2$<br>
       }</tt></font><font size=3><br>
</font>
<br>