Minemap Column Width

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
luczynj
Posts: 88
Joined: Wed Dec 03, 2014 6:47 pm

Minemap Column Width

Post by luczynj »

Hello all!

I have two versions of Nagios running in Production. One is the primary (running 2014r2.7) and one the backup (running 5.3.3). I've been anxious to go live with the 5.3.3 version until one of my frontline team members told me the new minemap won't be fit for use for them, so I am stuck with v2014r2.7 until I find a solution for this.

In the 2014r2.7 version, the minemap hostname column is only as wide as the widest hostname. Then the services column fills up the rest of the screen real estate.

In the 2016 V5.3.3 version, the minemap screen is split straight down the middle. Regardless of hostname width, the hostname column takes up the left half of the screen and the services get the other half. That's a lot of unused screen real estate.

Has anyone else found this to be problematic? Is there any tricks (modify the code) to change the size? I didn't see anyone else complaining about this. It'd be nice to have resizeable columns, or at least some choice of the layout.

Any help would be greatly appreciated.

All the best,
JL
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Minemap Column Width

Post by mcapra »

I made some small CSS changes that should hopefully get you the visual layout you're looking for:

Code: Select all

.minemap_dashlet .table {
	table-layout: auto;
}
Save that to a CSS file locally and upload it using the Custom Includes component.

Our new Custom Includes component (added in 5.3.0) was designed to gracefully handle visual changes people wish to make to their Nagios XI installation. Under Administration -> Custom Includes, you can upload custom CSS, Javascript, and Images to alter the appearance of your Nagios XI installation without changing core files.
2016_11_28_14_34_00_Administration_Nagios_XI.png
You will need to first upload the file, then make sure it is checked to be included and save the changes.
2016_11_28_14_34_43_Administration_Nagios_XI.png
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
https://www.mcapra.com/
luczynj
Posts: 88
Joined: Wed Dec 03, 2014 6:47 pm

Re: Minemap Column Width

Post by luczynj »

Thanks for the quick response, mcapra. It's a great improvement, but not quite there.

See the attached photo where there's still a bunch of wasted screen space. My production system is 5.2.9, so I'll have to upgrade that to get the custom include feature to see how it handles the thousands of services in production. I've just rebuilt this test system, so I'll get back to you with the results once I upgrade my production backup. Anything else you can help with squeezing more space out of the hostname column would be appreciated!

All the best,
JL
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Minemap Column Width

Post by rkennedy »

Could you please add another 15-20 hosts to the Minemap? With the function @mcapra mentioned, the CSS is assigning table-layout: auto so this will adjust based on the variables populating the table.
Former Nagios Employee
luczynj
Posts: 88
Joined: Wed Dec 03, 2014 6:47 pm

Re: Minemap Column Width

Post by luczynj »

I'm going to upgrade our 5.2.9 system today to give you a better example of a minemap, but on our 2014r2.7 system it looks like this. Just an idea of how drastic a change it was.
You do not have the required permissions to view the files attached to this post.
luczynj
Posts: 88
Joined: Wed Dec 03, 2014 6:47 pm

Re: Minemap Column Width

Post by luczynj »

Hi guys. Thanks so much for your assistance with this. I *really* appreciate it. Upgrading to 5.3.3 fix the minemap issue. See attached image. That's much better.

Now to do my testing! Have a great week.
You do not have the required permissions to view the files attached to this post.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Minemap Column Width

Post by dwhitfield »

Did you want to leave this open for testing, or are we good to close the thread? Thanks!
luczynj
Posts: 88
Joined: Wed Dec 03, 2014 6:47 pm

Re: Minemap Column Width

Post by luczynj »

I'm happy for you to close it. Thanks again!
Locked