MikroTik plugin

I have fixed the WATO part for that plugin, but I am still struggling/lacking knowledge where the agent part can access these values.

In 1.x cmk it was:

special_agents.setdefault('mikrotik', [])

special_agents['mikrotik'] = [
{'condition': {'host_folder': '/%s/' % FOLDER_PATH,
               'host_name': ['mikrotik.beispiel.de']},
 'options': {'comment': u'test ruleset'},
 'value': {'connect': 8728,
           'infos': ['bgp',
                     'ospf',
                     'vrrp',
                     'health',
                     'board',
                     'ipsec',
                     'firewall'],
           'nossl': True,
           'password': 'xxxxxxxx',
           'user': 'checkmk'}},
] + special_agents['mikrotik']

But now it’s like:

static_checks.setdefault('something', [] )
static_checks['something'] = [
{ ... }
] + static_checks['something']

If I figure the last one out, I’ll let you know. For now I have hardcoded the credentials in ~/local/share/check_mk/agents/special/agent_mikrotik