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
Minemap Column Width
Re: Minemap Column Width
I made some small CSS changes that should hopefully get you the visual layout you're looking for:
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.
You will need to first upload the file, then make sure it is checked to be included and save the changes.
Code: Select all
.minemap_dashlet .table {
table-layout: auto;
}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.
You will need to first upload the file, then make sure it is checked to be included and save the changes.
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Minemap Column Width
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
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.
Re: Minemap Column Width
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
Re: Minemap Column Width
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.
Re: Minemap Column Width
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.
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
Did you want to leave this open for testing, or are we good to close the thread? Thanks!
Re: Minemap Column Width
I'm happy for you to close it. Thanks again!