-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error 2051 and 1553 - executing via REST API #563
Comments
I second that behaviour. Calling this check via REST-API always results in the aforementioned events. The check is then falling back to local execution, giving coherent results, so the check by itself is working fine. |
Thx!! So, as for now... Can we say that MSSQL Checks with basic authentication are not REST-API ready? Or better: We need a framework/Service adjustment to call checks with securestring arguments? I'll try with "-IntegratedSecurity" instead of these basic auth stuff tomorrow. If this won't work, I'll have to accept these events as false-positives. Blacklisting these MSSQL Checks gives an other event which is a false-positive too. Kudos to the upcomming eventqueue for icinga :) |
Don't mistake me for staff, I'm just an average Joe giving his thoughts and findings. :) On that note: It seems, that basic authentication only works when run locally. The securestring is needed, because the credentials used for the MSSQL-connection are defined by the SqlCredential Class, which itself demands a secure string: We'll have to wait for an official statement. :) |
Sorry for taking so long and for the issue. Release is scheduled for Tuesday, 30th August. |
I get the following two errors every time when a MSSQL Check ist executed via REST API
EventID 1553:
SQL COmmands are whitelisted
How is ist possible to debug this? Or is there a missconfiguation? Manual executing works without these errors and without using REST API.
The text was updated successfully, but these errors were encountered: