Juniper J-Series Administration Manual page 118

Juniper networks router administration guide
Hide thumbs Also See for J-Series:
Table of Contents

Advertisement

J-series
Services Router Administration Guide
Table 45: Configuring Event Policies
Task
Configuring Destination for Uploading Files for Analysis
Navigate to the Destinations level in
the configuration hierarchy.
Enter the destination name—for
example,
.
bsd2
You can reference the destination in
an event policy.
Configure the archive site—for
example,
ftp://ftp.robot.net/event_analyze
you want the output of commands
executed by the event policy to be
uploaded in a file for analysis, and
the password—for example,
eventadmin
—for accessing the archive
site.
NOTE: You can specify the archive
site as a Hypertext Transfer Protocol
(HTTP) URL, FTP URL, or secure copy
(SCP)-style remote file specification.
URLs of the type
file://
are also
supported.
NOTE: When you specify the archive
site, do not add a slash (/) to the end
of the URL. For example, do not
specify the archive site as
ftp://ftp.robot.net/event_analyze/
Configuring Event Policy
Navigate to the Policy level in the
configuration hierarchy, and enter
the policy name—for example,
event1
.
Configure the event name—for
example,
SNMP_TRAP_LINK_DOWN
The
SNMP_TRAP_LINK_DOWN
occurs when an interface that is
monitored by SNMP becomes
unavailable.
96
Running Self-Diagnostics with Event Policies
J-Web Configuration Editor
1.
In the J-Web interface, select
Configuration>View and Edit>Edit
Configuration.
2.
Next to Event options, click
Configure or Edit.
3.
Next to Destinations, click
.
entry
In the Destination name box, type
1.
Next to Archive sites, click Add new
entry.
—where
2.
In the Url box, type
ftp://ftp.robot.net/event_analyze
3.
In the Password box, type
.
eventadmin
4.
Click OK.
.
1.
On the main Configuration page next
to Event options, click Configure or
Edit.
2.
Next to Policy, click Add new entry.
3.
In the Policy name box, type
1.
Next to Events, click Add new entry.
.
2.
In the Event box, type
SNMP_TRAP_LINK_DOWN
event
3.
Click OK.
CLI Configuration Editor
From the
[edit]
edit event-options destinations
Add new
Set the destination name, the archive site
bsd2
.
location, and the password for accessing
the archive site:
set bsd2 archive-sites
ftp://ftp.robot.net/event_analyze password
eventadmin
.
From the
[edit]
edit event-options policy event1
.
event1
Set the event name:
set events SNMP_TRAP_LINK_DOWN
.
hierarchy level, enter
hierarchy level, enter

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents