Page 1 of 1

Network Status Map layout in url doesn't work

Posted: Thu Apr 11, 2019 5:04 pm
by russell.it
Morning,

I have been reading https://support.nagios.com/kb/article/n ... n-726.html which states I should be able to pass in the layout I want in the URL bar.

I.e. https://nagiosxi/nagiosxi/includes/comp ... p?layout=5

When I do that I just get the normal default circular layout.

Any ideas on what I am doing wrong? Also is it possible to pass in what nodes I want collapsed as arguments as well.

Cheers,

Russell.

Re: Network Status Map layout in url doesn't work

Posted: Fri Apr 12, 2019 9:30 am
by lmiltchev
Have you tried using the URL below?

Code: Select all

https://nagiosxi/nagiosxi/includes/components/statusmap/map.php?layout=5

Re: Network Status Map layout in url doesn't work

Posted: Mon Apr 15, 2019 8:22 pm
by russell.it
Thanks the new URL did work.

Also is it possible to collapse nodes down the url parameters.

i.e. when the map loads I can click on a parent node and it hides all the hosts under it. Can you pass in what nodes start collapsed.

Re: Network Status Map layout in url doesn't work

Posted: Tue Apr 16, 2019 8:38 am
by lmiltchev
Thanks the new URL did work.
I am glad I could help!
Also is it possible to collapse nodes down the url parameters.

i.e. when the map loads I can click on a parent node and it hides all the hosts under it. Can you pass in what nodes start collapsed.
There is no way, as far as I know, to collapse nodes by passing something to the URL.

Re: Network Status Map layout in url doesn't work

Posted: Tue Apr 16, 2019 7:11 pm
by russell.it
Ok thanks

Happy for this ticket to be marked as complete.

cheers.

Re: Network Status Map layout in url doesn't work

Posted: Wed Apr 17, 2019 9:36 am
by lmiltchev
Closing.