Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
None
-
Linux observium01 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64 GNU/Linux
Observium svn revision : 3992
Description
We have different groups of ports that we wanted to see under the ports nav drop down at the top in addition to 'customer','peering' etc. We wanted groups like Management, DRAC, and iSCSI.
We can specify these at the beginning of the port description on the switch using the standard naming types described here : http://www.observium.org/wiki/Interface_Description_Parsing
e.g.
EsxMgmt: ESX133-4
EsxMgmt: ESX134-4
Mgmt: PDU111
Inter: sw111-inter
You then specify an ordered list of the headings expected (so we only get what we want) in config.php as per the below.
$config['int_groups'] = array("EsxData","EsxMgmt","EsxiSCSI","EQL","Mgmt","LAGs","PI","DRAC");
I've patched the navbar.inc.php to pull out this list from the config and populate the drop down, see screenshot. Everything else is already done by the existing code.
I'm happy to edit the wiki page above and add some documentation if this gets approved.