AI-Scripts Overview
When AI-Scripts are installed on a device, the device is AIS enabled. It can then automatically detect and report incidents and informational JMBs. This helps to ensure maximum network uptime. This section contains the following topics:
What AI-Scripts Do
AI-Scripts perform the following functions:
- React to specific incident events that occur on devices and provide relevant information about the problems for analysis
- Periodically collect data on events that can be used to predict and prevent risks in the future.
- Package all incident and information event data into a structured format called a Juniper Message Bundle (JMB) and send it to Service Now. Service Now can be configured to send event data to Juniper Support Systems (JSS). JSS collects incident and information messages from Service Now and sends information updates back to Service Now specifically for your network.
AI-Scripts operate in a reactive (incident-driven) mode. When a trigger event occurs and is detected on a device, an AI-Script is executed. The AI-Script builds a Juniper Message Bundle (JMB) with event and router data, and sends it to a designated Service Now archive location. Each AI-Script corresponds to a specific device event. The list of device events that can be detected and reported will evolve over time.
Events Detected by AI-Scripts
AI-Scripts detect the following types of events:
- Common software events, including daemon and Packet Forwarding Engine crashes
- Common hardware events, such as PIC alarms
- Hardware platform-specific events, such ASIC issues
JMB Contents
The JMB for incidents and informational JMBs contains the following:
- Manifest—basic router and event data
- Trend data—device counters, statistics, and settings
- Attachments—show command output for the incident event.

