Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

event-options

Syntax

event-options {destinations {destination-name {archive-sites {url <password password>;}transfer-delay seconds;}}event-script {file filename {checksum (md5 | sha-256 | sha1) hash;refresh;refresh-from url;remote-execution {remote-hostname {passphrase user-password;username user-login;}}source url;}max-datasizerefresh;refresh-from url;traceoptions {file <filename> <files number> <size size> <world-readable | no-world-readable>;flag flag;no-remote-trace;}}generate-event event-name {time-interval seconds;time-of-day hh:mm:ss;}max-policiespolicy policy-name {attributes-match {event1.attribute-name equals event2.attribute-name;event.attribute-name matches regular-expression;event1.attribute-name starts-with event2.attribute-name;}events [events];then {change-configuration {commands {"command";}commit-options {check <synchronize>;force;log "comment-string";synchronize;}retry count number interval seconds;user-name username;}event-script filename {arguments {argument-name argument-value;}destination destination-name {retry-count number retry-interval seconds;transfer-delay seconds;}output-filename filename;output-format (text | xml);user-name name;}execute-commands {commands {"command";}destination destination-name {retry-count count retry-interval seconds;transfer-delay seconds;}output-filename filename;output-format (text | xml);user-name username;}ignore;priority-override {facility facility-type;severity severity-level;}raise-trap;upload filename (filename | committed) destination destination-name {retry-count count retry-interval seconds;transfer-delay seconds;user-name username;}}within seconds {events [ events ];not events [ events ];trigger (after number | on number | until number);}}traceoptions {file filename <files number> <size size> <world-readable | no-world-readable>;flag flag;}}

Hierarchy Level

[edit]

Release Information

Statement introduced in Junos OS Release 7.5.

Statement introduced in Junos OS Release 9.0 for EX Series switches.

Description

Configure event policies.

The statements are explained separately.

Required Privilege Level

maintenance—To view this statement in the configuration.
maintenance-control—To add this statement to the configuration.

Published: 2013-03-05

Published: 2013-03-05