I've tried playing around with the check_nt command as follows:
Code: Select all
check_nt -H $SERVERNAME$ -p 12489 -v SERVICESTATE -l $SERVICENAME$Here is the service in the host which checks as normal (alert if not running):
Code: Select all
define service{
hosts $SERVERNAME$
service_description Apache Tomcat
check_command check_nt!$SERVICENAME$
use generic-service
notification_interval 0 ; set > 0 if you want to be renotified
contact_groups IT
}
Thanks in advance!