This article introduces two different methods to monitor the RE/SPU utilization:
The RE/SPU utilization on SRX devices can be monitored as follows:
Poll MIB objects by using SNMP tools.
Below are a couple MIB objects to poll. (For other MIB objects and more updated info on each release, refer to the “Documentation” tag on the Junos image download page.) Based on Junos code, MIBs can be explored:
Utilizing the SRX “health-monitor” feature:
This feature is to sample certain predefined objects, which includes RE utilization, at a specified interval.
Example:
set snmp health-monitor interval 30 <<<<<<< at what interval we sample the data set snmp health-monitor rising-threshold 70 set snmp health-monitor falling-threshold 60
set snmp health-monitor interval 30
set snmp health-monitor rising-threshold 70 set snmp health-monitor falling-threshold 60
root> show log messages |match snmp Dec 28 20:53:53 rmopd[1301]: LIBJSNMP_SA_IPC_REG_ROWS: ns_subagent_register_mibs: registering 20 rows Dec 28 20:56:47 snmpd[1210]: SNMPD_HEALTH_MON_THRESH_CROSS: Health Monitor: RE 0 CPU utilization crossed falling threshold 60 (value: 38), (variable: jnxOperatingCPU.9.1.0.0) Dec 28 20:57:47 snmpd[1210]: SNMPD_HEALTH_MON_THRESH_CROSS: Health Monitor: RE 0 CPU utilization crossed rising threshold 80 (value: 100), (variable: jnxOperatingCPU.9.1.0.0) Dec 28 20:57:57 snmpd[1210]: SNMPD_HEALTH_MON_THRESH_CROSS: Health Monitor: RE 0 CPU utilization crossed falling threshold 60 (value: 34), (variable: jnxOperatingCPU.9.1.0.0) Dec 28 20:59:57 snmpd[1210]: SNMPD_HEALTH_MON_THRESH_CROSS: Health Monitor: RE 0 CPU utilization crossed rising threshold 80 (value: 100), (variable: jnxOperatingCPU.9.1.0.0) Dec 28 21:00:27 snmpd[1210]: SNMPD_HEALTH_MON_THRESH_CROSS: Health Monitor: RE 0 CPU utilization crossed falling threshold 60 (value: 4), (variable: jnxOperatingCPU.9.1.0.0)
@SRX-3400# run show snmp health-monitor Alarm Index Variable description Value State 32768 Health Monitor: root file system utilization jnxHrStoragePercentUsed.1 91 rising threshold 32769 Health Monitor: /config file system utilization jnxHrStoragePercentUsed.2 0 active 32770 Health Monitor: RE 0 CPU utilization jnxOperatingCPU.9.1.0.0 10 active 32772 Health Monitor: RE 0 memory utilization jnxOperatingBuffer.9.1.0.0 37 active 32774 Health Monitor: Max Kernel Memory Used (%) jnxBoxKernelMemoryUsedPercent.0 7 active
2020-09-29: Updated reference links in step 1.