Page 1 of 1
BBMap Default View
Posted: Thu Jul 02, 2015 4:37 pm
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?
Re: BBMap Default View
Posted: Thu Jul 02, 2015 4:53 pm
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.