Generation of SNMP Traps and Alarms for Inline Video Monitoring on MX Series Routers
Starting in Junos OS Release 15.1, SNMP support is introduced for the Media Delivery Index (MDI) metrics of inline video monitoring. Inline video monitoring is available on MX Series routers using only MPCE1, MPC2, MPC2E, MPC2E-NG, MPC5E, MPC6E, MPC7E, MPC8E, and MPC- 16XGE. Starting in Junos OS Release 20.3R1, inline video monitoring is available on MX Series routers using MPC10E and MPC11E.
Until Junos OS Release 14.2, inline MDI generated only system log messages when the computed MDI metric value was not within the configured range. SNMP support is now added to enable SNMP traps to be triggered when the computed delay factor (DF), media rate variation (MRV), and media loss rate (MLR) value is not within the configured range. You can retrieve the MDI statistics, flow levels, error details, and MDI record-level information using SNMP Get and Get Next requests. The SNMP traps and alarms that are generated when the MDI metrics exceed the configured ranges can be cleared as necessary. Also, you can control the flooding of SNMP traps on the system.
The following sections describe the statistical counters and parameters that are collected for MDI records and for generation of SNMP traps and alarms when the DF, MRV, and MLR values are not within the specified ranges.
Collection of MDI Statistics Associated with an FPC Slot
The FPC-level statistics include the following parameters that
are displayed in the output of the show services video-monitoring
mdi stats fpc-slot fpc-slot
command. All
of these attributes can be obtained using the SNMP Get request.
Field Name |
Field Description |
---|---|
|
Slot number of the monitored FPC |
|
Number of active flows currently monitored. active flows = inserted flows - deleted flows. |
|
Number of flows initiated under video monitoring. |
|
Number of flows deleted due to inactivity timeout. |
|
Number of total packets monitored. |
|
Number of total bytes monitored. |
|
Number of delay factor alarms at each of the following levels:
|
|
Number of media loss rate (MLR) alarms at each of the following levels:
|
|
Number of media rate variation (MRV) alarms at each of the following levels:
|
Collection of MDI Errors Associated with an FPC Slot
The FPC-level statistics include the following parameters that
are displayed in the output of the show services video-monitoring
mdi errors fpc-slot fpc-slot
command.
All of these attributes can be obtained using the SNMP Get request.
Field Name |
Field Description |
---|---|
|
Slot number of the monitored FPC. |
|
Number of errors during new flow insert operations. |
|
Number of packets dropped by flow policer process. Note:
New flows usually arrive within a very short time interval (1.5 microseconds). These errors do not represent the loss of entire flows, because subsequent packets in the flow can establish the flow. All packets are monitored after a flow has been established. Packet forwarding occurs independently of the video monitoring, and packets are not dropped due to video monitoring errors. |
|
Number of packets dropped because they are not media packets or they are unsupported media packets. |
|
Number of packets unmonitored because the process identifier (PID) limit exceeded has been exceeded. Note:
The current PID limit is 6. |
Collection of MDI Flows Associated with an FPC Slot
The FPC-level statistics include the following parameters that
are displayed in the output of the show services video-monitoring
mdi flows fpc-slot fpc-slot
command. All
of these attributes can be obtained using the SNMP Get request.
Field Name |
Field Description |
---|---|
|
Source IP address |
|
Destination IP address |
|
Source port |
|
Destination port |
|
Direction (I=Input, O=Output) |
|
Type of flow |
|
Delay factor and media loss rate value of last media delivery index record |
|
Average value of delay factor and media loss rate |
|
Media rate variation value of last media delivery index record |
|
Average value of media rate variation |
|
Interface name on which flow is receiving |
|
Name of template associated with flow |
Collection of MDI Record-Level Metrics
The computed DF, MLR, and MRV counters of all valid MDI records of a flow that you can view by using the output of the show services video-monitoring mdi flow fpc-slot fpc-slot detail command can be obtained by using the SNMP Get request.