BBMap Default View

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
CFT6Server
Posts: 506
Joined: Wed Apr 15, 2015 4:21 pm

BBMap Default View

Post by CFT6Server »

Trying to look at BBMaps and putting them in our dashboard. Unfortunately i think due to the hostgroups and services that we have, when you first click on BBMap, it tries to map everything, which hangs the browser. Is there something we can do to set the default selection so BBMap doesn't hang when someone clicks on it?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: BBMap Default View

Post by ssax »

You can give this a try.
* Make sure you have good backups/vm snapshots just in case.
* If you upgrade and/or update the BBmap component this will get reverted and you will have to implement it again.

Edit:

Code: Select all

/usr/local/nagiosxi/html/includes/components/bbmap/bbmap.inc.php
And change (around line 106) from:

Code: Select all

"href" => get_base_url() . 'includes/components/bbmap/',
To (for hostgroup):
* Make sure to change HOSTGROUPNAME to your actual hostgroup name

Code: Select all

"href" => get_base_url() . 'includes/components/bbmap/?hostgroup=HOSTGROUPNAME&servicegroup=&goButton=Update',
Or (for servicegroup):
* Make sure to change SERVICEGROUPNAME to your actual servicegroup name

Code: Select all

"href" => get_base_url() . 'includes/components/bbmap/?hostgroup=&servicegroup=SERVICEGROUPNAME&goButton=Update',
Try it out and let me know how that works for you.
Locked