check_xi_mssql_query

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Zagon007
Posts: 14
Joined: Tue Jul 11, 2017 2:55 am

check_xi_mssql_query

Post by Zagon007 »

Hello to everyone!

Using the check "check_xi_mssql_query" I get as output "Query expected \" $ expected_result \ "but got \" $ query_result \ ".";
when in reality the query would be successful if re-executed.
How can I solve the problem?


ty
E.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: check_xi_mssql_query

Post by lmiltchev »

Where do you see the error - in the GUI, when you test the check from the command line, when you test the check in the CCM?
...when in reality the query would be successful if re-executed.
Are you rerunning the check from the CLI or you click on the "Force an immediate check" quick actions button under the "Service Status Detail" page?

Can you show us the actual check, run from the command line along with the output of it?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked