Check Windows service if it is running
Posted: Tue Oct 01, 2019 6:59 am
Hi,
i use NagiosQL and i have this command to check if a service is down:
$USER1$/check_nt -t 90 -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$
$ARG1$ SERVICESTATE -l "NtFrs" -d SHOWALL
Nagios go in a red state if service is down. Is it possible that i change the command that Nagios go in a red state if the service is up?
Regards
Dennis
i use NagiosQL and i have this command to check if a service is down:
$USER1$/check_nt -t 90 -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$
$ARG1$ SERVICESTATE -l "NtFrs" -d SHOWALL
Nagios go in a red state if service is down. Is it possible that i change the command that Nagios go in a red state if the service is up?
Regards
Dennis