NSClient

Rusch, Daniel Daniel.Rusch at GlobalCrossing.com
Tue Sep 10 23:01:39 CEST 2002


All,

Using NSClient:

I have the following command defined:

# 'check_nt_service' command definition
define command{
	command_name	check_nt_service
	command_line	/usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$
-v SERVICESTATE -t 30 -l $ARG1$
	}



In my services.cfg I have two services with the following commands defined
for the same host:


check_command			check_nt_service!MESSENGER

check_command			check_nt_service!TREND SERVERPROTECT


The check_nt_service!MESSENGER  works where as the check_nt_service!TREND
SERVERPROTECT does not.  I suspect it is the space that is the problem.  I
have tried:

check_nt_service!"TREND SERVERPROTECT"
check_nt_service!TREND\x20SERVERPROTECT
check_nt_service!"TREND\x20SERVERPROTECT"

to no avail,  any ideas

Thanks,

Dan
 


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390




More information about the Users mailing list