12-09-2016 05:23 AM
Hello to all,
I'm trying to GET all the applications of a host. But I am not sure of what REST API method should I use.
I've already tried all the statistics methods for applications (GET Application...).
What I would like it is to receive a list of applications in a host (device), and what (MB/GB) they are consuming from the network.
Thank you.
12-09-2016 08:58 AM
There currently is no API support for retrieving applications running on a host device. All of the application resources listed in the API documentation for 3.0 and 3.1 are for network applications (like http), similar to the Application dashboard in the UI (Dashboard > Performance > Application).
12-09-2016 09:13 AM
Hey Spencer, thank you for your support.
I'm trying to make something similar that appears on Dashboard > Performance > Interface. I'm attaching a picture to show what I want from the REST API.
I don't know if it's possible to mix the REST API methods for retrive something like that.
Anyway, thanks again.
12-09-2016 09:24 AM
Then you'll probably want to use the Interface Metric Data resource. The Interface Metrics Supported resource can list out the different metrics you can get and prepare an example query. In this case, I believe you'd be looking for the "topnapplication" metric.
/webacs/api/v2/op/statisticsService/interfaces/metrics/topnapplication?device=<your_device_ip>&ifName=GigabitEthernet0/2
Edit: Grammar.
12-09-2016 09:42 AM
I'm doing some tests, but I am not able to open the webpage for GET Interface Metric Data.
The page don't load... Stay blank.
I would like to know other parameters that are accessible for this usecase.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide