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

[dev.icinga.com #12579] Warning/Critical thresholds on the IDO check #4591

Closed
icinga-migration opened this issue Aug 28, 2016 · 1 comment
Closed
Labels
area/db-ido Database output enhancement New feature or request

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/12579

Created by lewiseason on 2016-08-28 15:14:27 +00:00

Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2016-08-28 15:14:27 +00:00 (in Redmine)

Backport?: Not yet backported
Include in Changelog: 1

I'd like to be able to be alerted when aspects of my IDO instance go out of regular values - specifically, I want to know if there are many pending queries, or if the backend can't keep up.

At the moment, I can either write a check that interrogates the API, or I can examine the log file and generate alerts based on the IDO statistics line that gets periodically written.

It'd be neat if we could specify warning/critical at least for `pending_queries` if nothing else, since this is already being checked once by icinga2, instead of having to check it again, for example, here is a modified version of my current check command:

apply Service "IDO" {
        check_command = "ido"

        vars.ido_type = "IdoMysqlConnection"
        vars.ido_name = "ido-mysql"

        vars.pending_queries_warn = 100
        vars.pending_queries_crit = 1000

        assign where "monitoring" in host.groups
}

It might also be nice if the check could output the estimated clear time in the same way as the info message does.

@icinga-migration icinga-migration added enhancement New feature or request area/db-ido Database output labels Jan 17, 2017
@dnsmichi
Copy link
Contributor

That's a duplicate of #3924 actually which needs re-evaluation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/db-ido Database output enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants