cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API - get snmp ifOperStatus (if a client is connected to port)

Highlighted
Here to help

API - get snmp ifOperStatus (if a client is connected to port)

Hi guys,

 

1. Is there an API call to get port information from a switch network, besides

GET /devices/[serial]/switchPorts

I want to know if there's a client connect to it, like snmp ifOperStatus, without calling for clients specially for that.

 

 

 

2. Also if there is an API call with sent and recieved amounts, such as InOctets/OutOctets, for port.

there is something similar in

GET /devices/[serial]/clients

  {
"usage": {
"sent": 80,
"recv": 106
},

 

Thanks in advance

 

1 REPLY 1
Meraki Employee

Re: API - get snmp ifOperStatus (if a client is connected to port)

Hi CiscoUser,

 

I will attempt to address your questions below:

 

In regards to the 1st question. Currently, the API call you referenced is the correct API for port information. At the moment there are no alternatives.

 

as for the 2nd, there are currently no API calls that will provide the in/out octet count in the manner an SNMP get would provide.

 

Our API systems are always growing, we recommend that any feature requests for additional API functionality be submitted through the "make a wish" window located on the bottom right corner of any dashboard page.

If my post answered your question please click the Kudos button below. additionally,
please update this thread to solved so others can benefit from it
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.