Working Modes of AI-Scripts
AI-Scripts operate in the following modes:
Reactive Mode—In reactive mode, AI-Scripts collect data from the device when a predefined event, such as the failure to allocate memory for a process or failure of a hardware, occurs on the device and store the data at the
/var/tmplocation of the device. Service Now accesses the data from the device for analysis and resolution. The Juniper Message Bundle (JMB) generated in this mode is known as an event JMB or eJMB.
Proactive Mode—In proactive mode, AI-Scripts periodically collect data on vital system functions and store the data at the
/var/tmplocation on the device. This data is accessed by Service Now to monitor the device and to predict and prevent issues that can affect the performance of the device. The JMB generated in this mode is known as an informational JMB, iJMB, or device snapshot.
A user can also trigger the AI-Scripts to generate a JMB. This
JMB is known as on-demand JMB or oJMB. When you, as a user, submit
an on-demand incident request on a device by using Service Now, Service
Now calls the
script installed on the device from the AI-Scripts bundle to generate
an on-demand JMB. An on-demand JMB is a separate type of JMB, but
similar to an eJMB. You can use the on-demand option in Service Now
to generate JMBs when you do not want to wait for an event to generate
Service Now can generate JMBs without using AI-Scripts as well. These JMBs are known as off-box JMBs. You can use Service Now to generate off-box on-demand JMBs when AI-Scripts are not installed on a device.