-
Notifications
You must be signed in to change notification settings - Fork 273
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
[database::mssql::plugin] --mode=databases-size: returns OK even database not exists #4988
Labels
Comments
are there any news on this? |
Hello :) This is not a voluntarily generated OK in fact the result table is empty but no error is reported (which in itself is a problem I completely agree). At the end of the result parse (line 372) something like this should be added:
(This is a proposition that I was not able to test it on my own.) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you are monitor a non existing MS SQL database using the option
--filter-database=
the plugin returns OK, when you filter for a non existing database. Example:This is a big issue and in this case the plugin should return CRITICAL or UNKNOWN, but not OK.
The text was updated successfully, but these errors were encountered: