Wireless

 View Only
last person joined: 2 days ago 

Ask questions and share experiences with Mist APs, Marvis, and all things wireless and Wi-Fi.
  • 1.  Collect AP API information

    Posted 06-28-2024 04:54

    Hi Everyone,

    We would like to collect the information stored on our APs, like the room temperature as well as the number of users connected at a certain time and I was wondering how we could do that practically.

    Thanks



    ------------------------------
    sara aa
    ------------------------------


  • 2.  RE: Collect AP API information

    Posted 06-28-2024 08:28

    You can query the Device Stats API to get those two elements:

    GET /api/v1/sites/:site_id/stats/devices

    https://api.mist.com/api/v1/docs/Site#device-stats



    ------------------------------
    David Divins
    ------------------------------



  • 3.  RE: Collect AP API information

    Posted 06-28-2024 08:56

    Thanks, I know how to get these but I was asking how I can collect the APIs from many of my devices and keep them in a Syslog server so we could generate reports about the results in later stages



    ------------------------------
    sara aa
    ------------------------------



  • 4.  RE: Collect AP API information

    Posted 06-28-2024 09:55

    I would first investigate what Enhanced Analytics provides. Reach out to your account team and ask for a demo/tour. 

    That said, if you want to keep the data local, and you can already poll the API via script, the possibilities are endless:

    -You can do something as simple as write the values to a CSV.

    -Send to Syslog

    -Send as an SNMP trap

    -Write to a DB

    -Integrate as a 3rd party collection into your NMS

    -Graph via RRD/Grafana from any of the above

    -etc

     



    ------------------------------
    David Divins
    ------------------------------