Issue monitoring SQL based Windows services
Posted: Thu Feb 21, 2019 2:15 pm
Hello,
I'm attempting to monitor some SQL based services listed in Windows services and I'm encountering an error that I don't understand. These are what I'm trying to monitor:
MSSQL$ADFS -- SQL Server (ADFS) = doesn't work
MSSQL$ADMT -- SQL Server (ADMT) = doesn't work
MSSQLSERVER -- SQL Server (MSSQLSERVER) = works
MSSQL$SKYPE2015ARCMON -- SQL Server (SKYPE2015ARCMON) = doesn't work
MSSQL$SKYPE2015BACKEND -- SQL Server (SKYPE2015BACKEND) = doesn't work
Left is the service name and right is the display name. It seems the services with the '$' in the name Nagios can't find. Here's the output from the Run Check Command:
[nagios@nagiosxi ~]$ /usr/local/nagios/libexec/check_nt -H 10.131.11.170 -s "" -p 1248 -v SERVICESTATE -l MSSQL$ADFS -d SHOWALLMSSQL: Not found
The MSSQLSERVER service works fine, but the others do not. Is there some syntax issue I'm not aware of? I'm just using the built in Windows Service check (check_xi_service_nsclient).
Thank you.
I'm attempting to monitor some SQL based services listed in Windows services and I'm encountering an error that I don't understand. These are what I'm trying to monitor:
MSSQL$ADFS -- SQL Server (ADFS) = doesn't work
MSSQL$ADMT -- SQL Server (ADMT) = doesn't work
MSSQLSERVER -- SQL Server (MSSQLSERVER) = works
MSSQL$SKYPE2015ARCMON -- SQL Server (SKYPE2015ARCMON) = doesn't work
MSSQL$SKYPE2015BACKEND -- SQL Server (SKYPE2015BACKEND) = doesn't work
Left is the service name and right is the display name. It seems the services with the '$' in the name Nagios can't find. Here's the output from the Run Check Command:
[nagios@nagiosxi ~]$ /usr/local/nagios/libexec/check_nt -H 10.131.11.170 -s "" -p 1248 -v SERVICESTATE -l MSSQL$ADFS -d SHOWALLMSSQL: Not found
The MSSQLSERVER service works fine, but the others do not. Is there some syntax issue I'm not aware of? I'm just using the built in Windows Service check (check_xi_service_nsclient).
Thank you.