Page 1 of 1

Hypermap Does Not Display any Hosts

Posted: Wed May 11, 2011 3:46 pm
by cskang
Hi,
I am running Nagios XI 2011R1.2 on VMplayer 3.1.4.
Linux distribution it is running on is CentOS release 5.4 (Final) Kernel 2.6.18-164.9.1.el5 on an i686.

I used to see hosts on Hypermap, but I don't see it any more.
I am not sure when this change was started.

Currently, all other maps (i.e. BBMap, Minemap, and Network Status Map) seem to display hosts information ok.
But, in Hypermap, I don't see anything except 'Hypermap' text on the upper left corner, an icon with "Add This To A Dashboard" tooltip, and "About This Map" text on the right side of the frame.
Besides those, I only see white space on the frame and not a host.

I looked at the /var/log/httpd/error_log, but I did not see anything abnormal.

I would appreciate it if anyone can answer how to resolve this issue.

Re: Hypermap Does Not Display any Hosts

Posted: Thu May 12, 2011 4:25 pm
by mguthrie
Which browser are you using? Does trying it in Firefox make a difference?

If your browser has an "error console", open it up, clear it, and then load the hypermap. See if you get any javascript errors and post them if you do.

Re: Hypermap Does Not Display any Hosts

Posted: Thu May 12, 2011 7:20 pm
by cskang
Hi,
Thanks for the direction.
The problem happens with Internet Explorer (version 8).
I looked at the error console of IE 8, and it displays the following error in red color and a link showing the location of the code:
'id' is null or not an object jit.js, line 4020 character 5

When I clicked the "jit.js, line 4020 character 5", it displayed the following lines:
4018 addAdjacence: function (obj, obj2, data) {
4019 if(!this.hasNode(obj.id)) { this.addNode(obj); }
-->4020 if(!this.hasNode(obj2.id)) { this.addNode(obj2); }
4021 obj = this.nodes[obj.id]; obj2 = this.nodes[obj2.id];
.. if(!obj.adjacentTo(obj2)) {
.. var adjsObj = this.edges[obj.id] = this.edges[obj.id] || {};
.. var adjsObj2 = this.edges[obj2.id] = this.edges[obj2.id] || {};
.. adjsObj[obj2.id] = adjsObj2[obj.id] = new Graph.Adjacence(obj, obj2, data, this.Edge, this.Label);
.. return adjsObj[obj2.id];
.. }
.. return this.edges[obj.id][obj2.id];
.. },


I tried it with Firefox and it works ok with Firefox.

Re: Hypermap Does Not Display any Hosts

Posted: Fri May 13, 2011 10:08 am
by mguthrie
Yeah I'll have to double check, but I think that particular javascript library for the hypermap may not fully support IE. We generally recommend using Firefox anyway as the most trustworthy browser.

Re: Hypermap Does Not Display any Hosts

Posted: Tue May 17, 2011 11:30 pm
by cskang
Thanks. I will just use FireFox.

Re: Hypermap Does Not Display any Hosts

Posted: Thu May 19, 2011 9:13 am
by tonyyarusso
(Script poke)