Page 1 of 1

check_xi_mssql_query

Posted: Fri Dec 21, 2018 5:57 am
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.

Re: check_xi_mssql_query

Posted: Fri Dec 21, 2018 11:22 am
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?