major-event (Process)
Syntax
major-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 significant 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 threshold
for the rpd
process and the memory limit for that process
which you would classify as a a major event.
Options
threshold | Specifies the process threshold level for a major 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 major event is triggered. |
action | Specifies the action to be performed when the threshold is crossed. For major events, you can raise an SNMP trap or 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. |
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.