Page 2 of 2

Re: 2 equal services on the same host

Posted: Thu Sep 14, 2017 5:09 pm
by DiegoAnjos
Instead of checking the PROCESS, check the SERVICE:

As this service of has a $ on its name, you have to escape the $ with another $ and single-quote the name:

Code: Select all

define service{
	use			        generic-service
	host_name		SRVXXX
	service_description	Service XXX01
	check_command		check_nt!SERVICESTATE!-d SHOWALL -l 'A0S50$$01'
	}

Code: Select all

define service{
	use			        generic-service
	host_name		SRVXXX
	service_description	Service XXX02
	check_command		check_nt!SERVICESTATE!-d SHOWALL -l 'A0S50$$02'
	}

Re: 2 equal services on the same host

Posted: Fri Sep 15, 2017 1:35 pm
by cdienger
Hi h4doukeeN, did the last couple of replies help you?