Running Self-Diagnostics With Event Policies - Juniper J-Series Administration Manual

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

Advertisement

J-series
Services Router Administration Guide
Disabling Operation Scripts
If you do not want an operation script to run, you can disable it by deleting or
deactivating it in the configuration. Deleting an operation script permanently removes
it from the configuration. To run the script later, you must reenable the script as
described in "Enabling Operation Scripts" on page 93. Deactivating an operation
script disables the script until you activate it later.
To delete an operation script, do the following:
1.
2.
To deactivate an operation script:
1.
2.
NOTE: You can later reactivate the operation script using the
op filename.xsl

Running Self-Diagnostics with Event Policies

To diagnose a fault or error condition on a routing platform, you need relevant
information about the state of the platform. You can derive state information from
event notifications. Event notifications are system log messages and Simple Network
Management Protocol (SNMP) traps.
Timely diagnosis and intervention can correct error conditions and keep the routing
platform in operation. Event policies allow you to automatically initiate self-diagnostic
94
Running Self-Diagnostics with Event Policies
user@host# op filename.xsl
From configuration mode in the CLI, enter the following command:
user@host# delete system scripts op filename.xsl
Commit the configuration:
user@host# commit
commit complete
From configuration mode in the CLI, enter the following command:
user@host# deactivate system scripts op filename.xsl
Commit the configuration:
user@host# commit
commit complete
command.
activate system scripts

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents