Nagios 4 MAP Changes

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
nathanplatt
Posts: 267
Joined: Thu May 07, 2015 4:59 am

Nagios 4 MAP Changes

Post by nathanplatt »

Hi Everyone,

Is it possible to specify defaults on the MAP so that a server is set as start point and the size of the map are at our settings for startup on the website?

Nathan
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios 4 MAP Changes

Post by tmcdonald »

What specific version of Core 4 are you running? I believe there are some changes in 4.1 that will allow, at the least, manually switching to have a certain host at the center. I do not know if this is planned to be configurable.
Former Nagios employee
nathanplatt
Posts: 267
Joined: Thu May 07, 2015 4:59 am

Re: Nagios 4 MAP Changes

Post by nathanplatt »

I've installed 4.1.0rc1, latest I could find.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios 4 MAP Changes

Post by tgriep »

In Nagios Core 4.1.0rc1, you can customize the map screen.
Click on the Maps link and then click the top right corner where the 3 bars are.
map-corner.JPG
map-corner.JPG (8.24 KiB) Viewed 2452 times
This screen will allow you to customize the map screen. Then set the Root Node to the system you want as the starting point.
Nagios-Map.JPG
Is this what you are looking for?
Be sure to check out our Knowledgebase for helpful articles and solutions!
nathanplatt
Posts: 267
Joined: Thu May 07, 2015 4:59 am

Re: Nagios 4 MAP Changes

Post by nathanplatt »

Thanks for that, i've seen that but is there anyway to make this default encase we have to restart Nagios?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios 4 MAP Changes

Post by tmcdonald »

That could possibly be added to Core, but I'll be honest with you, that part of the interface is written in AngularJS and it's a complicated beast of a framework. I have an idea of what would need to be changed, but not a clue what possible other bugs that could introduce.

Your best bet getting this into the project would be to open an issue for it in GitHub:

https://github.com/NagiosEnterprises/nagioscore

Open an issue with a title like "[Enhancement] Allow setting map defaults" and link to this thread, explaining the request briefly as well. This will get it on the devs' radars and they can start looking into ways to implement it.
Former Nagios employee
nathanplatt
Posts: 267
Joined: Thu May 07, 2015 4:59 am

Re: Nagios 4 MAP Changes

Post by nathanplatt »

Thank you for this, I’ll investigate that. Can you close this please.
Locked