Correct! It has to follow the exact format, and use the same keywords listed (http://www.observium.org/wiki/Interface_Description_Parsing) or the default parser will not pick them up. However! You can write your
own parser, and point to it in config.php.
$config['port_descr_parser'] = "includes/your_parser_here.inc.php";
I used the default port-descr-parser.inc.php in includes/ as a base template and went from there.
Then you’ll want to build some custom menu options to link back to those new categories, and drop them in html/includes/navbar-custom.inc.php. Example:
$navbar['ports']['entries'][] = array('divider' => TRUE);
$navbar['ports']['entries'][] = array('url' => generate_url(array('page' => 'iftype', 'type' => 'xxx')), 'image' => "images/16/group_link.png", 'title' => 'xxx'); $ifbreak = 1;
Replace ‘xxx’ with whatever your keyword is, Core, Server, etc.
From: observium [mailto:observium-bounces@observium.org]
On Behalf Of Hamilton, Kent
Sent: Friday, September 19, 2014 7:21 AM
To: Observium Network Observation System
Subject: Re: [Observium] Documentation
I was trying to use this feature but the parser for it seems a bit picky.
The examples in the docs seem to say I can use:
Type: SomeText
Type: SomeText [Speed/Service Type]
Type: SomeText [Speed/Service Type] (Notes)
Type: SomeText [Speed/Service Type] (Notes) {Circuit ID}
It appears that they have to be in exactly the latter format and exactly in that order or it doesn’t work at all. Can someone confirm the others are supposed to work?
I’d like to use things like
Core: switchname [40Gbit] (Interface)
Server: hostname here (Interface/Subnet)
And those don’t appear to get picked up.
From: observium [mailto:observium-bounces@observium.org]
On Behalf Of Søren Irbo
Sent: Wednesday, September 17, 2014 8:42 AM
To: observium@observium.org
Subject: [Observium] Documentation
Hi!
Stumbled upon this feature, are there other nice features, which are not documented?
http://jira.observium.org/browse/OBSERVIUM-299
Can’t find it here:
http://www.observium.org/wiki/Configuration_Options#Custom_traffic_graphs
/Søren
This e-mail and any documents accompanying it may contain legally privileged and/or confidential information belonging to Exegy, Inc. Such information may be protected from disclosure by law. The information is intended for use by only the addressee. If you
are not the intended recipient, you are hereby notified that any disclosure or use of the information is strictly prohibited. If you have received this e-mail in error, please immediately contact the sender by e-mail or phone regarding instructions for return
or destruction and do not use or disclose the content to others.