visibility packet-capture global-templates template trigger-sys-obj-stats-change system-dpdk-stats trigger-stats-rate¶
Configure stats to trigger packet capture on increment rate
trigger-stats-rate Specification¶
Parameter Value Type Configuration Resource Element Name trigger-stats-rate Element URI /axapi/v3/visibility/packet-capture/global-templates/template/{name}/trigger-sys-obj-stats-change/system-dpdk-stats/trigger-stats-rate Element Attributes trigger-stats-rate_attributes Partition Visibility shared Schema trigger-stats-rate schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/visibility/packet-capture/global-templates/template/{name}/trigger-sys-obj-stats-change/system-dpdk-stats/trigger-stats-rate | ||
Get Object | GET | /axapi/v3/visibility/packet-capture/global-templates/template/{name}/trigger-sys-obj-stats-change/system-dpdk-stats/trigger-stats-rate | ||
Modify Object | POST | /axapi/v3/visibility/packet-capture/global-templates/template/{name}/trigger-sys-obj-stats-change/system-dpdk-stats/trigger-stats-rate | ||
Replace Object | PUT | /axapi/v3/visibility/packet-capture/global-templates/template/{name}/trigger-sys-obj-stats-change/system-dpdk-stats/trigger-stats-rate | ||
Delete Object | DELETE | /axapi/v3/visibility/packet-capture/global-templates/template/{name}/trigger-sys-obj-stats-change/system-dpdk-stats/trigger-stats-rate |
trigger-stats-rate attributes¶
duration
Description Time in seconds to look for the anomaly, default is 60
Type: number
Range: 1-250
Default: 60
err-pkt-drop
Description Enable automatic packet-capture for Total error packet drop
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
io-ring-drop
Description Enable automatic packet-capture for Total IO core ring drop
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
io-rx-que-drop
Description Enable automatic packet-capture for Total IO core Rx queue drop
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
io-tx-que-drop
Description Enable automatic packet-capture for Total IO core TX queue drop
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
pkt-drop
Description Enable automatic packet-capture for Total packet drop
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
pkt-lnk-down-drop
Description Enable automatic packet-capture for Total packets link down drop
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
rx-align-err
Description Enable automatic packet-capture for Total RX packet align error
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
rx-crc-err
Description Enable automatic packet-capture for Total RX packet CRC error
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
rx-csum-offload-err
Description Enable automatic packet-capture for Total Rx packet check-sum offload error
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
rx-err
Description Enable automatic packet-capture for Total RX packet error
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
rx-frame-err
Description Enable automatic packet-capture for Total RX packet frame error
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
rx-len-err
Description Enable automatic packet-capture for Total RX packet length error
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
rx-long-len-err
Description Enable automatic packet-capture for Total RX packet long length error
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
rx-miss-err
Description Enable automatic packet-capture for Total RX packet miss error
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
rx-no-buff-err
Description Enable automatic packet-capture for Total RX packet no buffer error
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
rx-over-err
Description Enable automatic packet-capture for Total RX packet over error
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
rx-short-len-err
Description Enable automatic packet-capture for Total RX packet short length error
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
threshold-exceeded-by
Description Set the threshold to the number of times greater than the previous duration to start the capture, default is 5
Type: number
Range: 0-100
Default: 5
tx-abort-err
Description Enable automatic packet-capture for Total TX packet abort error
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
tx-carrier-err
Description Enable automatic packet-capture for Total TX packert carrier error
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
tx-drop
Description Enable automatic packet-capture for Total TX packet drop
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
tx-err
Description Enable automatic packet-capture for Total TX packet error
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
tx-fifo-err
Description Enable automatic packet-capture for Total TX packet fifo error
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
tx-hbeat-err
Description Enable automatic packet-capture for Total TX packet HBEAT error
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
tx-windows-err
Description Enable automatic packet-capture for Total TX windows error
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
w-link-down-drop
Description Enable automatic packet-capture for Total worker core link down drop
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
w-ring-drop
Description Enable automatic packet-capture for Total worker core ring drop
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
w-tx-que-drop
Description Enable automatic packet-capture for Total worker core queue drop
Type: boolean
Supported Values: true, false, 1, 0
Default: 0