Icinga / icinga-web

Icinga Web 1.x, the old new web interface (EOL 31.12.2018)
22 stars 11 forks source link

[dev.icinga.com #2816] Incorrect status map of hosts #837

Closed icinga-migration closed 12 years ago

icinga-migration commented 12 years ago

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

Created by k0nstantin on 2012-07-12 08:06:14 +00:00

Assignee: mhein Status: Resolved (closed on 2012-09-19 19:13:28 +00:00) Target Version: 1.8 Last Update: 2012-09-19 19:13:28 +00:00 (in Redmine)


Status map cronk doesn't show all hosts when parent-child host relation is used. And colour of host nodes is independent of hosts states.

Attachments

Changesets

2012-09-19 15:28:44 +00:00 by jmosshammer 930a64ee9606ff3ceb6f73ab8dfd6a588dc6a4ef

Statusmap fixes (fixes #2931, fixes #2816, fixes #2595, refs #757)

Relations:

icinga-migration commented 12 years ago

Updated by mfriedrich on 2012-07-26 11:15:24 +00:00

possibly related to #2520

@Marius

please have a look!

icinga-migration commented 12 years ago

Updated by mfriedrich on 2012-07-26 11:16:43 +00:00

should be confirmed with this posting. http://www.monitoring-portal.org/wbb/index.php?page=Thread&postID=175051#post175051

icinga-migration commented 12 years ago

Updated by QIONIS on 2012-07-26 11:23:47 +00:00

So this patch can now view the link between child and both parents?

icinga-migration commented 12 years ago

Updated by mfriedrich on 2012-07-26 11:25:09 +00:00

best would be to backup your existing icinga-web and give the patch a try, reporting back if the issue is solved - so the patch can make it into upcoming releases.

icinga-migration commented 12 years ago

Updated by QIONIS on 2012-07-26 11:31:57 +00:00

I want two links to host

icinga-migration commented 12 years ago

Updated by mfriedrich on 2012-07-26 11:35:39 +00:00

that sounds more like an additional feature request, rather than solving the original issue. please create a new issue, adding your example configs, the screenshot as well as a short introduction, as well as a note if that is possible in the classic ui statusmap.

but not here, as this is a different problem.

icinga-migration commented 12 years ago

Updated by mopp on 2012-08-10 08:22:33 +00:00

Now I can see all hosts. But all dots have the same color light gray. So I removed the patch of /app/modules/Cronks/lib/js/Cronks/StatusMap/RGraph.js. Now I can see all hosts and can see the colors of the dots.

To fix the problem DO NOT apply the patch for /app/modules/Cronks/lib/js/Cronks/StatusMap/RGraph.js But apply patch for /app/modules/Cronks/models/System/StatusMapModel.class.php $hosts[$parentId]["children"][] = &$hosts[$objectId];

Can somebody confirm this?

icinga-migration commented 12 years ago

Updated by jmosshammer on 2012-09-19 19:13:28 +00:00

Applied in changeset 930a64ee9606ff3ceb6f73ab8dfd6a588dc6a4ef.