Mikrotik plugin V2.4.0 and CHR

Hi ttr

Thanks for the support.
I am getting the KeyError: ‘established’ error on both the physical devices and CHR installations.
It does not always occur.

I don’t quite understand the script. Do you have any idea what could be causing this?

As a rule, I have defined BGP Session, Hardware Health and Router Board for the agent.

Agent exited with code 1: Traceback (most recent call last):
File "/omd/sites/[[******]/local/share/check_mk/agents/special/agent_mikrotik", line 484, in <module>
out[i]['established'] = bgpline['established']
~~~~~~~^^^^^^^^^^^^^^^
KeyError: 'established'

A second problem is that I get the message for devices that do not have an integrated power supply. Starting job…

Starting job...
WARNING: Parsing of section mikrotik_power failed - please submit a crash report! (Crash-ID: 87239e78-e14e-11ee-92c9-005056af725d)
Completed.