event-options
Syntax
- event-options {
-
- destinations {
-
- destination-name {
-
- archive-sites {
- url <password password>;
- }
- transfer-delay seconds;
- }
- }
-
- event-script {
-
- file filename {
- 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 {
- events [ events ];
- within seconds not events [ events ];
-
- attributes-match {
- event1.attribute-name equals event2.attribute-name;
- event.attribute-name matches regular-expression;
- event1.attribute-name starts-with event2.attribute-name;
- }
-
- 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
Release Information
Statement introduced in JUNOS Release 7.5.
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.

