NSClient install problem

Pavel Santos p_santos at psantos.no-ip.org
Wed Sep 28 23:10:58 CEST 2005


Hello list, 

 

I'm running Nagios 2.0b4 on FC4.  I'm having problem getting NSClient
to work right.  I installed the nsclient in one of my windows work but I
can't  get the scripts to work.  

 

As described in the instructions, I   copied the file 'check_nt' under
the libexec folder of Nagios but can not add lines below to the
commands.cfg file: 

command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v
USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$
command[check_nt_cpuload]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v
CPULOAD -l $ARG1$
command[check_nt_uptime]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v
UPTIME
command[check_nt_clientversion]=$USER1$/check_nt -H $HOSTADDRESS$ -p
1248 -v CLIENTVERSION
command[check_nt_process]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v
PROCSTATE -l $ARG1$
command[check_nt_service]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v
SERVICESTATE -l $ARG1$
command[check_nt_memuse]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v
MEMUSE -w $ARG1$ -c $ARG2$
command[check_nt_fileage]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v
FILEAGE -l $ARG1$ -w $ARG2$ -c $ARG3$

 

I don't have just one commands.cfg file, I have a few that execute the
ping and swap commands (which are the only two checks currently
working).   My question is, given that I don't have a single command.cfg
file, how do I manage to get all the new check_nt commands above on my
configuration?  Thanks in advance for your help.

 

Pavel   

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050928/a8ed078b/attachment.html>


More information about the Users mailing list