event-script (Event Options)
Syntax
event-script { dampen { dampen-options { cpu-factor cpu-factor; line-interval line-interval; time-interval time-interval; } } file filename { cert-file path; checksum hash-algorithm hash-value; dampen { dampen-options { cpu-factor cpu-factor; line-interval line-interval; time-interval time-interval; } } python-script-user username; refresh; refresh-from url; remote-execution { remote-hostname { passphrase user-password; username user-login; } } routing-instance routing-instance-name; source url; start { start-options { mem-factor percentage; } } } max-datasize size; optional; refresh; refresh-from url; start { start-options { mem-factor percentage; } } traceoptions { file <filename> <files number> <size size> <world-readable | no-world-readable>; flag flag; no-remote-trace; } }
Hierarchy Level
[edit event-options]
Description
CAUTION:
Enabling tracing can adversely impact scale and performance and may increase security risk. We strongly recommend using the trace, tracing, or traceoptions commands only under the guidance of a JTAC support engineer. After collecting the debug information, immediately disable tracing to minimize risk and restore normal system performance.
For Junos OS event scripts, configure scripting mechanisms.
The remaining statements are explained separately. See CLI Explorer.
Required Privilege Level
maintenance—To view or add this statement in the configuration.
Release Information
Statement introduced in Junos OS Release 7.6.