Service check MSSQL Instance

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dazzlerellis
Posts: 7
Joined: Wed Aug 28, 2019 4:29 am

Service check MSSQL Instance

Post by dazzlerellis »

Hey does anyone know how to check service with service name similar to MSSQL$NAME
I am running command
$USER1$/check_nrpe -H $HOSTADDRESS$ -c CheckServiceState -a ShowAll $ARG1$

I've read many posts abouts using double dollars, triple backslashes etc but they seem to be outdated as none seem to work with latest nsclient.

Many thanks this is the last check I need to solve to finish migration to XI, thanks in advance.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Service check MSSQL Instance

Post by scottwilkerson »

Just tested to verify and this worked in $ARG1$

Code: Select all

MSSQL\$NAME
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dazzlerellis
Posts: 7
Joined: Wed Aug 28, 2019 4:29 am

Re: Service check MSSQL Instance

Post by dazzlerellis »

Thanks sure I tried that but will test again once we are off the old monitoring.
Is the bug still around where the test fails but actual check works I wonder.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Service check MSSQL Instance

Post by scottwilkerson »

dazzlerellis wrote:Thanks sure I tried that but will test again once we are off the old monitoring.
Is the bug still around where the test fails but actual check works I wonder.
I'm not sure what you are referring to.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Service check MSSQL Instance

Post by benjaminsmith »

Hello @dazzlerellis,

It looks like you were able to come to a resolution. Did you need any other assistance? When you have a moment let us know. Thanks.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked