Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configure Hardware Threshold Monitoring for Capacity Planning

SUMMARY This

This topic describes hardware threshold monitoring, how to configure a resource list to poll date and display hardware resource utilization, and the operational commands you can use to monitor utilization.

Hardware Threshold Monitoring

To configure hardware threshold monitoring, create a resource list and specify which hardware resources to monitor or monitor all your hardware resources. You can choose several options to enhance resource lists. You can specify a polling interval for how often hardware resource data is polled, configure an upper and lower threshold boundary and, when a boundary is breached, receive notification. You can also configure a monitor profile with these optional settings that can be applied to your resource lists.

Configure a Resource List to Monitor Resources

Create a resource list to monitor hardware resources.

You can configure multiple resource lists, but the same resource can only be used once and cannot be duplicated on multiple resource lists.

Once configured, hardware resource utilization data is periodically polled. The default lower and upper threshold utilization is 50% and 90%, respectively.

To configure a resource list with all resources:

  1. In configuration mode, go to the [edit system packet-forwarding-options hw-resource-monitor resource-list] hierarchy level and add a name for your resource list (here, R1).
  2. Include the all-resources statement to monitor all available resources.

    To monitor multiple resource names, separate each resource name with a ‘,’ character.

  3. Use the following operational mode command to display hardware utilization and health values.

    Utilization for both Routing Engines is displayed. Values include the upper and lower thresholds and the polling interval. You can change the upper and lower thresholds as well as the polling interval using the polling-interval statement. A Health value for the resource is also displayed. Green indicates that the hardware utilization is safely within threshold boundaries.

Monitor Utlilization

View the monitored data using operational mode commands or use Junos Telemetry interface (JTI) to send data from your device to a collector using the resource path /junos/system/linecard/npu/memory/.

Use the show system packet-forwarding-options hw-resource-utilization-info command to show the maximum capacity and current utilization for all the applicable resources.

Use the show system packet-forwarding-options hw-resource-monitor utilization-info command to display hardware resource utilization, resource health, upper and lower threshold boundaries, and the maximum capacity for each resource.

Use the show system packet-forwarding-options hw-resource-monitor resource-list command to display the hardware resources contained in a resource list and the associated monitor profile (if configured).

If you configure an optional monitor profile, use the show system packet-forwarding-options hw-resource-monitor monitor-profile command to display the configured upper and lower threshold values set as the boundary for a hardware resource and the notification type to be issued when a resource's utilization rate crosses a threshold boundary.