Disable auto adding ports on Mikrotik PPPoE Server
Hi
I have two Mikrotik PPPoE Servers added to Observium and it constantly adding new ports as users get connected with PPPoE ports, and then deleted as user disconnects. After some time a lot of ports appear in Deleted Port, that I need to manually delete them, and also disk space grows as new rrd's gets created. I tried adding "bad_if" in config file but without success, because this interfaces don't have description. Also is there any way to permanently delete this previously added port from database and rrd folder.
Thanks,
Petar Janev
Why just not use bad_if_type?
On 23/09/13 11:19, Petar Janev wrote:
Hi
I have two Mikrotik PPPoE Servers added to Observium and it constantly adding new ports as users get connected with PPPoE ports, and then deleted as user disconnects. After some time a lot of ports appear in Deleted Port, that I need to manually delete them, and also disk space grows as new rrd's gets created. I tried adding "bad_if" in config file but without success, because this interfaces don't have description. Also is there any way to permanently delete this previously added port from database and rrd folder.
Thanks,
Petar Janev _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Only thing that I found on documentation web page was bad_if. You mean bad_iftype, this is what I found in defaults.inc.php $config['bad_iftype'][] = "usb";
Is there any documentation of what I can put as string in bad_iftype ?
On 23.09.2013 09:41, Nikolay Shopik wrote:
Why just not use bad_if_type?
On 23/09/13 11:19, Petar Janev wrote:
Hi
I have two Mikrotik PPPoE Servers added to Observium and it constantly adding new ports as users get connected with PPPoE ports, and then deleted as user disconnects. After some time a lot of ports appear in Deleted Port, that I need to manually delete them, and also disk space grows as new rrd's gets created. I tried adding "bad_if" in config file but without success, because this interfaces don't have description. Also is there any way to permanently delete this previously added port from database and rrd folder.
Thanks,
Petar Janev _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Here is list defined iftype you can use http://www.iana.org/assignments/ianaiftype-mib/ianaiftype-mib
On 23/09/13 12:10, Petar Janev wrote:
Only thing that I found on documentation web page was bad_if. You mean bad_iftype, this is what I found in defaults.inc.php $config['bad_iftype'][] = "usb";
Is there any documentation of what I can put as string in bad_iftype ?
On 23.09.2013 09:41, Nikolay Shopik wrote:
Why just not use bad_if_type?
On 23/09/13 11:19, Petar Janev wrote:
Hi
I have two Mikrotik PPPoE Servers added to Observium and it constantly adding new ports as users get connected with PPPoE ports, and then deleted as user disconnects. After some time a lot of ports appear in Deleted Port, that I need to manually delete them, and also disk space grows as new rrd's gets created. I tried adding "bad_if" in config file but without success, because this interfaces don't have description. Also is there any way to permanently delete this previously added port from database and rrd folder.
Thanks,
Petar Janev _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
In iana link they are only two ppp options: ppp, pppMultilinkBundle I tried both of them, without success. In deleted port search form, when "ppp" is selected in Media, the ports appeared, so they are properly recognized as "ppp".
On 23.09.2013 10:12, Nikolay Shopik wrote:
Here is list defined iftype you can use http://www.iana.org/assignments/ianaiftype-mib/ianaiftype-mib
On 23/09/13 12:10, Petar Janev wrote:
Only thing that I found on documentation web page was bad_if. You mean bad_iftype, this is what I found in defaults.inc.php $config['bad_iftype'][] = "usb";
Is there any documentation of what I can put as string in bad_iftype ?
On 23.09.2013 09:41, Nikolay Shopik wrote:
Why just not use bad_if_type?
On 23/09/13 11:19, Petar Janev wrote:
Hi
I have two Mikrotik PPPoE Servers added to Observium and it constantly adding new ports as users get connected with PPPoE ports, and then deleted as user disconnects. After some time a lot of ports appear in Deleted Port, that I need to manually delete them, and also disk space grows as new rrd's gets created. I tried adding "bad_if" in config file but without success, because this interfaces don't have description. Also is there any way to permanently delete this previously added port from database and rrd folder.
Thanks,
Petar Janev _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Petar, not sure if it was on accident or on purpose, but our install does not pick up pppoe instances. We too use Mikrotik's for pppoe servers (and would happily "donate" for MT MIB support) and hate how some of the other monitoring tools automatically add the interfaces as well. Observium, for us, has never tried to add pppoe interfaces but does add ppp interfaces, such as vpn tunnels. Below is the default config that was installed. I presume the badif pppoe is what is causing our interfaces to be ignored.
[bad_if] => Array ( [0] => voip-null [1] => virtual- [2] => unrouted [3] => eobc [4] => lp0 [5] => -atm [6] => faith0 [7] => container [8] => async [9] => plip [10] => -physical [11] => container [12] => unrouted [13] => bluetooth [14] => isatap [15] => ras [16] => qos [17] => span rp [18] => span sp [19] => sslvpn [20] => pppoe- )
[bad_iftype] => Array ( [0] => voiceEncap [1] => voiceEM [2] => voiceFXO [3] => voiceFXS [4] => voiceOverAtm [5] => voiceOverFrameRelay [6] => voiceOverIp [7] => ds0 [8] => ds1 [9] => ds3 [10] => atmSubInterface [11] => aal5 [12] => shdsl [13] => mpls [14] => usb )
[bad_if_regexp] => Array ( [0] => /^ng[0-9]+$/ [1] => /^sl[0-9]/ )
Robbie Wright Siuslaw Broadband http://siuslawbroadband.com 541-902-5101
**For support issues, please email support@siuslawbroadband.com.**
On Tue, Sep 24, 2013 at 3:22 AM, Petar Janev petar@5.net.mk wrote:
In iana link they are only two ppp options: ppp, pppMultilinkBundle I tried both of them, without success. In deleted port search form, when "ppp" is selected in Media, the ports appeared, so they are properly recognized as "ppp".
On 23.09.2013 10:12, Nikolay Shopik wrote:
Here is list defined iftype you can use http://www.iana.org/**assignments/ianaiftype-mib/**ianaiftype-mibhttp://www.iana.org/assignments/ianaiftype-mib/ianaiftype-mib
On 23/09/13 12:10, Petar Janev wrote:
Only thing that I found on documentation web page was bad_if. You mean bad_iftype, this is what I found in defaults.inc.php $config['bad_iftype'][] = "usb";
Is there any documentation of what I can put as string in bad_iftype ?
On 23.09.2013 09:41, Nikolay Shopik wrote:
Why just not use bad_if_type?
On 23/09/13 11:19, Petar Janev wrote:
Hi
I have two Mikrotik PPPoE Servers added to Observium and it constantly adding new ports as users get connected with PPPoE ports, and then deleted as user disconnects. After some time a lot of ports appear in Deleted Port, that I need to manually delete them, and also disk space grows as new rrd's gets created. I tried adding "bad_if" in config file but without success, because this interfaces don't have description. Also is there any way to permanently delete this previously added port from database and rrd folder.
Thanks,
Petar Janev ______________________________**_________________ observium mailing list observium@observium.org http://postman.memetic.org/**cgi-bin/mailman/listinfo/**observiumhttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium
______________________________**_________________ observium mailing list observium@observium.org http://postman.memetic.org/**cgi-bin/mailman/listinfo/**observiumhttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Tom, I like your sense of humor. MT is a pain to work with on most support issues. I've been trying to get snmpv3 to work between Observium and MT for weeks and still struggling with the mismatched engineID problem. MT's MIB is pretty well documented http://www.mikrotik.com/download/Mikrotik.mib and I'd like to donate to Observium to offically support the MIB, ala Cisco. MT get's plenty of my "donations" when boards blow up that they won't RMA. Or I buy lemons (like the 1100) and have to replace all of them.
Robbie Wright Siuslaw Broadband http://siuslawbroadband.com 541-902-5101
**For support issues, please email support@siuslawbroadband.com.**
On Tue, Sep 24, 2013 at 8:37 AM, Tom Laermans tom.laermans@powersource.cxwrote:
Robbie,
On 09/24/2013 04:23 PM, Robbie Wright wrote:
We too use Mikrotik's for pppoe servers (and would happily "donate" for MT MIB support)
I'm not sure Mikrotik accepts donations, but if you can bribe them to add a decent SNMP implementation, by all means go ahead!
Tom
______________________________**_________________ observium mailing list observium@observium.org http://postman.memetic.org/**cgi-bin/mailman/listinfo/**observiumhttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Hmm.
Interesting that they seem to have a MIB file after all. Apparently since the beginning of this year. :-) Especially as they don't even support regular RFC mibs such as the centuries old BGP4-MIB :|
I see health stats (voltage, temperature), wireless stats, PoE stats, interface stats; would be nice if they actually populated the description of the fields, no?
Tom
On 24/09/2013 17:52, Robbie Wright wrote:
Tom, I like your sense of humor. MT is a pain to work with on most support issues. I've been trying to get snmpv3 to work between Observium and MT for weeks and still struggling with the mismatched engineID problem. MT's MIB is pretty well documented http://www.mikrotik.com/download/Mikrotik.mib and I'd like to donate to Observium to offically support the MIB, ala Cisco. MT get's plenty of my "donations" when boards blow up that they won't RMA. Or I buy lemons (like the 1100) and have to replace all of them.
Robbie Wright Siuslaw Broadband http://siuslawbroadband.com 541-902-5101
**For support issues, please email support@siuslawbroadband.com mailto:support@siuslawbroadband.com.**
On Tue, Sep 24, 2013 at 8:37 AM, Tom Laermans <tom.laermans@powersource.cx mailto:tom.laermans@powersource.cx> wrote:
Robbie, On 09/24/2013 04:23 PM, Robbie Wright wrote: We too use Mikrotik's for pppoe servers (and would happily "donate" for MT MIB support) I'm not sure Mikrotik accepts donations, but if you can bribe them to add a decent SNMP implementation, by all means go ahead! Tom _______________________________________________ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
<sarcasm> What, documentation of features? That'd be too easy. </sarcasm>
They use a few different standard MIB's (listed herehttp://wiki.mikrotik.com/wiki/Manual:SNMP#Management_information_base_.28MIB.29), and yes, it'd be nice if they supported the RFC standard ones as well.
Robbie Wright Siuslaw Broadband http://siuslawbroadband.com 541-902-5101
**For support issues, please email support@siuslawbroadband.com.**
On Tue, Sep 24, 2013 at 10:04 AM, Tom Laermans tom.laermans@powersource.cxwrote:
Hmm.
Interesting that they seem to have a MIB file after all. Apparently since the beginning of this year. :-) Especially as they don't even support regular RFC mibs such as the centuries old BGP4-MIB :|
I see health stats (voltage, temperature), wireless stats, PoE stats, interface stats; would be nice if they actually populated the description of the fields, no?
Tom
On 24/09/2013 17:52, Robbie Wright wrote:
Tom, I like your sense of humor. MT is a pain to work with on most support issues. I've been trying to get snmpv3 to work between Observium and MT for weeks and still struggling with the mismatched engineID problem. MT's MIB is pretty well documented http://www.mikrotik.com/download/Mikrotik.mib and I'd like to donate to Observium to offically support the MIB, ala Cisco. MT get's plenty of my "donations" when boards blow up that they won't RMA. Or I buy lemons (like the 1100) and have to replace all of them.
Robbie Wright Siuslaw Broadband http://siuslawbroadband.com 541-902-5101
**For support issues, please email support@siuslawbroadband.com.**
On Tue, Sep 24, 2013 at 8:37 AM, Tom Laermans <tom.laermans@powersource.cx
wrote:
Robbie,
On 09/24/2013 04:23 PM, Robbie Wright wrote:
We too use Mikrotik's for pppoe servers (and would happily "donate" for MT MIB support)
I'm not sure Mikrotik accepts donations, but if you can bribe them to add a decent SNMP implementation, by all means go ahead!
Tom
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing listobservium@observium.orghttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (4)
-
Nikolay Shopik
-
Petar Janev
-
Robbie Wright
-
Tom Laermans