Page 1 of 1

Changing the Web Interface Layout

Posted: Thu Sep 10, 2015 11:27 am
by neworderfac33
Good afternoon,

I have noticed that within the Nagios Core web interface, in (for example) the Host Group summary, the HostGroups into which I have grouped my hosts are laid out in alphabetical order, left to right, top to bottom.

I have been asked if there are any options to change this. Is it even possible?

Thanks in advance

Pete

Re: Changing the Web Interface Layout

Posted: Thu Sep 10, 2015 4:44 pm
by ssax
Can you be more specific on how you would like it changed?

Re: Changing the Web Interface Layout

Posted: Fri Sep 11, 2015 10:35 am
by neworderfac33
Good afternoon,

My boss doesn't like the way in which groups of hosts containing different numbers of hosts are laid out on the screen. So, for example, it might look like this:

Code: Select all

 _______________________ __________________________________
|                                       |                                                           |
|                                       |                                                           |
|    Hostgroup A                 |                       Hostgroup B                   |
|                                       |                                                           |
|______________________ |                                                          |
|                                        |                                                          |
|                                        |_________________________________|
|     Hostgroup C                 |                                                          |
|                                        |                                                          |
|_______________________|                                                          |
|                                        |                                                          |
|    Hostgroup D                  |                  HostGroup E                      |
|_______________________|                                                          |
                                         |                                                          |
                                          |_________________________________|
He wants to see Hostgroup C vertically positioned at the same point as Hostgroup E, Hostgroup D vertically positioned after Hostgroup, and so on.

In other words, the host groups won't be tiled, but will be displayed in rows, with white space where hostgroups are longer or shorter than than the one to their left or right.

Does that make sense?

Thanks and have a good weekend.

Pete

Re: Changing the Web Interface Layout

Posted: Fri Sep 11, 2015 12:02 pm
by tmcdonald
It's certainly possible, but it would require re-writing the part of Core that builds the page. How big or small of a change this would be, I can't say.

Re: Changing the Web Interface Layout

Posted: Mon Sep 14, 2015 3:32 am
by neworderfac33
That's all I needed to know - thanks very much! :-)

This thread can now be closed.

Pete