Skip to Content.
Sympa Menu

rare-dev - [rare-dev] Broken SNMP in latest forwarder code

Subject: Rare project developers

List archive

[rare-dev] Broken SNMP in latest forwarder code


Chronological Thread 
  • From: Alexander Gall <>
  • To: " Frédéric LOUI" <>
  • Cc: mc36 <>, "" <>
  • Subject: [rare-dev] Broken SNMP in latest forwarder code
  • Date: Fri, 11 Feb 2022 18:09:25 +0100

Hi Frederic

SNMP in the latest code (95739f) is broken:

Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: BfIfSnmpClient - main
Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: bf_switchd started with SNMP
export
Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: Generic table clearing:
(Order not matters)
Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: Exception in thread bf_snmp:
Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: Traceback (most recent call
last):
Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: File
"/nix/store/bvz1i8rik3ynd1rpb8gczwqfayxv4dfz-bf_forwarder-22.02.11/lib/python3.8/site-packages/rare/bf_snmp_client/__init__.py",
line 35, in run
Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: self.active_subifs =
self.getAllActiveSubInterfaces()
Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: File
"/nix/store/bvz1i8rik3ynd1rpb8gczwqfayxv4dfz-bf_forwarder-22.02.11/lib/python3.8/site-packages/rare/bf_snmp_client/__init__.py",
line 297, in getAllActiveSubInterfaces
Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: tbl_global_path =
"%s.ig_ctl" % self.pipe_name
Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: AttributeError:
'BfIfSnmpClient' object has no attribute 'pipe_name'
Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: During handling of the above
exception, another exception occurred:
Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: Traceback (most recent call
last):
Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: File
"/nix/store/v72cj06nk69cynckz2s12rhar25k1h7v-python3-3.8.5/lib/python3.8/threading.py",
line 932, in _bootstrap_inner
Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: self.run()
Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: File
"/nix/store/bvz1i8rik3ynd1rpb8gczwqfayxv4dfz-bf_forwarder-22.02.11/lib/python3.8/site-packages/rare/bf_snmp_client/__init__.py",
line 80, in run
Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: "%s - exited with code
[%s]" % (self.class_name, _Exception())
Feb 11 17:52:11 spare-PB1 start_bffwd.sh[12143]: NameError: name '_Exception'
is not defined

Speaking of SNMP, can you please explain (again) the problem that
occured with NMaaS and SNMP queries?

@csaba: If freerouter now has SNMP support built in (that was news to
me), how exactly does it work?

--
Alex



Archive powered by MHonArc 2.6.19.

Top of Page