[dev.icinga.com #3686] Host Overview - Empty contacts & contactgroups #42
Comments
Updated by tkoeberl on 2013-02-11 08:53:26 +00:00
|
Updated by mfriedrich on 2013-02-12 19:49:09 +00:00
for discussion and a possible fix, check http://www.monitoring-portal.org/wbb/index.php?page=Thread&postID=184032#post184032 patches as usual welcome! |
Updated by mfriedrich on 2013-03-03 17:29:58 +00:00 from the discussion, grepped for the string outputs on the report.
will test my fix now. |
Updated by mfriedrich on 2013-03-03 17:53:59 +00:00 same goes for contacts.jrxml where the join is missing as well. host_id != host_object_id |
Updated by mfriedrich on 2013-03-03 18:39:50 +00:00
ok, the contacts query is a bit more broken too. the join of icinga_contacts with icinga_hosts_contacts must be done on the contact_object_id in both cases. the contact_id itsself is just an incremented primary key of the icinga_contacts table, and useless on joins when select objects (select from where is an implicit join). this query is correct and works in my tests.
|
Updated by mfriedrich on 2013-03-03 18:45:57 +00:00
i'm using this config to the contact - https://git.icinga.org/?p=icinga-core.git;a=blob;f=tests/etc/1502.cfg;hb=HEAD the generic contacts are to be found here - https://git.icinga.org/?p=icinga-core.git;a=blob;f=tests/etc/contacts.cfg;hb=HEAD fixed host contactgroup fixed host contact |
Updated by mfriedrich on 2013-03-03 18:55:14 +00:00
works for me. |
This issue has been migrated from Redmine: https://dev.icinga.com/issues/3686
Created by tkoeberl on 2013-02-11 08:48:58 +00:00
Assignee: mfriedrich
Status: Resolved (closed on 2013-03-03 18:55:14 +00:00)
Target Version: 1.8.2
Last Update: 2013-03-03 18:55:14 +00:00 (in Redmine)
In the Host Overview Report, the sub dataset with the contactgroups is empty.
Attachments
Changesets
2013-03-03 18:51:02 +00:00 by (unknown) cac85a7
2013-03-03 19:40:57 +00:00 by (unknown) 51d35ae
The text was updated successfully, but these errors were encountered: