Hi.
I need to monitor the pppoe interfaces of an rb1100 x4, but I can not get the software to register them, despite using the line unset ($ config ['device_traffic_iftype']);
$ config ['device_traffic_iftype'] [] = '/ pppo /';
Any ideas.
Thanks.
I made a debug of Poller.php, and I see what the poller Ignore the interfaces.
How can I do, for the poller.php add this interfaces to the system?
valid valid validSQL[^[[1;33mINSERT IGNORE INTO `ports` (`device_id`,`ifIndex`,`ifName`) VALUES (:device_id,:ifIndex,:ifName) ^[[0;33m{"device_id":1,"ifIndex":3,"ifName":"ether3 "}^[[0m 2.63ms]
SQL[^[[1;33mINSERT IGNORE INTO `ports_statistics` (`port_id`) VALUES (:port_id) ^[[0;33m{"port_id":"0"}^[[0m 0.23ms]
SQL[^[[1;33mSELECT * FROM `ports` WHERE `port_id` = ? ^[[0;33m["0"]^[[0m 0.31ms]
Adding: ether3 ](3)(0)SQL[^[[1;33mINSERT IGNORE INTO `ports_statistics` (`port_id`) VALUES (:port_id) ^[[0;33m{"port_id":"0"}^[[0m 0.11ms]
valid valid valid valid valid valid valid valid valid valid valid validignored by ifDescr: <pppoe-username> (matched: pppoe-)
SQL[^[[1;33mUPDATE `ports` set `deleted`=? WHERE `port_id` = ? ^[[0;33m["1",null]^[[0m 0.23ms]
ignored by ifDescr: <pppoe-username> (matched: pppoe-)
Config.php
unset($config['device_traffic_iftype']);
$config['device_traffic_iftype'][] = '/ppp/';
$config['device_traffic_iftype'][] = '/mpls/';
$config['device_traffic_iftype'][] = '/pppoe/';
====================================
Component | Version
--------- | -------
LibreNMS | 1.43-15-gd17eb4faa
DB Schema | 262
PHP | 7.2.7-0ubuntu0.18.04.2
MySQL | 10.1.34-MariaDB-0ubuntu0.18.04.1
RRDTool | 1.7.0
SNMP | NET-SNMP 5.7.3
====================================
[OK] Composer Version: 1.7.2
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
Try setting $config['good_if'][] = 'pppoe-';
in your config.php
Thank you very much for the contribution.
It worked perfect.
Thanks again