Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
[dev.icinga.com #3686] Host Overview - Empty contacts & contactgroups #42
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
In the Host Overview Report, the sub dataset with the contactgroups is empty.
2013-03-03 18:51:02 +00:00 by (unknown) cac85a7
2013-03-03 19:40:57 +00:00 by (unknown) 51d35ae
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 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