Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

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

Closed
icinga-migration opened this issue Jul 12, 2012 · 8 comments
Closed

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

icinga-migration opened this issue Jul 12, 2012 · 8 comments

Comments

@icinga-migration
Copy link

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 930a64e

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

Relations:

@icinga-migration
Copy link
Author

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

  • Category set to Interface Features
  • Status changed from New to Assigned
  • Assigned to set to mhein
  • Priority changed from Normal to High
  • Target Version set to 1.8

possibly related to #2520

@marius

please have a look!

@icinga-migration
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

  • File added 2_Links.png

I want two links to host

@icinga-migration
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset 930a64e.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant