Page 2 of 2
Re: Hypermap uses only left half of 23" monitor screen
Posted: Tue Jul 02, 2013 5:58 am
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:
I've also tested this with the "popout" function, same result.
Gr.
Re: Hypermap uses only left half of 23" monitor screen
Posted: Tue Jul 02, 2013 9:37 am
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.
Re: Hypermap uses only left half of 23" monitor screen
Posted: Tue Jul 02, 2013 11:57 am
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.
Re: Hypermap uses only left half of 23" monitor screen
Posted: Tue Jul 02, 2013 12:40 pm
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.
Re: Hypermap uses only left half of 23" monitor screen
Posted: Tue Jul 02, 2013 1:47 pm
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.
Re: Hypermap uses only left half of 23" monitor screen
Posted: Tue Jul 02, 2013 3:51 pm
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?
Re: Hypermap uses only left half of 23" monitor screen
Posted: Wed Jul 03, 2013 6:36 am
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:
Gr.
Re: Hypermap uses only left half of 23" monitor screen
Posted: Wed Jul 03, 2013 11:59 am
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
Re: Hypermap uses only left half of 23" monitor screen
Posted: Thu Jul 04, 2013 5:30 am
by Sturm
Hi,
That worked like a charm.
Thanks!
Greetz.