Statistics policy parameters
Tables in this section describe the parameters available to configure statistics collection, and the type of statistics that can be collected.
Note: Not all versions of SR Linux support all statistics. If you
configure a policy to subscribe to a statistics path on a node that does not support it,
the system will collect only the supported data and will ignore any unsupported
subscription path.
Note: Because support for subscription paths varies for different
versions of SR Linux, some care is required with statistics subscriptions when upgrading
or downgrading the version of SR Linux on a node. Following an upgrade or downgrade of
the SR Linux software on a node, if the node supports a subscription path in that
specific software version, that path will not be automatically shown in the gNMI
subscription. To add the subscription path and retrieve the associated data, you must
first detach and re-attach the node label.
Parameter | Description |
---|---|
Name | The name that identifies this policy. |
Region | The region containing the node or nodes from which the statistics will be collected. |
Node Selection by label | A single label that you created previously. The label must use the
"Node-type" label key. Nodes with this label will participate in the
statistics collection. Note: Currently, only a
single label can be selected. |
Collection interval | The frequency, in seconds, with which the node gathers statistics.
(This is not the frequency with which the Fabric Services System communicates with the node.) The value can be a minimum of 5 seconds and a maximum of 300 seconds. |
Enable this policy | A toggle that controls whether this policy is active (enabled) or inactive (disabled). |
Subscription paths | Identifies one, some, or all of the predefined types of statistics to
collect from the participating nodes. A single policy can include a maximum of 36 paths. Note: The system
supports only one subscription policy for each node to avoid
collecting duplicate statistics. If you need to configure multiple
subscriptions for any node, avoid duplicating the same subscription
path in multiple subscriptions. |
Statistics type | Description |
---|---|
/interface/traffic-rate/in-bps | The ingress bandwidth utilization of the port |
/interface/traffic-rate/out-bps | The egress bandwidth utilization of the port |
/interface/statistics/in-discarded-packets | This counts the number of IP packets discarded because of VLAN mismatch, unknown dest MAC or drop by system-filter drop action. On 7250 IXR/IXRe systems this counter is not expected to increment above zero. |
/interface/statistics/in-fcs-error-packets | Ingress FCS errors |
/interface/statistics/in-error-packets | Corresponds to ifInErrors from the IF-MIB |
/interface/statistics/in-octets | Corresponds to ifHCInOctets from the IFMIB |
/interface/statistics/in-unicast-packets | Corresponds to ifHCInUcastPkts from the IF-MIB |
/interface/statistics/out-discarded-packets | Corresponds to ifOutDiscards from the IF-MIB |
/interface/statistics/out-error-packets | Corresponds to ifOutErrors from the IF-MIB |
/interface/statistics/out-octets | Corresponds to ifHCOutOctetsfrom the IF-MIB |
/interface/statistics/out-unicast-packets | Corresponds to ifHCOutUcastPktsfrom the IF-MIB |
/interface/qos/output/queue-statistics/queue/final-dropped-octets | Number of octets dropped by the queue |
/interface/qos/output/queue-statistics/queue/final-dropped-packets | Number of packets dropped by the queue |
/interface/qos/output/queue-statistics/queue/transmitted-octets | Number of octets transmitted by the queue |
/interface/qos/output/queue-statistics/queue/transmitted-packets | Number of packets transmitted by the queue, including transit traffic and locally originated traffic |
Statistics type | Description |
---|---|
/platform/control/cpu/hardware-interrupt/average-1 | The arithmetic mean value of this statistic over the last minute |
/platform/control/cpu/hardware-interrupt/average-5 | The arithmetic mean value of this statistic over the last fiive minutes |
/platform/control/cpu/hardware-interrupt/average-15 | The arithmetic mean value of this statistic over the last fifteen minutes |
/platform/control/cpu/hardware-interrupt/instant | The instantaneous percentage value |
/platform/control/cpu/idle/average-1 | The arithmetic mean value of this statistic over the last minute |
/platform/control/cpu/idle/average-15 | The arithmetic mean value of this statistic over the last fifteen minutes |
/platform/control/cpu/idle/average-5 | The arithmetic mean value of this statistic over the last fiive minutes |
/platform/control/cpu/idle/instant | The instantaneous percentage value |
/platform/control/cpu/iowait/average-1 | The arithmetic mean value of this statistic over the last minute |
/platform/control/cpu/iowait/average-15 | The arithmetic mean value of this statistic over the last fifteen minutes |
/platform/control/cpu/iowait/average-5 | The arithmetic mean value of this statistic over the last fiive minutes |
/platform/control/cpu/iowait/instant | The instantaneous percentage value |
/platform/control/cpu/nice/average-1 | The arithmetic mean value of this statistic over the last minute |
/platform/control/cpu/nice/average-15 | The arithmetic mean value of this statistic over the last fifteen minutes |
/platform/control/cpu/nice/average-5 | The arithmetic mean value of this statistic over the last fiive minutes |
/platform/control/cpu/nice/instant | The instantaneous percentage value |
/platform/control/cpu/software-interrupt/average-1 | The arithmetic mean value of this statistic over the last minute |
/platform/control/cpu/nice/average-15 | The arithmetic mean value of this statistic over the last fifteen minutes |
/platform/control/cpu/nice/average-5 | The arithmetic mean value of this statistic over the last fiive minutes |
/platform/control/cpu/nice/instant | The instantaneous percentage value |
/platform/control/cpu/software-interrupt/average-1 | The arithmetic mean value of this statistic over the last minute |
/platform/control/cpu/software-interrupt/average-15 | The arithmetic mean value of this statistic over the last fifteen minutes |
/platform/control/cpu/software-interrupt/average-5 | The arithmetic mean value of this statistic over the last fiive minutes |
/platform/control/cpu/software-interrupt/instant | The instantaneous percentage value |
/platform/control/cpu/system/average-1 | The arithmetic mean value of this statistic over the last minute |
/platform/control/cpu/system/average-15 | The arithmetic mean value of this statistic over the last fifteen minutes |
/platform/control/cpu/system/average-5 | The arithmetic mean value of this statistic over the last five minutes |
/platform/control/cpu/system/instant | The instantaneous percentage value |
/platform/control/cpu/total/average-1 | The arithmetic mean value of this statistic over the last minute |
/platform/control/cpu/total/average-15 | The arithmetic mean value of this statistic over the last fifteen minutes |
/platform/control/cpu/total/average-5 | The arithmetic mean value of this statistic over the last five minutes |
/platform/control/cpu/total/instant | The instantaneous percentage value |
/platform/control/cpu/user/average-1 | The arithmetic mean value of this statistic over the last minute |
/platform/control/cpu/user/average-15 | The arithmetic mean value of this statistic over the last fifteen minutes |
/platform/control/cpu/user/average-5 | The arithmetic mean value of this statistic over the last five minutes |
/platform/control/cpu/user/instant | The instantaneous percentage value |
/platform/control/disk/partition/percent-used | The instantaneous percentage value |
/platform/control/memory/free | Memory available for system use |
/platform/control/memory/physical | Total physical memory available on this component |
/platform/control/memory/reserved | Memory reserved for system use |
/platform/control/memory/utilization | Total memory used |
/platform/control/temperature/instant | The current temperature of this component |
/platform/power-supply/temperature/instant | The current temperature of this component |
Statistics type | Description |
---|---|
/interface/subinterface/statistics/in-packets | The total number of input packets received, counting transit and terminating traffic |
/interface/subinterface/statistics/in-octets | The total number of octets received in input packets, counting transit and terminating traffic |
/interface/subinterface/statistics/in-discarded-packets | The total number of input IPv4 packets or IPv6 packets or both (transit and terminating traffic) that were dropped for any of the following reasons: |
/interface/subinterface/statistics/in-forwarded-packets | The number of input IPv4 packets or IPv6 packets or both received on this subinterface for which the router was not the final destination and for which the router attempted to find a route to forward them to that final destination. |
/interface/subinterface/statistics/in-forwarded-octets | The number of octets in input IPv4 packets or IPv6 packets or both received on this subinterface and counted in in-forwarded-packets |
/interface/subinterface/statistics/out-forwarded-packets | The number of transit IPv4 packets or IPv6 packets or both which the router attempted to route out this subinterface |
/interface/subinterface/statistics/out-forwarded-octets | The number of octets in transit IPv4 packets or IPv6 packets or both which the router attempted to route out this subinterface |
/interface/subinterface/statistics/out-originated-packets | The number of IPv4 packets or IPv6 packets or both which originated on the CPM and which the router attempted to route out this subinterface |
/interface/subinterface/statistics/out-originated-octets | The number of octets in IPv4 packets or IPv6 packets or both which originated on the CPM and which the router attempted to route out this subinterface |
/interface/subinterface/statistics/out-discarded-packets | The total number of input IPv4 packets or IPv6 packets or both (transit and terminating traffic) that were dropped |
/interface/subinterface/statistics/out-packets | The total number of IPv4 packets or IPv6 packets or both that this router supplied to the lower layers for transmission |
/interface/subinterface/statistics/out-octets | The total number of octets in IPv4 packets or IPv6 packets or both delivered to the lower layers for transmission |