Mikrotik plugin V2.4.0 and CHR

Hi Tom,

thanks for reaching out!

Here’s the output:

[admin@FW-01] > system routerboard print 
  routerboard: no
[admin@FW-01] >

Sounds reasonable as there’s no routerboard, it’s a VM.

OMD[networking]:~/local/share/check_mk/agents/special$ ./agent_mikrotik -n -c8728 --debug -u api_user_ro -p xxxxxxxxxxx -i board 10.138.xx.xxx
<<<check_mk>>>
Version: 2.4.x-mikrotik_agent
Traceback (most recent call last):
  File "./agent_mikrotik", line 359, in <module>
    version=myapi(["/system/routerboard/print"])[0]['current-firmware'].split('.')[0]
KeyError: 'current-firmware'
OMD[networking]:~/local/share/check_mk/agents/special$

Alejandro.-