policy
Syntax
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 ];
then {
... the then subhierarchy appears at the end of the [edit event-options policy policy-name]
hierarchy level ...
}
within
seconds {
events
[ events ];
not
events [ events ];
trigger
(on | after | until) event-count;
}
then
{
event-script
filename {
arguments
{
argument-name argument-value;
}
destination
destination-name {
retry-count
count retry-interval seconds;
transfer-delay
seconds;
}
output-filename
filename;
output-format
(text | xml);
user-name
username;
}
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;
}
}
}
693
Copyright © 2010, Juniper Networks, Inc.
Chapter 41: Configuration Statements for System Monitoring
Summary of Contents for JUNOS OS 10.3 - SOFTWARE
Page 325: ...CHAPTER 17 Operational Mode Commands for System Setup 229 Copyright 2010 Juniper Networks Inc ...
Page 1323: ...CHAPTER 56 Operational Mode Commands for Interfaces 1227 Copyright 2010 Juniper Networks Inc ...
Page 2841: ...CHAPTER 86 Operational Commands for 802 1X 2745 Copyright 2010 Juniper Networks Inc ...
Page 3367: ...CHAPTER 113 Operational Mode Commands for CoS 3271 Copyright 2010 Juniper Networks Inc ...
Page 3435: ...CHAPTER 120 Operational Mode Commands for PoE 3339 Copyright 2010 Juniper Networks Inc ...
Page 3529: ...CHAPTER 126 Operational Mode Commands for MPLS 3433 Copyright 2010 Juniper Networks Inc ...