REST API Method: GET /rest/ethernetport/{identifier}/historicalstatistics/{identifier}
Page Tree |
---|
root | Resource - ethernetport |
---|
|
This action retrieves the historical statistics for a given Ethernet Port in the Sonus SBC 1000/2000 system. The collections are over 1 hour intervals for a period of 1 day, thus giving a maximum of 24 historical records.
Info |
---|
The current interval is always the resource with ID 1. There will be a maximum of 25 rows returned for a lookup, where the row with ID 1 is the current interval being collected and the rows with ID 2-25 are the historical collections. |
Tip |
---|
If no ID is specified, a listing of all collections will be returned along with their associated IDs. These identifiers can be used to get the individual resource element values. |
URL:
https://134.56.227.163/rest/ethernetport/{identifier}/historicalstatistics/{identifier}
HTTP Method
GET
Requires Authentication
true
Resource Schema
Statistics
Parameter Name | Description | Data Type | Possible Values |
---|
rt_ifInUcastPkts | Displays the number of received unicast packets on this port. | long | |
---|
rt_ifInBroadcastPkts | Displays the number of received broadcast packets on this port. | long | |
---|
rt_ifInMulticastPkts | Displays the number of received multicast packets on this port. | long | |
---|
rt_ifInOctets | Displays the number of received octets on this port. | long | |
---|
rt_ifInErrors | Displays the number of errors detected on this port. | long | |
---|
rt_ifInDiscards | Displays the number of discard errors detected on this port. | long | |
---|
rt_ifInUnknwnProto | Displays the number of Unknown Protocol errors detected on this port. | long | |
---|
rt_ifInUndersizedPkts | Displays the number of Undersized Packet errors detected on this port. | long | |
---|
rt_ifInOverSizedPkts | Displays the number of Oversized Packet errors detected on this port. | long | |
---|
rt_ifInFCSErrors | Displays the number of discard Frame Check Sequence errors detected on this port. | long | |
---|
rt_ifInAlignErrors | Displays the number of Align errors detected on this port. | long | |
---|
rt_ifInFragmentedPkts | Displays the number of Fragmented Packet errors detected on this port. | long | |
---|
rt_ifOutUcastPkts | Displays the number of transmitted unicast packets on this port. | long | |
---|
rt_ifOutOctets | Displays the number of transmitted octets on this port. | long | |
---|
rt_ifOutBroadcastPkts | Displays the number of transmitted broadcast packets on this port. | long | |
---|
rt_ifOutMulticastPkts | Displays the number of transmitted multicast packets on this port. | long | |
---|
rt_ifOutErrors | Displays the number of errors detected on this port. | long | |
---|
rt_ifOutDiscards | Displays the number of discard errors detected on this port. | long | |
---|
rt_ifOutLateCollissions | Displays the number of Late Collision errors detected on this port. | long | |
---|
rt_ifOutDeferredTransmissions | Displays the number of Deferred Transmission errors detected on this port. | long |
---|
Code Block |
---|
|
curl --cookie PHPSESSID=ima0r3nkaeg8mo0suln67vg4m7 --cacert 134.56.227.163.crt
-i https://134.56.227.163/rest/ethernetport/1/historicalstatistics/1 |
Response:
Code Block |
---|
|
<?xml version="1.0"?>
<root>
<status>
<http_code>404</http_code>
<app_status href="https://134.56.72.218/rest/ethernetport/1">
<app_status_entry code="20006" params=""/>
</app_status>
</status>
</root>
|