Device polling via HTTP APIs

I’m starting to see new devices such as Palo Alto and in particular ArubaOS-CX that don’t have full information available via SNMP (i.e. stuff like VLANs, FDB etc. not implemented). Instead it’s available via the device’s HTTP REST APIs.

Can we begin adding some foundation to LibreNMS to support that? Such as:

  • Fields in the database to store API credentials, polling method
  • Options per-module about which method to use
  • Standard framework methods to make the HTTP API calls
  • Developer documentation on how to build the modules for this

Then I reckon it shouldn’t be too hard for people with an interest in specific vendors (i.e. me) to implement pollers/discovery via the REST APIs instead of or alongside SNMP.

4 Likes

I’d love to see optional API polling features, but I have to disagree on the “missing OIDs on ArubaOS-CX”. I’m getting FDB and vlan data out of CX family switches without issue.

My current dumb pain point is Fortinet: in particular, they haven’t implemented SNMP OIDs for transceiver diagnostic data.

Hi @projectcato

I have a similar use case for polling data for Palo Alto firewalls. Were you able to accomplish this with LibreNMS?