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 #9207] Show icinga program version in Monitoring Health #1632
Comments
Updated by mfriedrich on 2015-04-30 14:34:48 +00:00
|
Updated by mfriedrich on 2015-04-30 15:56:35 +00:00
|
Updated by mfriedrich on 2015-04-30 15:58:32 +00:00 Better: Add the instance_name too. |
Updated by mfriedrich on 2015-05-01 13:48:30 +00:00 Only go for the program_version column. |
Updated by mfriedrich on 2015-05-01 14:12:22 +00:00
I've pushed a basic version into the linked feature branch. One problem comes to the mind - the fallback for mapping non-existing columns is currently done in joinBaseTables in Statusquery.php. This does not work for Programstatusquery.php as there is no table join to be done. Though there's no more virtual function being called by the main class allowing to modify the columnMap hash. @tom |
Updated by jmeyer on 2015-05-05 11:27:55 +00:00
|
Updated by jmeyer on 2015-05-05 11:27:58 +00:00
|
Updated by jmeyer on 2015-05-05 11:33:44 +00:00 If I may interrupt this ;P What about ProgramstatusQuery::init() ? |
Updated by mfriedrich on 2015-05-05 14:32:35 +00:00
Doesn't really help as the children's init() function is never called, thanks though. Alex did come up with a different solution in #9223 so I will rebase my git branch against his fix and merge to master then. |
Updated by mfriedrich on 2015-05-05 14:33:03 +00:00
|
Updated by mfriedrich on 2015-05-05 15:08:10 +00:00
Applied in changeset defda53. |
This issue has been migrated from Redmine: https://dev.icinga.com/issues/9207
Created by mfriedrich on 2015-04-30 14:33:47 +00:00
Assignee: mfriedrich
Status: Resolved (closed on 2015-05-05 15:08:10 +00:00)
Target Version: 2.0.0-rc1
Last Update: 2015-05-05 15:08:10 +00:00 (in Redmine)
Currently I only know that icinga is not running, but what if there are multiple backends not running?
It would be nice to know which instance & program_version is involved.
The database query could look like this:
Attachments
Changesets
2015-05-01 14:00:55 +00:00 by mfriedrich 8f8e8f2
2015-05-01 14:09:14 +00:00 by mfriedrich 84654ed
2015-05-05 15:02:45 +00:00 by mfriedrich defda53
Relations:
The text was updated successfully, but these errors were encountered: