Windows service monitoring with Nagios XI
Posted: Wed Mar 04, 2020 1:34 pm
Good morning,
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:
In this scenario, Stopped is OK and we don't want it to show a Critical status.
Could you tell me if and how I could do that?
Thank you!
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!