Re: 2 equal services on the same host
Posted: Thu Sep 14, 2017 5:09 pm
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:
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'
}