Ad Widget

Collapse

Assistance Needed: Integrating Cisco Meraki MX105 with Zabbix 6.4 on Ubuntu 22.04

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ali40
    Junior Member
    • Aug 2023
    • 5

    #1

    Assistance Needed: Integrating Cisco Meraki MX105 with Zabbix 6.4 on Ubuntu 22.04


    Hi Team,

    I recently installed Zabbix version 6.4 on an Ubuntu 22.04 server. I wish to monitor my Cisco Meraki MX105 firewall via Zabbix. Despite trying various methods to integrate it with Zabbix, it's not working. Both the Agent and SNMP Service are grayed out.

    Additionally, I've added the macros for the Meraki API Token, but it's not functioning as expected. Could you please guide me on how to add the Cisco Meraki MX105 to Zabbix 6.4 server? i have also attached the screenshots for your reference.
    Attached Files
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    Setting up agent or snmp interfaces does not help you as communication is done over http and not by agent or snmp query... This works over HTTP, connecting to Meraki API, you need to define both token and API url as macros..

    Code:
    You must set {$MERAKI.TOKEN} and {$MERAKI.API.URL} macros.
    
    Create the token in the Meraki dashboard (see Meraki [URL="https://developer.cisco.com/meraki/api-latest/#!authorization/authorization"]documentation[/URL] for instructions). Set this token as {$MERAKI.TOKEN} macro value in Zabbix.
    
    Set your Meraki dashboard URl as {$MERAKI.API.URL} macro value in Zabbix (e.g., api.meraki.com/api/v1).
    ​

    Comment

    • ali40
      Junior Member
      • Aug 2023
      • 5

      #3
      Thank you, sir, for your prompt reply. I have already generated the Meraki token and pasted it into the Zabbix configuration. I have also shared the Meraki configuration screenshot with you. I'm struggling to understand how to generate the APIURL as macros. I'm using a Cisco Meraki MX105 with Zabbix version 6.4, installed on an Ubuntu 20.04 server. The document you shared with me is already in my possession, but as I am new to Zabbix, I haven't figured out how to proceed. I would be really grateful if you could guide me in more detail.


      Click image for larger version

Name:	api-url.png
Views:	1259
Size:	75.0 KB
ID:	469452
      Attached Files

      Comment

      • ali40
        Junior Member
        • Aug 2023
        • 5

        #4
        anyone please help me?

        Comment

        • YoinkZ
          Junior Member
          • Sep 2023
          • 4

          #5
          Hi,

          I got the same issue - not polling any information at all.
          Error message: Failed to parse response received from Meraki API. Check debug log for more information.

          But not something I can figure out why.

          Comment

          • parwana001
            Junior Member
            • Oct 2023
            • 1

            #6
            Guys dont use http or https just use this urL: api.meraki.com/api/v1

            Comment

            • texwilson47
              Junior Member
              • Dec 2023
              • 6

              #7
              That is great information about the API.. but I think the questions are about the templates... what do we use? A great deal of the instructions out there state we have to pick one of the Meraki with HTTP but it sounds like that is not correct... so are the templates to be blank? I have noticed that Zabbix has great instructions for installation but anything special can be a real crap shoot. Not trying to disrespect anyone here... there are some "gaps". Even with Meraki. They states to create the API.. but they don't tell you where to process the JSON, or CURL or Python scripts... very cyptic.

              Comment

              Working...