critical-event (Process)
Syntax
critical-event { threshold process name memory-limit value ; action [snmp-trap | live-core | (terminate-process| terminate-process-force)]; }
Hierarchy Level
[edit system monitor memory process]
Description
Indicates an event that, if left unchecked,
may result in serious loss of service or interruption of traffic.
You can specify the process threshold value for specific processes
and their memory limit. When the threshold is crossed, you can configure
the action to be performed. For instance, you can specify the process
threshold for the rpd
process and the memory limit for
that process which you would classify as a critical event.
Options
threshold | Specifies the process threshold level for a minor event. You must specify the process name and the memory limit for the process. |
memory | Specifies the permissible memory limit for the process after which the critical event is triggered. |
action | Specifies the action to be performed when the threshold is crossed. For critical events, you can force terminate the process. You can also display a list of system core files created when the system failed which you can use to debug the issue. You can also raise an SNMP trap. |
Required Privilege Level
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 20.1.