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.
Service check MSSQL Instance
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Service check MSSQL Instance
Just tested to verify and this worked in $ARG1$
Code: Select all
MSSQL\$NAME-
dazzlerellis
- Posts: 7
- Joined: Wed Aug 28, 2019 4:29 am
Re: Service check MSSQL Instance
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.
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
I'm not sure what you are referring to.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.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Service check MSSQL Instance
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.
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!