Hypermap uses only left half of 23" monitor screen

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Sturm
Posts: 14
Joined: Wed Sep 26, 2012 2:52 am

Re: Hypermap uses only left half of 23" monitor screen

Post by Sturm »

Hi,

Yes that give me a wider screen. But still not wide enough. If I want to be able to read all the host name's I need to zoom in, but I can't enlarge Hypermap itself. Here is a screen shot:
Image

I've also tested this with the "popout" function, same result.

Gr.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Hypermap uses only left half of 23" monitor screen

Post by slansing »

Besides what has been suggested, as well as clicking and dragging there is not currently a way to do what you are asking. If you would like, a developer can take a look at the component and quote you for custom development.
Sturm
Posts: 14
Joined: Wed Sep 26, 2012 2:52 am

Re: Hypermap uses only left half of 23" monitor screen

Post by Sturm »

Hmm.. that's to bad. We will just work with the component as it is. Hopefully a function will be added to enlarged it in a later version.

But thanks for your help..

Now I got your attention I have another question about the Hypermap if you don't mind.

We have a couple users who access Nagiosxi. These users can see only the hosts that are relevant for them, usually that means they can see around 10 to 15 hosts. But they cannot use the Hypermap component. The feedback they get from Hypermap if they try to open it: You are not authorized to view all hosts and services.

Is there a way to work around this. Is it possible for these users to see their hosts in the hypermap component?

Gr.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Hypermap uses only left half of 23" monitor screen

Post by slansing »

Sure, feel free to add a feature request to http://tracker.nagios.com/ as this would be a great feature!

Due to the way that the Hypermap displays relationships "Parent > Child" I'm not sure if this could be worked around since their user must have access to view the parents, and children that are connected "some may not be viewable by them." I can talk to one of our dev's and get you a more clear answer today.
Sturm
Posts: 14
Joined: Wed Sep 26, 2012 2:52 am

Re: Hypermap uses only left half of 23" monitor screen

Post by Sturm »

Okay thanks.

I just want to add that the users who want to use Hypermap are able to see all the parents off the child's that are visible to them in Nagios.

Gr.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Hypermap uses only left half of 23" monitor screen

Post by sreinhardt »

These are parents that they are not contacts for? This should not really be the case, I would think, and may be incorrect, that it would be possible to redraw the map with just the hosts that a user has access to. In that same regard, if they are not contacts, can they click on the host and get additional information about it or are they blocked from this?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Sturm
Posts: 14
Joined: Wed Sep 26, 2012 2:52 am

Re: Hypermap uses only left half of 23" monitor screen

Post by Sturm »

They are also contacts for these parents. Even if I add a user who can only see one host that does not have a parent, Hypermap still tells me: You are not authorized to view all hosts and services. Only if I gave this user admin rights Hypermap works, but it shows all of the hosts in Nagiosxi.

This is what a user can see about a host:
Image

Gr.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Hypermap uses only left half of 23" monitor screen

Post by slansing »

I believe I may have a solution for you, open the following file on your nagios xi server and make these changes:

Code: Select all

vim /usr/local/nagiosxi/html/includes/components/hypermap/index.php
Comment out the following lines and write/quit the file:

Code: Select all

 // only certain people can see this
        if(is_authorized_for_all_objects()==false){
                echo gettext("You are not authorized to view all hosts and services.");
                exit();
                }
Now, for good measure, run the following and then check to see how the logged in user perceives the loaded hypermap:

Code: Select all

service httpd restart

service nagios restart
Sturm
Posts: 14
Joined: Wed Sep 26, 2012 2:52 am

Re: Hypermap uses only left half of 23" monitor screen

Post by Sturm »

Hi,

That worked like a charm.

Thanks!

Greetz.
Locked