Skip to content
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

CheckMSSQLHealth: MSSQL service is not being included to the checks with not running state #32

Closed
yhabteab opened this issue May 25, 2021 · 0 comments · Fixed by #33
Closed
Assignees
Milestone

Comments

@yhabteab
Copy link
Member

Problem

I had the time to set up a MSSQL server today and was able to test the Invoke-IcingaCheckMSSQLHealth plugins. But had to notice that the MSSQLSERVER service is not added to the checks at all when it is paused or stopped. So, the question is why is it being included in the checks when it is started, but not when it is paused or stopped, instead you only get DB connection error as output. If there is no Icinga service checks running in addition, unfortunately you can't do anything based on this error message. Is that the way it's supposed to be?

[CRITICAL] Check package "MSSQL Health ()" (Match All) - [CRITICAL] DB Connection error
\_ [CRITICAL] DB Connection error
| 'db_connection_error'=1;;
2
Status   Name               DisplayName
------   ----               -----------
Paused   MSSQLSERVER        SQL Server (MSSQLSERVER)
@LordHepipud LordHepipud self-assigned this May 26, 2021
@LordHepipud LordHepipud added this to the v1.2.0 milestone May 26, 2021
@LordHepipud LordHepipud linked a pull request May 26, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants