@TLI finaly I had some time to look at the updated Meraki Agent (cmk2.2.0b6):
the key for the org id is not organizationId but id
→ Fixed.
the key ‘organizationId’ is expected by cisco_meraki_org_licenses_overview.py
Key changed to id → ok. but still not included in the section. This still crashes cisco_meraki_org_licenses_overview.py (send to feedback-2.2-beta@checkmk.com)
File "/omd/sites/cmk22/lib/python3/cmk/base/plugins/agent_based/cisco_meraki_org_licenses_overview.py", line 49, in _make_item_name
return f"{row['id']}"
I have added line 296 to the agent, with line 297 I add the org name so this can at least be shown in the details of the licence overview:
if there are no section to fetch is configured in the agent rule, the agent does nothing. I think by default the agent should fetch all sections.
→ Fixed
the item for the services should not be the org id but the org name in my opinion
→ Don’t work at the moment (see item 2)
not every device has a lanIP
→ Fixed
piggyback data by IP-address
→ changed to device name, OK for me.
cisco_meraki_org_device_info works, but wrong path
→ Address, Product type, Orgid/Name was added but still in the wrong path (at least in my opinion)
cisco_meraki_org_device_status.py section name don’t match
→ Fixed
@TLI I have tstet the Maraki agent with cmk 2.2.0b8
the key ‘organizationId’ is expected by cisco_meraki_org_licenses_overview.py
→ fixed.
the item for the services should not be the org id but the org name in my opinion
→ item has changed to “org_name/org_id” → OK but should be better configurable (discovery rule).
cisco_meraki_org_device_info works, but wrong path
→ fixed
You should use the name as in your Meraki environment. The piggiback data don’t come as ip address anymore as not all devices have a lan ip.
In my environment I have created a Host MerakiCloud and attched the Cisco Meraki special agent to this host. With this you sould be able to discover the Cisco Meraki Licenses services of your Meraki Organisation. In the background the agent will discover your devices as pigiback data. For these data I have a created a Dynamic host management rule.
…hi, i try to get checkmk_infos about our cisco/meraki equipment, but i am a bit lost now.
Can you please explain a bit further how to get more infos?
I just get the licencses from our equippment but nothing more.
If you have your Devices allready created I think you can skip the Dynamic Host Management part. And just rediscover the services of your Meraki devices.
Thats it
To check if the agent finds your devices you can run the agent on the cli
first check if the agent is correctly attached to your dummy host
then run the agent manually, depending on your environment you sould get at least one cisco_meraki_org_licenses_overview section and for each device one host section as pigiback (4x< ) and in each host section one cisco_meraki_org_device_info section
…thanks for the more detailed info, but i think i know the difference: you have probably a checkmk enterprise edition and sadly i have only the raw edition. So some features are missing…
We have planned to buy the CEE but that takes time in our company.
So i have only two options: waiting, or manage everything with custom scripts.
You mean the Dynamic Host Management. This sould be not a big issue, depending on the number of devices you can create them manually or via REAT-API and you sould be fine. If you do so use the exact same device names in CMK as in the Meraki Dashboard.