NSClient 4.4.23
Windows 2012 R2 Servers
SQL 2014
I have 2 Windows 2012 R2 Cluster Servers with SQL 2014 Both are VM;s on VMWare 6.5
I have three SQL instances running.
MSSQLSERVER
MSSQLSERVER$PROD1
MSSQLSERVER$PROD2
I set up Windows Service checks for the services so that the services that use the databases have a dependency for that sql service.
Both MSSQLSERVER$PROD1 and MSSQLSERVER$PROD2 work fine I get this error for MSSQLSERVER
MSSQLSERVER
This service has 2 comments associated with it This service problem has been acknowledged This service is currently in a period of scheduled downtime
CRITICAL 05-27-2018 18:40:10 0d 0h 7m 15s 10/10 SERVICE CRITICAL - 1 service(s).
My Define services are like this
Code: Select all
define service{
use generic-service
host_name SERV014-N1
service_description MSSQLSERVER
servicegroups Services
check_command check_nrpe!check_winservice! -a "--service mssqlserver --state stopped,paused --critical 0"
check_period backup_WIN12
notification_period backup_WIN12
}
define service{
use generic-service
host_name SERV014-N1
service_description MSSQLWRESTLING
servicegroups Services
check_command check_nrpe!check_winservice! -a '--service MSSQLWRESTLING --state stopped,paused --critical 0'
check_period backup_WIN12
notification_period backup_WIN12
}
define service{
use generic-service
host_name SERV014-N1
service_description MSSQLSHAREPOINT
servicegroups Services
check_command check_nrpe!check_winservice! -a '--service MSSQLSHAREPOINT --state stopped,paused --critical 0'
check_period backup_WIN12
notification_period backup_WIN12
}
; Check Windows Service
check_winservice = scripts\\check_winservice.exe $ARG1$ $ARG2$ $ARG3$
Using this plugin works for all others except for this one service very strange.
You would think I would have an issue with the ones with the $ sign
https://www.itefix.net/check_winservice
Any ideas or thoughts
Thank you
Tom