BBMap Default View
-
CFT6Server
- Posts: 506
- Joined: Wed Apr 15, 2015 4:21 pm
BBMap Default View
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
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:
And change (around line 106) from:
To (for hostgroup):
* Make sure to change HOSTGROUPNAME to your actual hostgroup name
Or (for servicegroup):
* Make sure to change SERVICEGROUPNAME to your actual servicegroup name
Try it out and let me know how that works for you.
* 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.phpCode: Select all
"href" => get_base_url() . 'includes/components/bbmap/',* 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',* 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',