Currently, I'm having an OSPF neighbor that is not connected. The state is "Init" and should be classified as a warning. It's not an OK state.
Exception | TypeError ('>' not supported between instances of 'State' and 'State')
-- | --
Traceback | File "/omd/sites/<site>/lib/python3/cmk/base/checkers.py", line 912, in get_aggregated_result check_result = check_function(**item_kw, **params_kw, **section_kws) File "/omd/sites/wiesopprum/lib/python3/cmk/base/checkers.py", line 685, in __check_function return _aggregate_results(consume_check_results(check_function(*args, **kw))) File "/omd/sites/<site>/lib/python3/cmk/base/checkers.py", line 757, in consume_check_results for subr in subresults: File "/omd/sites/<site>/lib/python3/cmk/base/api/agent_based/register/check_plugins.py", line 96, in filtered_generator for element in generator(*args, **kwargs): File "/omd/sites/<site>/local/lib/python3/cmk_addons/plugins/mikrotik/agent_based/mikrotik_ospf.py", line 91, in check_mikrotik_ospf if State.WARN > worst_state: '>' not supported between instances of 'State' and 'State'
Local Variables | {'address': 'fe80...%vlanXXX', 'item': 'x.x.x.x', 'neighbor_data': {'fe80...%vlanXXX': 'Init'}, 'ok_states': {'TwoWay', 'Full', '2-Way'}, 'params': Parameters({'ok_states': ['Full', 'TwoWay', '2-Way']}), 'section': {x.x.x.x': {'fe80...%vlanXXX': 'Init'}}, 'state': 'Init', 'state_details': ['fe80...%vlanXXX: Init (!)'], 'worst_state': <State.OK: 0>}
Crash Type | check
Time | 2026-03-16 17:41:09
Operating System | Debian GNU/Linux 13 (trixie)
Checkmk Version | 2.4.0p23
Edition | cre
Core | nagios
Python Version | 3.12.11 (main, Mar 4 2026, 13:38:56) [GCC 14.2.0]
Python Module Paths | /omd/sites/wiesopprum/local/lib/python3/omd/sites/<site>/lib/python3/cloud/omd/sites/<site>/lib/python312.zip/omd/sites/wiesopprum/lib/python3.12/omd/sites/<site>/lib/python3.12/lib-dynload/omd/sites/<site>/lib/python3.12/site-packages/omd/sites/<site>/lib/python3
CheckMK Version: 2.4.0p24
Mikrotik MKP Version: 3.3.0
Mikrotik Version: RouterOS RB750Gr3 (v7.20.1)
Affected section: mikrotik_ospf
Currently, I'm having an OSPF neighbor that is not connected. The state is "Init" and should be classified as a warning. It's not an OK state.
Crash report: