MAPI Statistics Service
This chapter describes the MAPI Statistics service, which returns MAPI data and statistics for individual WAEs, device groups, and for the WAAS network.
The MAPI Statistics (MapiStats Web Service) performs one or more of the following actions:
•retrieveDataReadStats
•retrieveResponseStats
•retrieveRequestTypeStats
•getSessionCount
•retrieveClientConnCount
Syntax
Service URL: https://<host/ip>:8443/ws/MapiStats
WSDL URL: https://<host/ip>:8443/ws/MapiStats?wsdl
To obtain a description of all the operations and parameters for the MapiStats Service, submit a URL to the service with the suffix ?wsdl as follows:
https://<host/ip>:8443/ws/MapiStats?wsdl
To obtain management information using the Central Manager monitoring API, first call the service by using the service URL for this service as follows:
https://<host/ip>:8443/ws/MapiStats
Next, submit a SOAP request written in an XML format to retrieve the information.
The following example shows an XML-formatted SOAP request to perform the retrieveDataReadStats action. The request includes the input parameters for this particular action shown in bold. The next example shows the XML response that contains the output values for this action.
Example Request
<?xml version="1.0" encoding="utf-8" ?>
- <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
- <wsse:Security
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.
xsd">
<wsse:Username>admin</wsse:Username>
<wsse:Password
Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#P
asswordText">default</wsse:Password>
- <ns2:retrieveDataReadStats xmlns:ns2="http://service.stats.ws.waas.cisco.com">
<ns2:name>ce-119-40</ns2:name>
<ns2:objType>wae</ns2:objType>
<ns1:endTime
xmlns:ns1="http://util.ws.waas.cisco.com/xsd">2008-01-30T08:00:00.000Z</ns1:endTime>
<ns1:frequency xmlns:ns1="http://util.ws.waas.cisco.com/xsd">lasthour</ns1:frequency>
<ns1:startTime
xmlns:ns1="http://util.ws.waas.cisco.com/xsd">2008-01-31T08:00:00.000Z</ns1:startTime>
<ns1:timezone xmlns:ns1="http://util.ws.waas.cisco.com/xsd">UTC</ns1:timezone>
</ns2:retrieveDataReadStats>
Example Response
<?xml version="1.0" encoding="utf-8" ?>
- <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
- <ns:retrieveDataReadStatsResponse xmlns:ns="http://service.stats.ws.waas.cisco.com"
xmlns:ax225="http://io.java/xsd" xmlns:ax227="http://stats.ws.waas.cisco.com/xsd"
xmlns:ax226="http://util.ws.waas.cisco.com/xsd" xmlns:ax224="http://rmi.java/xsd">
- <ns:return type="com.cisco.waas.ws.stats.MapiDataReadStats">
<ax227:avgReadAhead>39</ax227:avgReadAhead>
<ax227:avgReadStream>97</ax227:avgReadStream>
<ax227:avgSyncGetBuffer>29</ax227:avgSyncGetBuffer>
<ax227:endtime>2008-04-16T17:59:26.628Z</ax227:endtime>
<ax227:frequency>min</ax227:frequency>
<ax227:maxReadAhead>69</ax227:maxReadAhead>
<ax227:maxReadStream>21</ax227:maxReadStream>
<ax227:maxSyncGetBuffer>31</ax227:maxSyncGetBuffer>
<ax227:minReadAhead>67</ax227:minReadAhead>
<ax227:minReadStream>36</ax227:minReadStream>
<ax227:minSyncGetBuffer>92</ax227:minSyncGetBuffer>
</ns:retrieveDataReadStatsResponse>
retrieveDataReadStats
Retrieves the MAPI date read statistics collected on either a WAE device, WAEs within a device group, or all WAEs system wide.
Input Parameters
|
|
name |
A string that describes the name of the WAE, WAE group, or system. |
objType |
A string that describes the object type. Valid values include the following: •wae •waegroup •system |
timeframe |
A TimeFrameFilter value that includes the time interval, time zone, and frequency. |
Return
The output parameter MapiDataReadStats[] returns a MapiDataReadStats value that provides the minimum, maximum, and average size of the SychronizationGetBuffer, the ReadStream, and the accumulated read ahead.
Exceptions
|
|
|
RemoteException |
MapiStatsService.retrieveDataRead Stats: ERROR:Invalid name= |
The device name is invalid. |
RemoteException |
MapiStatsService.retrieveDataRead Stats: ERROR:Invalid objType= |
The object type name is invalid. |
RemoteException |
MapiStatsService.retrieveDataRead Stats: ERROR:Invalid TimeFrame |
The timeframe is invalid. |
RemoteException |
MapiStatsService.retrieveDataRead Stats: ERROR:Device does not exist.DeviceName= |
The device name is not found. |
RemoteException |
MapiStatsService.retrieveDataRead Stats: ERROR:Device Group does not exist.DeviceGroup= |
The device group name is not found. |
RemoteException |
MapiStatsService.retrieveDataRead Stats: ERROR:Invalid frequency= |
The frequency is invalid. |
RemoteException |
MapiStatsService.retrieveDataRead Stats: ERROR:Invalid startTime= |
The start time is invalid. |
RemoteException |
MapiStatsService.retrieveDataRead Stats: ERROR:Invalid endTime= |
The end time is invalid. |
RemoteException |
MapiStatsService.retrieveDataRead Stats: ERROR:startTime should be less than endTime startTime= |
The start time is less than the end time. |
AxisFault |
MapiStats:The Method Name is not supported. MethodName= |
The method name is not supported for a given service. |
AxisFault |
MapiStats:The SOAP Envelope Body is Null |
The SOAP envelope is missing for a given service. |
AxisFault |
MapiStats:The Requested WebService is not available |
The service requested is not supported. |
AxisFault |
retrieveDataReadStats:The SOAP Body doesn't have all the required elements |
The SOAP body does not have all the required elements. |
retrieveResponseStats
Retrieves the MAPI response statistics collected on either a WAE device, WAEs within a device group, or all WAEs system wide.
Input Parameters
|
|
name |
A string that describes the name of the WAE, WAE group, or system. |
objType |
A string that describes the object type. Valid values include the following: •wae •waegroup •system |
timeframe |
A TimeFrameFilter value that includes the time interval, time zone, and frequency. |
Return
The output parameter MapiResponseStats[] returns a MapiResponseStats value that provides the number of local and remote responses, the average local response time, and the average remote response time.
Exceptions
|
|
|
RemoteException |
MapiStatsService.retrieveResponse Stats: ERROR:Invalid name= |
The device name is invalid. |
RemoteException |
MapiStatsService.retrieveResponse Stats: ERROR:Invalid objType= |
The object type name is invalid. |
RemoteException |
MapiStatsService.retrieveResponse Stats: ERROR:Invalid TimeFrame |
The timeframe is invalid. |
RemoteException |
MapiStatsService.retrieveResponse Stats: ERROR:Device does not exist.DeviceName= |
The device name is not found. |
RemoteException |
MapiStatsService.retrieveResponse Stats: ERROR:Device Group does not exist.DeviceGroup= |
The device group name is not found. |
RemoteException |
MapiStatsService.retrieveResponse Stats: ERROR:Invalid frequency= |
The frequency is invalid. |
RemoteException |
MapiStatsService.retrieveResponse Stats: ERROR:Invalid startTime= |
The start time is invalid. |
RemoteException |
MapiStatsService.retrieveResponse Stats: ERROR:Invalid endTime= |
The end time is invalid. |
RemoteException |
MapiStatsService.retrieveResponse Stats: ERROR:startTime should be less than endTime startTime= |
The start time is less than the end time. |
AxisFault |
MapiStats:The Method Name is not supported. MethodName= |
The method name is not supported for a given service. |
AxisFault |
MapiStats:The SOAP Envelope Body is Null |
The SOAP envelope is missing for a given service. |
AxisFault |
MapiStats:The Requested WebService is not available |
The service requested is not supported. |
AxisFault |
retrieveResponseStats:The SOAP Body doesn't have all the required elements |
The SOAP body does not have all the required elements. |
retrieveRequestTypeStats
Retrieves the MAPI request type statistics collected on either a WAE device, WAEs within a device group, or all WAEs system wide.
Input Parameters
|
|
name |
A string that describes the name of the WAE, WAE group, or system. |
objType |
A string that describes the object type. Valid values include the following: •wae •waegroup •system |
timeframe |
A TimeFrameFilter value that includes the time interval, time zone, and frequency. |
Return
The output parameter MapiRequestTypeStats[] returns a MapiRequestTypeStats value that provides the request type statistics.
Exceptions
|
|
|
RemoteException |
MapiStatsService.retrieveRequestTypeStats: ERROR:Invalid name= |
The device name is invalid. |
RemoteException |
MapiStatsService.retrieveRequestTypeStats: ERROR:Invalid objType= |
The object type name is invalid. |
RemoteException |
MapiStatsService.retrieveRequestTypeStats: ERROR:Invalid TimeFrame |
The timeframe is invalid. |
RemoteException |
MapiStatsService.retrieveRequestTypeStats: ERROR:Device does not exist.DeviceName= |
The device name is not found. |
RemoteException |
MapiStatsService.retrieveRequestTypeStats: ERROR:Device Group does not exist.DeviceGroup= |
The device group name is not found. |
RemoteException |
MapiStatsService.retrieveRequestTypeStats: ERROR:Invalid frequency= |
The frequency is invalid. |
RemoteException |
MapiStatsService.retrieveRequestTypeStats: ERROR:Invalid startTime= |
The start time is invalid. |
RemoteException |
MapiStatsService.retrieveRequestTypeStats: ERROR:Invalid endTime= |
The end time is invalid. |
RemoteException |
MapiStatsService.retrieveRequestTypeStats: ERROR:startTime should be less than endTime startTime= |
The start time is less than the end time. |
AxisFault |
MapiStats:The Method Name is not supported. MethodName= |
The method name is not supported for a given service. |
AxisFault |
MapiStats:The SOAP Envelope Body is Null |
The SOAP envelope is missing for a given service. |
AxisFault |
MapiStats:The Requested WebService is not available |
The service requested is not supported. |
AxisFault |
retrieveRequestTypeStats:The SOAP Body doesn't have all the required elements |
The SOAP body does not have all the required elements. |
getSessionCount
Retrieves the number of MAPI sessions completed on either a WAE device, WAEs within a device group, or all WAEs system wide.
Input Parameters
|
|
name |
A string that describes the name of the WAE, WAE group, or system. |
objType |
A string that describes the object type. Valid values include the following: •wae •waegroup •system |
timeframe |
A TimeFrameFilter value that includes the time interval, time zone, and frequency. |
Return
The output parameter MapiSessionCount[] returns a MapiSessionCount value that provides the number of sessions completed.
Exceptions
|
|
|
RemoteException |
MapiStatsService.getSessionCount: ERROR:Invalid name= |
The device name is invalid. |
RemoteException |
MapiStatsService.getSessionCount: ERROR:Invalid objType= |
The object type name is invalid. |
RemoteException |
MapiStatsService.getSessionCount: ERROR:Invalid TimeFrame |
The timeframe is invalid. |
RemoteException |
MapiStatsService.getSessionCount: ERROR:Device does not exist.DeviceName= |
The device name is not found. |
RemoteException |
MapiStatsService.getSessionCount: ERROR:Device Group does not exist.DeviceGroup= |
The device group name is not found. |
RemoteException |
MapiStatsService.getSessionCount: ERROR:Invalid frequency= |
The frequency is invalid. |
RemoteException |
MapiStatsService.getSessionCount: ERROR:Invalid startTime= |
The start time is invalid. |
RemoteException |
MapiStatsService.getSessionCount: ERROR:Invalid endTime= |
The end time is invalid. |
RemoteException |
MapiStatsService.getSessionCount: ERROR:startTime should be less than endTime startTime= |
The start time is less than the end time. |
AxisFault |
MapiStats:The Method Name is not supported. MethodName= |
The method name is not supported for a given service. |
AxisFault |
MapiStats:The SOAP Envelope Body is Null |
The SOAP envelope is missing for a given service. |
AxisFault |
MapiStats:The Requested WebService is not available |
The service requested is not supported. |
AxisFault |
getSessionCount:The SOAP Body doesn't have all the required elements |
The SOAP body does not have all the required elements. |
retrieveClientConnCount
Retrieves the number of past connections from each client type on either a WAE device, WAEs within a device group, or all WAEs system wide.
Input Parameters
|
|
name |
A string that describes the name of the WAE, WAE group, or system. |
objType |
A string that describes the object type. Valid values include the following: •wae •waegroup •system |
timeframe |
A TimeFrameFilter value that includes the time interval, time zone, and frequency. |
Return
The output parameter MapiClientConnCount[] returns a MapiClientConnCount value that provides the number of past connections from each client type.
Exceptions
|
|
|
RemoteException |
MapiStatsService.retrieveClientConn Count: ERROR:Invalid name= |
The device name is invalid. |
RemoteException |
MapiStatsService.retrieveClientConn Count: ERROR:Invalid objType= |
The object type name is invalid. |
RemoteException |
MapiStatsService.retrieveClientConn Count: ERROR:Invalid TimeFrame |
The timeframe is invalid. |
RemoteException |
MapiStatsService.retrieveClientConn Count: ERROR:Device does not exist.DeviceName= |
The device name is not found. |
RemoteException |
MapiStatsService.retrieveClientConn Count: ERROR:Device Group does not exist.DeviceGroup= |
The device group name is not found. |
RemoteException |
MapiStatsService.retrieveClientConn Count: ERROR:Invalid frequency= |
The frequency is invalid. |
RemoteException |
MapiStatsService.retrieveClientConn Count: ERROR:Invalid startTime= |
The start time is invalid. |
RemoteException |
MapiStatsService.retrieveClientConn Count: ERROR:Invalid endTime= |
The end time is invalid. |
RemoteException |
MapiStatsService.retrieveClientConn Count: ERROR:startTime should be less than endTime startTime= |
The start time is less than the end time. |
AxisFault |
MapiStats:The Method Name is not supported. MethodName= |
The method name is not supported for a given service. |
AxisFault |
MapiStats:The SOAP Envelope Body is Null |
The SOAP envelope is missing for a given service. |
AxisFault |
MapiStats:The Requested WebService is not available |
The service requested is not supported. |
AxisFault |
retrieveClientConnCount:The SOAP Body doesn't have all the required elements |
The SOAP body does not have all the required elements. |