I have a question regarding monitoring Windows services with XI.
Currently we are monitoring multiple SQL Server services and I would like to configure some of the checks to only alert as Critical when the service is Disabled. A Started or Stopped state would be OK.
Here's the check I would like to update:
Code: Select all
/usr/local/nagios/libexec/check_nt -H 10.228.x.x -s "" -p 1248 -v SERVICESTATE -l MSSQL\$SAGTSTSQL01 -d SHOWALL
MSSQL$SAGTSTSQL01: StoppedCould you tell me if and how I could do that?
Thank you!