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

FEATURE request: Check MSSQL health with scheduled JOBS focus #58

Open
picoroma opened this issue Feb 11, 2025 · 2 comments
Open

FEATURE request: Check MSSQL health with scheduled JOBS focus #58

picoroma opened this issue Feb 11, 2025 · 2 comments

Comments

@picoroma
Copy link

I need to check the HEALTH of MSSQL on WINDOWS server.
“Icinga for Windows” already in place so I wan to try to use this plugin.

I saw that Icinga for Windows can be enhanced with some PS module to check the Health of MSSQL.
https://icinga.com/docs/icinga-for-windows/latest/mssql/doc/plugins/02-Invoke-IcingaCheckMSSQLHealth/

But there is no “check” for the Scheduled JOB Status .
I’m interested to be alerted if a scheduled JOB fails.

I found this NAGIOS PLugin:
https://github.com/yosbit/nagios-plugins/blob/master/README/README_check_mssql.md

That can be used as a "base" to create some more PS script to monitor MSSSQL and the Schedult JOB od MSSQL itself.

Any Idea ?

@RincewindsHat
Copy link
Member

Hello again @picoroma :-)
Just to satisfy my curiosity, could you explain what a "Scheduled Job" in MSSQL is and how
one can determine whether something is "good" or "bad"?

@picoroma
Copy link
Author

I'm talking about "SQL Server Agent Job" and more in details abount " Notification regarding Job Status (fails or error)
More info: https://learn.microsoft.com/en-us/sql/ssms/agent/configure-sql-server-agent?view=sql-server-ver16

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

No branches or pull requests

2 participants