I know, I know, you hate me customizing the code, but the BBMap forcing vertical text change has really screwed me here. I kind of like it myself, but I have users screaming because some of my long service names are being cut off and it is also causing MUCH more screen to be taken up by the same BBMaps used before.
I could fix one of those issues if I just changed the service name table cells be auto height. I can handle php and html, but throw css into the mix and I'm a lost puppy. Can anyone assist with what I'd need to change in bbmap.css or bbmap.inc.php to make the services auto height? Some services are short also, causing extra space to be consumed by the bbmap.
Thanks!
BBMap changes
BBMap changes
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: BBMap changes
Can you post a screenshot of what you're seeing? By "auto-height" do you mean the top header cells?
Former Nagios employee
Re: BBMap changes
This is a customer's dashboard. The center top bbmap could be shorter and the lower right one needs to be taller. That'd solve the one complaint, but then the empty white space I'll just have to tell them to deal with it.
You do not have the required permissions to view the files attached to this post.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: BBMap changes
I played around with the CSS a bit but we use a (to my knowledge) non-standard CSS rule to get the text rotated like that, so standard CSS rules for width and whatnot might not apply, or else I am just doing it wrong. I think this will need to go to the devs. I'll doc it up.
Edit: Bug ID 6778, recommended to auto-adjust height. It's also worth noting that you can hover over the name to get the full thing if it is cut off.
Edit: Bug ID 6778, recommended to auto-adjust height. It's also worth noting that you can hover over the name to get the full thing if it is cut off.
Former Nagios employee
Re: BBMap changes
I just noticed an updated BBMap component that wasn't available yesterday morning. I installed but no change, any idea what changed?
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: BBMap changes
Here is a diff:
Looks like they just added the tt-bind-d class to the title.
Code: Select all
c:\Users\ssax\Downloads>diff -bur component-bbmap/bbmap bbmap
diff -bur component-bbmap/bbmap\bbmap.inc.php bbmap\bbmap.inc.php
--- component-bbmap/bbmap\bbmap.inc.php Fri Oct 02 13:46:33 2015
+++ bbmap\bbmap.inc.php Thu Oct 29 15:02:50 2015
@@ -28,7 +28,7 @@
$args = array(
COMPONENT_NAME => $bbmap_component_name,
- COMPONENT_VERSION => '1.1.3',
+ COMPONENT_VERSION => '1.1.4',
COMPONENT_AUTHOR => "Nagios Enterprises, LLC",
COMPONENT_DESCRIPTION => _("Displays a grid-like view of host and service status. ") . $desc,
COMPONENT_TITLE => "BBMap"
@@ -405,6 +405,6 @@
function bbmap_get_service_title($s)
{
- $title = "<div class='bbmapverticaltext' title='$s'>$s</div>";
+ $title = "<div class='bbmapverticaltext tt-bind-d' title='$s'>$s</div>";
return $title;
} Looks like they just added the tt-bind-d class to the title.