-
Notifications
You must be signed in to change notification settings - Fork 109
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
Failing after upgrading RouterOS to 7.18 #229
Comments
I am also having failures on a Hex and CCR1009-7G-1C-1S+ Exception happened during processing of request from ('172.19.0.1', 46336) |
There are different "checks" which are failing with ROS 7.18:
|
Upon a quick look, looks like the exception is from the RouterOS-api and it seems to happen whenever an API call returns an empty response from a RouterOS device. Probably due to a change in the format in one of the latest RouterOS versions, not yet reflected in the library. Here is a quick way to see what happening:
A quick workaround for now could be disabling the
|
https://forum.mikrotik.com/viewtopic.php?t=215048#p1129769 This come from this change : "*) console - put !empty sentence when API query returns nothing;" |
2025-02-25 17:28:44 Connection to router [email protected] has been established
Error getting IPv4 pool used info from router [email protected]: ('Malformed sentence %s', [b'!empty', b'.tag=10'])
Traceback (most recent call last):
File "/usr/local/bin/mktxp", line 8, in
sys.exit(main())
^^^^^^
File "/usr/local/lib/python3.12/site-packages/mktxp/cli/dispatch.py", line 108, in main
MKTXPDispatcher().dispatch()
File "/usr/local/lib/python3.12/site-packages/mktxp/cli/dispatch.py", line 39, in dispatch
self.start_export(args)
File "/usr/local/lib/python3.12/site-packages/mktxp/cli/dispatch.py", line 89, in start_export
ExportProcessor.start()
File "/usr/local/lib/python3.12/site-packages/mktxp/flow/processor/base_proc.py", line 37, in start
REGISTRY.register(CollectorHandler(RouterEntriesHandler(), CollectorRegistry()))
File "/usr/local/lib/python3.12/site-packages/prometheus_client/registry.py", line 40, in register
names = self._get_names(collector)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/prometheus_client/registry.py", line 80, in _get_names
for metric in desc_func():
The text was updated successfully, but these errors were encountered: