Failed to open service: MSSQLMSSQLSERVER_2K12$
Posted: Mon Jun 12, 2017 11:39 am
Hi Team,
while configuring MSSQL$MSSQLSERVER_2K12 Serive in Nagios i am getting error "Failed to open service: MSSQLMSSQLSERVER_2K12$"
Noteable Points :
1.Command which is i am using to check service state > ./check_nrpe -H usa****** -t 30 -c CheckServiceState -a ShowAll "MSSQL"$"MSSQLSERVER_2K12"
2.while checking status form CLI (Collector server) getting service status as OK.
3.While checking status form GUI ( if check test Command ) getting output as OK.
4.But when i save that configuration and wait for latest check getting error "Failed to open service: MSSQLMSSQLSERVER_2K12$"
After few search on Exchange found that this issue is due to special character and to skip this i have already used below paramater and still i am getting ok state on Point 2 and 3 but after save the command on Point 4 Output on GUI getting same error "Failed to open service: MSSQLMSSQLSERVER_2K12$"
Tried Paramaters.
"MSSQL"$"MSSQLSERVER_2K12"
'MSSQL"$"MSSQLSERVER_2K12'
MSSQL"$"MSSQLSERVER_2K12
MSSQL\$MSSQLSERVER_2K12
MSSQL\\\$$MSSQLSERVER_2K12
MSSQL$MSSQLSERVER_2K12
MSSQL\$\MSSQLSERVER_2K12"
Output from CLI from TWO Different Commands
./check_nt -H usa**** -v SERVICESTATE -d SHOWALL -l MSSQL"$"MSSQLSERVER_2K12 -p 12489
MSSQL$MSSQLSERVER_2K12: Started
./check_nrpe -H usa****** -t 30 -c CheckServiceState -a ShowAll MSSQL"$"MSSQLSERVER_2K12
OK: MSSQL$MSSQLSERVER_2K12: running|
./check_nrpe -H usa****** -t 30 -c CheckServiceState -a ShowAll 'MSSQL$MSSQLSERVER_2K12'
OK: MSSQL$MSSQLSERVER_2K12: running|
Please Advise.
while configuring MSSQL$MSSQLSERVER_2K12 Serive in Nagios i am getting error "Failed to open service: MSSQLMSSQLSERVER_2K12$"
Noteable Points :
1.Command which is i am using to check service state > ./check_nrpe -H usa****** -t 30 -c CheckServiceState -a ShowAll "MSSQL"$"MSSQLSERVER_2K12"
2.while checking status form CLI (Collector server) getting service status as OK.
3.While checking status form GUI ( if check test Command ) getting output as OK.
4.But when i save that configuration and wait for latest check getting error "Failed to open service: MSSQLMSSQLSERVER_2K12$"
After few search on Exchange found that this issue is due to special character and to skip this i have already used below paramater and still i am getting ok state on Point 2 and 3 but after save the command on Point 4 Output on GUI getting same error "Failed to open service: MSSQLMSSQLSERVER_2K12$"
Tried Paramaters.
"MSSQL"$"MSSQLSERVER_2K12"
'MSSQL"$"MSSQLSERVER_2K12'
MSSQL"$"MSSQLSERVER_2K12
MSSQL\$MSSQLSERVER_2K12
MSSQL\\\$$MSSQLSERVER_2K12
MSSQL$MSSQLSERVER_2K12
MSSQL\$\MSSQLSERVER_2K12"
Output from CLI from TWO Different Commands
./check_nt -H usa**** -v SERVICESTATE -d SHOWALL -l MSSQL"$"MSSQLSERVER_2K12 -p 12489
MSSQL$MSSQLSERVER_2K12: Started
./check_nrpe -H usa****** -t 30 -c CheckServiceState -a ShowAll MSSQL"$"MSSQLSERVER_2K12
OK: MSSQL$MSSQLSERVER_2K12: running|
./check_nrpe -H usa****** -t 30 -c CheckServiceState -a ShowAll 'MSSQL$MSSQLSERVER_2K12'
OK: MSSQL$MSSQLSERVER_2K12: running|
Please Advise.