cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1228
Views
0
Helpful
7
Replies

Stats from WAAS CM via API - How to?

Don Jacob
Level 1
Level 1

We are trying to get the details from WAAS CM device using API's as defined by Cisco. The document can be referred to from the below link:

http://www.cisco.com/en/US/docs/app_ntwk_services/waas/waas/v411/api/reference/guide/intr_api.pdf

Cisco API doc asks to call the required service (here DeviceConf) as https://<hostname/ip>:8443/ws/DeviceConf and we are calling it through through Java (using 'HttpConnection') and then embedding a SOAP request with WS-Security Header and using the action named 'getWANInfo'.

The result is that we are unable to read any information and always end getting an HTTP status error 500 from the WAAS CM.

Any idea on what we could be doing wrong or on how to get the WAAS stats via API?

Regards,

Don Thomas

Regards, Don Thomas Jacob http://www.solarwinds.com/netflow-traffic-analyzer.aspx Head Geek @ SolarWinds NOTE: Please rate and close questions if you found any of the answers helpful.
1 Accepted Solution

Accepted Solutions

Don,

In the body of the request, try enclosing https://10.88.80.142:8443/ws/DeviceConf in quotations.  I used the following version of your request and it worked:



   


       
           
                username
                password
           

       

   
   
    https://10.88.80.142:8443/ws/DeviceConf"  SOAP-ENC:root='1'/>
   

Regards,

Zach

View solution in original post

7 Replies 7

Zach Seils
Level 7
Level 7

Hi Don,

Can you please post the SOAP request you are sending to the Central Manager?

Thanks,

Zach

Hi Zach,

Please find the details below. Below is the soap request sent to the server with soap action https://:8443/ws/DeviceConf

usernamepassword
https://host-ip:8443/ws/DeviceConf SOAP-ENC:root='1'/>

Any suggestions?

Thanks in advance.

Regards,

Don Thomas

Regards, Don Thomas Jacob http://www.solarwinds.com/netflow-traffic-analyzer.aspx Head Geek @ SolarWinds NOTE: Please rate and close questions if you found any of the answers helpful.

Don,

In the body of the request, try enclosing https://10.88.80.142:8443/ws/DeviceConf in quotations.  I used the following version of your request and it worked:



   


       
           
                username
                password
           

       

   
   
    https://10.88.80.142:8443/ws/DeviceConf"  SOAP-ENC:root='1'/>
   

Regards,

Zach

Hi Zach,

Thanks for that. We were able to get it  working. In addition to what you pointed out, we were also trying to  send the SOAP using 'HttpURLConnection' in Java which did not work. We  then had to send the SOAP request via 'SoapConnection' and were ablr to  get it working.

Thank you very much for the help.

Regards,

Don Thomas Jacob

ManageEngine   NetFlow Analyzer

Regards, Don Thomas Jacob http://www.solarwinds.com/netflow-traffic-analyzer.aspx Head Geek @ SolarWinds NOTE: Please rate and close questions if you found any of the answers helpful.

Thanks for the update Don.

Zach

johng231
Level 3
Level 3

Hi Don,

I'm just wondering what 3rd party software are you using to pull the API stats off of the WAAS CM?

John

Hi John,

We are a part of ManageEngine division of Zoho Corp. One of our products is NetFlow Analyzer (http://www.manageengine.com/products/netflow/) which uses Cisco NetFlow and similar flow format packets to generate bandwidth and traffic reports.

As a part of NetFlow Analyzer,  we are developing our own software to read traffic stats (compressed and decompressed values) off Cisco WAAS CM and allow users to compare them with NetFlow stats.

We are still working on this feature and will be have an EA version available in 1 month or so.

Regards,
Don Thomas
ManageEngine  NetFlow Analyzer
________________________________________

Regards, Don Thomas Jacob http://www.solarwinds.com/netflow-traffic-analyzer.aspx Head Geek @ SolarWinds NOTE: Please rate and close questions if you found any of the answers helpful.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: