Technical Documentation

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;}refresh;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;}policy 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 ];within seconds not events [ events ];then {event-script filename {arguments {argument-name argument-value;}output-filename filename;destination destination-name {retry-count count retry-interval seconds;transfer-delay seconds;}}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;raise-trap;upload filename (filename | committed) destination destination-name {retry-count count retry-interval seconds;transfer-delay seconds;user-name username;}}}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: 2010-07-15

Help
|
My Account
|
Log Out