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

The plugin doesn't support Microsoft SQL Azure #37

Open
k67078 opened this issue Sep 16, 2021 · 1 comment
Open

The plugin doesn't support Microsoft SQL Azure #37

k67078 opened this issue Sep 16, 2021 · 1 comment
Assignees
Labels
help wanted Extra attention is needed

Comments

@k67078
Copy link

k67078 commented Sep 16, 2021

HI,
We receive the error below when we ran Invoke-IcingaCheckMSSQLHealth to check Microsoft SQL Azure.
Error:
@@servicename' is not supported in this version of SQL Server.

Following the error I found out that Get-IcingaMSSQLInstanceName is querying @@ServerName which is not supported in Microsoft SQL Azure

@LordHepipud LordHepipud self-assigned this Aug 27, 2022
@LordHepipud
Copy link
Contributor

Thank you for the issue. I'm not sure if the plugin entirely is supposed to work with Azure.
I assume the plugin will connect to a remote instance of MSSQL and not apply the check locally? In that case, the health check would not work at all, because we fetch the local service state and therefor require the instance name for the service.

The basic idea behind this health plugin was to connect to the database, check if that is working and afterwards see if all required services are working.

If my assumption is correct and Azure MSSQL is not meant for that (I have no experience with it), I would be open for suggestions for monitoring the MSSQL health with additional information and make it compatible with Azure MSSQL.

@LordHepipud LordHepipud added the help wanted Extra attention is needed label Aug 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants