Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BGP Sessions on RouterOS 6.4x use wrong path #161

Closed
JonathanThorpe opened this issue Jul 8, 2024 · 1 comment
Closed

BGP Sessions on RouterOS 6.4x use wrong path #161

JonathanThorpe opened this issue Jul 8, 2024 · 1 comment

Comments

@JonathanThorpe
Copy link

It appears that the BGP datasource is using "/routing/bgp/session" on any RouterOS version, however this only applies to RouterOS 7.x

To get similar data for RouterOS 6.4x, "/routing bgp peer print detail" would be the equivalent.

This results in:
Error getting BGP sessions info from router host@ip: ('Error "no such command prefix" executing command b'/routing/bgp/session/print .tag=2568'', b'no such command prefix')

akpw added a commit that referenced this issue Aug 11, 2024
@akpw
Copy link
Owner

akpw commented Aug 11, 2024

@JonathanThorpe OK added 6.x support in 6e3ea42, pls test & provide feedback

@akpw akpw closed this as completed Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants