[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

AI-Scripts Overview

AI-Scripts provide the intelligence devices need to automatically detect and report incident and intelligence events to ensure maximum network uptime.

This section provides the following topics:

What AI-Scripts Do

AI-Scripts do the following:

AI-Scripts Modes

AI-Scripts operate in two distinct modes:

Events Detected by AI-Scripts

AI-Scripts detect the following types of events:

For more information about the types of incidents that are detected by a specific AI-Script package, see the AI-Scripts Release Notes located on the AIS documentation Web site.

JMB Contents

The JMB for both incident and intelligence events includes the following:

AI-Scripts Tools

AI-Scripts use the following tools on JUNOS devices:

Event Policies

An event policy is an if-then-else construct that defines actions to be executed by the software on receipt of a system log message. For each policy, you can configure multiple actions, as follows:

For more information about event policies, see the JUNOS Configuration and Diagnostic Automation Guide.

Operation (Op) Scripts

An op script automates network troubleshooting and network management by doing the following:

For more information about op scripts, see the JUNOS Configuration and Diagnostic Automation Guide.

JUNOScript

The JUNOScript API (application programming interface) is an Extensible Markup Language (XML) application that client applications use to request and change configuration information on routing platforms that run the JUNOS software. The operations defined in the API are equivalent to configuration mode commands in the JUNOS command-line interface (CLI). Applications use the API to display, edit, and commit configuration statements (among other operations), just as administrators use CLI configuration mode commands such as show, set, and commit to perform those operations. For more information about JUNOScript, see the JUNOScript API Guide.

Stylesheet Language Alternative Syntax

Stylesheet Language Alternative Syntax (SLAX) is a language for writing JUNOS commit and op scripts and is an alternative to Extensible Stylesheet Language Transformations (XSLT). SLAX has a distinct syntax, but the same semantics as XSLT.

SLAX has a simple syntax that follows the style of C and PERL. It provides a practical and succinct way to code, thus allowing you to create readable, maintainable commit and op scripts. SLAX removes programming instructions and XPath expressions from XML elements. XML angle brackets and quotation marks are replaced by parentheses and curly brackets ({ }), which are the familiar delimiters of C and PERL.

AI-Scripts Process Flow

Figure 10 shows the AI-Scripts process flow.

Figure 10: AI-Scripts Process Flow

Image g040003.gif

The AIM Archive location can either be a local directory on the same system as AIM, or a directory mounted from another system onto the system running AIM. The archive location directory should be used exclusively for JMBs and no other AIM files.

AIM connects to the AIM archive location, retrieves, then displays the JMB information in Incident Manager for reactive services and Intelligence Manager for proactive services. For reactive services, AIM submits a case for resolution by JSS. For proactive services, JSS analyzes intelligence information, then sends AIM pertinent information to prevent problem events from occurring in the future.


[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]