Ad Widget

Collapse

Zabbix and Meraki REST API

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lkrzyczkowski
    Junior Member
    • Mar 2019
    • 3

    #1

    Zabbix and Meraki REST API

    Hello
    I want to use Zabbix to monitor my Meraki devices using REST API from Meraki. Is there any possibility to do this ?
    Thx
  • c1support
    Member
    • Apr 2020
    • 47

    #2
    Have you tried this link: https://share.zabbix.com/zabbix-tool...-points-status
    I have not tested it, but this is the usually the first place I am looking for templates etc.

    Comment

    • sebd44
      Junior Member
      • Apr 2020
      • 8

      #3
      hi there i want to monitor meraki but more about API functionality like get the network, vlans or some list of clients in certain point in time, i can get the information with this command

      curl -vv --location --request GET "https://dashboard.meraki.com/api/v0/organizations/XXXXXXXXX/networks" --header 'X-Cisco-Meraki-API-Key: HEREGOESYOURAPIKEY'

      but how can get does values into zabbix or the json payload that i going to get, parse and insert to mariadb?
      or some kind of external script to get the state of the values?

      can you help me c1support?
      best regards

      Comment


      • gofree
        gofree commented
        Editing a comment
        have you tried http agent ( master item, json path preprocessing ) ...that should do the trick in general

      • sebd44
        sebd44 commented
        Editing a comment
        gofree, thanks a lot for the hint, i'll give it a try and ley you now, thanks mate

      • martin89
        martin89 commented
        Editing a comment
        Hello. Someone has ready-made templates in zabbix for monitoring cisco meraki via API.
        I will be very grateful.
    • c1support
      Member
      • Apr 2020
      • 47

      #4
      Hi sedb44
      Unfortunately, I am not yet very experienced with this.
      But just to understand better: This proposed template in post #2 refers to SNMP, while in post #3 you are referring explicitly to an API / URL request.

      What is the main reason you have not picked this up?
      - are you not allowed to use SNMP?
      - or does the template not give you the required information, so that you have to resort to implementing the Zabbix-items yourself?

      btw: the proposal of gofree (post #3.1) seem reasonable to me, if there is not an easy way to modify the template to suit your needs.

      Comment

      • sebd44
        Junior Member
        • Apr 2020
        • 8

        #5
        hi c1supoort, i understand, yeah it's possible but its only for ap and those kind of devices
        but if you can bring api call and json format and parse values from those json to get values it's also possible

        and cosidering that a lot of things are moving to http, like this webhook and alerts that you can create chains of events are another level services chainning for a way of saying



        Comment

        • sebd44
          Junior Member
          • Apr 2020
          • 8

          #6
          aaah i'm also new to zabbix anyway, i started this week because i want to know how much thing are possible to do this zabbix
          best regards

          Comment

          • c1support
            Member
            • Apr 2020
            • 47

            #7
            Hi sedb44
            I am not fully confident that I undestood correctly what you would like to achieve, and post #5 was futher contributing to confusion on my side.
            To my undestanding, the webhooks described in the link from post #5 are used to alert neighboring systems (e.g. helpdesk systems, etc.) AFTER a trigger occured (= FORWARDING an event).

            Previous to this post, I was under the impression that you wanted to gather information from another system (= MONITORING).
            As I wrote in post #4, I believe this can be achieved if needs be (as proposed in post #3.1). Please look into this:





            This seems to be a very powerful tool.

            Comment

            Working...