I want to keep all customers' graphs under the *Ports>Customers* tab.
And just tried to follow this instruction:
https://docs.observium.org/port_descr_parsing/
I am not really sure where to add these line: Cust: Example Customer [10Mbit] (T1 Telco Y CCID129031) {EXAMP0001}
On Wed, Dec 9, 2020 at 9:35 PM Adam Armstrong via observium < observium@observium.org> wrote:
What are you trying to do?
You don’t need to copy anything to use our default port parsing, and adding random non-code text to a PHP file will break it.
Adam.
*From:* observium observium-bounces@observium.org *On Behalf Of *Tasnim Tamanna via observium *Sent:* 09 December 2020 15:34 *To:* Observium observium@observium.org *Cc:* Tasnim Tamanna desideratasnim@gmail.com *Subject:* [Observium] interface description parsing
Hi All,
For interface description parsing, I have copied the whole *port-descr-parser.inc.php *file to *custom-port-descr-parser.inc.php *file, and added below lines in the new file:
cust: *cust_name* [*speed*] (*a_note*) {*circuit_id*}
Finally, added below lines in *config.php* file:
$config['int_transit'] = 1; // Enable Transit Types $config['int_peering'] = 1; // Enable Peering Types $config['int_core'] = 1; // Enable Core Port Types $config['int_customers'] = 1; // Enable Customer Port Parsing $config['port_descr_parser'] = "includes/custom-port-descr-parser.inc.php";
But it's not working. Need help :-( _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium