Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Event Profiles and AI-Scripts

 

Service Now Event Profiles Overview

An event profile is a set of event scripts, selected from an AI-Scripts bundle that you install on Junos Space Service Now devices. The event scripts in the event profile determine the events for which AI-Scripts generate an event Juniper Message Bundle (eJMB.

Juniper Networks ships the latest AI-Scripts bundle with Service Now and hence when you install Service Now, the latest AI-Scripts bundle is displayed on the Script Bundles page (Administration > Event Profiles > Script Bundles). You can also download other AI-Scripts bundles from the Juniper Networks software download site and upload them to Service Now (see Adding a Script Bundle to Junos Space Service Now).

Service Now also has a default event profile that is associated with the default AI-Scripts bundle. For new Service Now installations or upgrades, Service Now associates the default event profile with the AI-Scripts bundle shipped with Service Now.

After installing or upgrading Service Now, you can add additional AI-Scripts bundles and set any AI-Scripts bundle and event profile as the default. Service Now uses the default Scripts bundle to create a new event profile and selects the default event profile while installing an event profile on devices.

Note

Read the KB article, https://kb.juniper.net/KB19155, before installing AI-Scripts on devices.

Service Now allows you to clone an existing event profile by modifying its name, description, the associated AI-Scripts bundle, set of included event scripts, and event script priorities. You can clone an event profile to create a new event profile by modifying a few attributes of the original event profile. After you make your modifications, you can save the cloned event profile and install it on devices on which the original event profile is installed. You can also install the new event profile on any device.

The priority of event policies in an event profile determine the priority shown in the JMBs generated for a Service Now event. Service Now allows you to export event data that is specific to an event profile to Excel format and delete event profiles that are not associated with devices.

You can view event profiles on the Event Profiles page (Administration > Event Profiles) as shown in Figure 29. Table 17 lists the information displayed on the Event Profiles page The default event profile is indicated by a unique icon. In Figure 29, Base_Profile_3_7R1_ 2 is the default event profile.

Figure 29: View Event Profiles Page
View Event Profiles
Page

Table 17 lists the parameters of event profiles.

Table 17: Event Profile Parameters

Parameter

Description

Name

Name of the event profile

Description

Description of the event profile

AI-Scripts Version

Version of AI-Scripts used to created the event profile

Created By

User who created the event profile

Created

Date and time when the event profile was created

Events Included

Number of events from the AI-Scripts bundle included in the event profile

Events Excluded

Number of events from the AI-Scripts bundle not included in the event profile

Total Events in Script Bundle

Number of events in the AI-Scripts bundle using which the event profile was created

Events with No Incidents

Number of events for which incidents have not been created

Total Incidents

Number of incidents that are created by using the event profile

Associated Devices

Number of devices on which the event policy is installed

Domain

Domain to which the event policy is assigned

Installing, Upgrading, or Uninstalling AI-Scripts on Managed Devices without Modifying Device Configuration Overview

Advanced Insight Scripts (AI-Scripts) provide the intelligence that managed devices need to automatically detect and report hardware and software failure or other functional abnormalities. For AI-Scripts to provide intelligence to a device, AI-Scripts must be installed and AI-Scripts configuration committed on a device running Junos OS.

Starting in Service Now Release 15.1R1, when AI-Scripts Release 5.0R1 is installed (or an earlier version is upgraded to Release 5.0R1) on the device for the first time, a static AI-Scripts configuration is pushed and commited on the device. The static configuration, once committed on the device, is used during successive installation or upgrade of AI-Scripts. This eliminates the need for pushing and committing AI-Scripts configuration for each AI-Scripts installation or upgrade.

The Static AI-Scripts comprises the following Junos OS commands:

Service Now provides the following options to install and uninstall AI-Scripts on the managed devices without modifying the device configuration:

  • The Alter device configuration to enable AI-Script events on device check box on the Install Event Profiles page (as shown in Figure 30) provides the option to install AI-Scripts on a managed device without modifying the device configuration.

    This check box is selected by default. To avoid the device configuration from being modified when you install or upgrade and subsequently commit AI-Scripts, clear this check box.

    Figure 30: Install Event Profile Page
    Install Event
Profile Page
    Note
    • If you clear the Alter device configuration to enable AI-Script events on device check box and the static AI-Scripts configuration is not present on the device, Service Now only installs the AI-Scripts bundle on the device.

      For AI-Scripts to be configured and JMBs generated on the device, you must manually push the static AI-Scripts configuration and execute the /var/db/scripts/op/ais-param-set.slax file on the device.

    • When you install or upgrade AI scripts releases earlier than Release 5.0 on a device by using Service Now Release 15.1 or later, you must manually push the static AI-Scripts configuration to the device for each installation and upgrade irrespective of whether the Alter device configuration to enable AI-Script events on device check box is selected or cleared.

    For information about installing AI-Scripts on a device, see Installing an Event Profile on a Device by Using Service Now.

  • The Partial Un-Install of scripts(Supported in AI-Script 5.0 and above versions) check box on the Uninstall Event Profiles dialog box, as shown in Figure 31, when selected, provides an option to uninstall AI-Scripts from a device without modifying the device configuration.

    This option is cleared by default. When you uninstall AI-Scripts with this option selected, subsequent installation or upgrade of AI-Scripts does not modify the device configuration.

    Figure 31: Uninstall Event Profile Dialog Box
    Uninstall
Event Profile Dialog Box
    Note

    If you uninstall AI-Scripts Release 5.0 or later with the Partial Un-Install of scripts(Supported in AI-Script 5.0 and above versions) option cleared, you must delete the AI-Scripts configuration on the device by executing the /var/db/scripts/remove-jais.slax script on the device to avoid errors while committing the AI-Scripts configuration during the next installation or upgrade.

    For information about uninstalling AI-Scripts from a device, see Uninstalling an Event Profile from a Device.

Associated Actions

You can perform the following actions related to event profiles:

Adding an Event Profile to Junos Space Service Now

An event profile is a set of scripts that are selected from an AI-Scripts bundle. By using event profiles, you can specify the event scripts you want to install on the devices. To add an event profile, you can use the default AI-Scripts bundle that is available when you install Service Now, or upload and use another AI-Scripts bundle (see Adding a Script Bundle to Junos Space Service Now).

After you add an AI-Scripts bundle to Service Now, to be able to install the AI-Scripts bundle on the devices, you must create an event profile using this AI-Scripts bundle.

To add an event profile:

  1. From the Service Now navigation tree, select Administration > Event Profiles > Add Event Profile.

    The Add Event Profile page appears as shown in Figure 32.

    Figure 32: Add Event Profile Page
    Add Event Profile Page

For a description of the fields displayed on this page, see Table 18.

Table 18: Add Event Profile Page Field Descriptions

Field

Description

Profile Name

Enter a name of the event profile.

The name can contain alphanumeric characters, underscore, hyphens and space. The maximum number of characters allowed is 255.

Description

Enter a description for the event profile.

The maximum number of characters allowed is 255.

Script Bundle

Lists the AI-Scripts bundles that are available in Service Now. This consists of the default AI-Scripts bundle that is available with Service Now and the ones that you upload.

Find Events

Specify an event from the list to filter the displayed list of events

Show Selected Events

Shows all the events that you have selected.

Description of the columns in the Add Event Profiles page

Event Synopsis

Name used to identify the event script.

Type

Type of event that triggers the event script:

  • Hardware failure

  • Software failure

  • Resource Exhaustion

Sub Type

A brief description of the event type that triggers the event script to execute. For example, file system error, communication error, socket failure, excessive memory utilization, database failure, session error, memory allocation error, initialization error, process error, and so on.

Priority

Priority level of the event script. The values are:

  1. Low

  2. Medium

  3. High

  4. Critical

KB Article

Provides a link to knowledge base where you can find information such as cause and solution for the event..

RMA Event

Specifies if this is an RMA event or not.

  1. Enter an event profile name.
  2. (Optional) Enter a description for the event profile.
  3. Select a script bundle from the Script Bundle list. If you want to add a new script bundle and use the new script bundle to create an event profile, click Add Script Bundle. See Adding a Script Bundle to Junos Space Service Now for details about adding a new script bundle to Service Now.

    By default, the script bundle that is set as the default is automatically selected for installing the event profile. You can modify this selection if required.

  4. (Optional) To search for specific events to be included in the event profile, use the Find Events field.
  5. Click Submit.

    An event profile is created with your specifications and the Save Event Profile dialog box appears.

  6. On the Save Event Profile dialog box, click one of the following links based on the required results.

    Link

    Result

    Apply this profile to original set of devices

    The Potential Exposure to Known Issues page appears and displays information about the selected set of devices. An icon (!) appears on the left-side of the row of a device on which the selected events in the event profile are likely to occur.

    Figure 33: Potential Exposure to Known Issues Page
    Potential Exposure to Known Issues Page
    1. (Optional) To export device data in an Excel format, click Export Devices with Exposure to Excel.

    2. (Optional) To view a device’s exposure to known issues, click the respective link displayed in the Exposure column. The View Exposure page appears and displays the known issues associated with the respective device.

    3. Click Return to Potential Exposure to continue.

    4. Click Continue.

      A confirmation dialog box appears displaying the final list of devices on which you want to install the selected event profile.

      You can remove devices from the list by clearing the check boxes of the devices you want to remove .

    5. Click Install.

      The event profile is installed on the selected devices, and the Service Now Devices page appears.

    Apply this profile to devices manually

    The Push to Devices page appears. Here you can select Service Now devices on which you want to install the event profile.

    For more information, see Pushing an Event Profile to Devices .

    Return to the Profiles Page

    The event profile installation task is canceled, and the Event Profiles page appears.

Cloning an Event Profile

Junos Space Service Now provides the Clone option in the Actions list of the Event Profiles page to clone an existing event profile and modify its priority to create another event profile. When you clone an event profile, Service Now provides a default name by appending the name of the original event profile with Copy of. You can edit this name.

Note

Editing an event profile is similar to cloning an event profile. You cannot edit an event profile.

To clone an event profile:

  1. From the Service Now navigation tree, select Administration > Event Profiles.

    The Event Profiles page appears.
  2. Select the event profile that you want to clone, and select Clone from either the Actions list or the right-click menu.

    The Clone Event Profile page appears.

  3. (Optional) In the Profile Name, edit the profile name.

    By default, Service Now populates the name of the event profile as a Copy of event profile from which the new event profile is being cloned.

  4. (Optional) In the Description text field, enter a description for the cloned event profile.
  5. (Optional) From the Script Bundle list, select a script bundle from which to create the cloned event profile..

    A Show difference button appears.

  6. (Optional) Click the Show difference button to view the differences in the events between the original script bundle and the newly selected script bundle.

    The Event Difference Display dialog box displays the events that are new and deprecated in the newly selected script bundle in comparison with the script bundle used in the original event profile.

    After viewing the differences, close the Event difference display dialog box to return to the Clone Event Profile page.

  7. (Optional) To search for specific events, enter the name of the event in the Find Events search field.
  8. (Optional) Click Priority for each event to modify the event priority. The values are:

    1. Low

    2. Medium

    3. High

    4. Critical

  9. Click Submit. The event profile is created and the Save Event Profile dialog box appears.
  10. Click one of the following links based on the required results.

    Link

    Result

    Apply this profile to original set of devices

    When you click this link, the Select Devices to Install Profile section appears on the Clone Event Profile page..

    In this page, specify the following options for installing the profile on the devices:

    • Specify the devices on which you want to install the event profiles by selecting the respective check box present on the left side of the row.

      To specify all the listed devices, select the check box present next to Organization column heading.

    • If you do not want to save a copy of the event profile after it is installed on the device, select the Never store Script Bundle files on device (if selected roll-back option will not be available) check box.

      This check box is cleared by default.

      Note: If you select this check box, roll back to this version of the AI-Scripts bundle is not possible in future.

    • If you want to remove the script bundle from the device after it is installed, select the Remove Script Bundle files after successful install check box..

    • if you do not want the device configuration to be modified while committing the event profile on the device, clear the Alter device configuration to enable AI-Script events on device check box.

      By default, this option is selected.

      Note:

      • If you clear the Alter device configuration to enable AI-Script events on device check box and the static AI-Scripts configuration is not present on the device, Service Now only installs the AI-Scripts bundle on the device. The static AI-Scripts configuration must be committed on the device manually and the /var/db/scripts/op/ais-param-set.slax file executed for AI-Scripts to generate JMBs.

      • When you install or upgrade AI scripts releases earlier than Release 5.0 on a device using Service Now Release 15.1 or later, the static AI-Scripts configuration must be pushed manually to the device for each installation and upgrade irrespective of whether the Alter device configuration to enable AI-Script events on device check box is selected or cleared.

    • If you want to install the event profiles later on the devices, schedule the installation.

      Selecting the Schedule at a later time check box provides the controls to specify the date and time of the installation.

    Click Submit to proceed with the installation. The Potential Exposure when Event Profile is Installed on Devices page displays the selected set of devices. An (!) icon present on the left-side of a device row indicates that the device is susceptible to events in the event profile.

    On this page, you can

    • Export information on devices susceptible to events.

      To export device data in an Excel format, click Export Devices with Exposure to Excel.

    • View the events to which a device is susceptible.

      To view the events to which a device is susceptible, click the respective link displayed in the Exposure column. The View Exposure page appears and displays the known issues associated with the respective device. Click Return to Potential Exposure to continue.

    To proceed with the installation:

    1. Select the devices on which you want install the event profile and click Continue.

      The Install Event Profile dialog box appears.

    2. Click Install or Cancel to confirm or cancel the installation of the event profiles on the selected devices.

    Apply this profile to devices manually

    When you click this link, the Push to Devices page appears.

    On this page, you can select Service Now devices and install event profiles on the selected devices.

    For information about installing event profiles on devices, see Pushing an Event Profile to Devices.

    Return to the Profiles Page

    When you click this link, Service Now cancels the installation of event profile on devices and displays the Event Profiles page.

    The cloned event profile is listed on the Event Profiles page.

Importing Event Profiles into Junos Space Service Now in XML Format

Junos Space Service Now provides the Import Event Profiles option in the Actions list of the Event Profiles page to import event profiles in the XML format to Service Now. You can import only one XML file at a time. To import multiple event profiles at the same time, include all the event profiles in the same XML file. Each event profile that is imported is listed on the Event Profiles page.

The following is a sample of the XML file containing event profiles for importing into Service Now:

To Import event profiles into Service Now in the XML format:

  1. On the Service Now navigation tree, select Administration > Event Profiles > Import Event Profiles.

    The Import Event Profiles page appears as shown in Figure 34.

    Figure 34: View Event Profiles Page
    View Event Profiles Page
  2. Click Browse to browse for the event profile file and click Upload.

    Service Now imports the event profile file and lists the imported event profiles on the Event Profiles page.

Exporting Event Profiles from Junos Space Service Now in XML Format

Junos Space Service Now provides the Export All Profiles and Export Selected Profiles options on the Actions list of the Event Profiles page to export event profiles in the XML format. Service Now includes all event profiles to be exported in a single XML file.

The following sample is an example of an event profile exported by Service Now:

To export event profiles in the XML format:

  1. In the Service Now navigation tree, select Administration > Event Profiles.

    The Event Profiles page appears.

  2. On the Event Profiles page, do one of the following:
    • To export all event profiles from Service Now, select Export All Profiles from the Actions list. Alternatively, right-click on an event profile and select Export All Profiles.

      The Export All Data dialog box appears as shown in Figure 35.

      Figure 35: Export All Data Dialog Box
      Export All Data Dialog
Box
    • To export selected event profiles, click the event profiles that you want to export and select Export Selected Profiles from the Actions list. Alternatively, you can click the event profiles that you want to export and select Export Selected Profiles from the right-click menu.

      The Export All Data dialog box appears as shown in Figure 36.

      Figure 36: Export All Data Dialog Box
      Export All Data Dialog Box
  3. Click Export.

    The Export Job Status dialog box appears. A Download link appears on the dialog box to download the XML file after the export job is complete.

  4. Click the Download link to view or save the XML file on your local system.

Deleting Event Profiles from Junos Space Service Now

Junos Space Service Now provides the Delete option in the Actions list of the Event Profiles page to delete event profiles. You can delete an event profile only if it is not associated with a device.

When you delete a default event profile, Service Now sets the most recently created event profile as the default event profile.

To delete event profiles:

  1. From the Service Now navigation tree, select Administration > Event Profiles.

    The Event Profiles page appears.

  2. Select one or more event profiles that you want to delete, and select Delete from either the Actions list or the right-click menu.

    The Delete Event Profiles dialog box displays the list of selected event profiles.

  3. Click Delete to confirm.

    Service Now deletes the selected event profiles and removes the deleted event profiles from the Event Profiles page.

Viewing an Event Profile

Using Service Now, you can view an event profile’s name, its description, and the scripts that are associated with it.

To view the event scripts that are part of an event profile:

  1. From the Service Now taskbar, select Administration > Event Profiles.

    The Event Profiles page appears.
  2. Select the event profile whose details you want to view, and select View Events from either the Actions list or the right-click menu.

    The View Events page displays the event profile’s name, its description, and the scripts that are associated with it. The event script details includes the names of the event scripts, types, subtypes, priorities, link to knowledge base about the event, if the event is a RMA event occurrences in the last 90 days, the total number of occurrences till date, the number of unique devices, and the number of top devices.

  3. Click OK to return to the Event Profiles page.

Pushing an Event Profile to Devices

An event profile is a set of event policies that are selected from an AI-Scripts bundle. When you push an event profile onto Juniper Networks devices, these event policies are installed on the devices. The event policies automatically detect and report problems (incident) that occur on the device and also provide monitoring information.

Junos Space Service Now uses Device Management Interface (DMI) to install and remove event profiles on devices. DMI is an extension to the NETCONF network management protocol.

When you install event profiles on individual systems (chassis) with dual Routing Engines, Service Now installs the event profiles on both the primary and backup Routing Engines.

Note

To install an event profile on devices:

  1. From the Service Now taskbar, select Administration > Event Profiles.

    The Event Profiles page appears.

  2. Select the event profile that you want to push to devices, and select Push to devices from either the Actions list or the right-click menu.

    The Push to Devices page appears (see Figure 37).

    Figure 37: Push to Devices Dialog Box
    Push to
Devices Dialog Box
    Note

    You can install event profiles only on devices for which you can specify correct login credentials and that belong to a device group.

  3. Under the Select Devices to Install Profile section, select the devices on which you want to install the event profile.
  4. (Optional) If you do not want to save a copy of the event profile after it is installed on the device, select the Never store Script Bundle files on device (if selected roll-back option will not be available) check box.
  5. (Optional) If you want to remove the script bundle from the device after it is installed, select the Remove Script Bundle files after successful install check box.
  6. (Optional) if you do not want the device configuration to be modified while committing the event profile on the device, clear the Alter device configuration to enable AI-Script events on device check box.

    By default, this option is selected.

    Note
    • If you clear the Alter device configuration to enable AI-Script events on device check box and the static AI-Scripts configuration is not present on the device, Service Now only installs the AI-Scripts bundle on the device. The static AI-Scripts configuration must be committed on the device manually and the /var/db/scripts/op/ais-param-set.slax file executed for AI-Scripts to generate JMBs.

    • When you install or upgrade AI scripts releases earlier than Release 5.0 on a device using Service Now Release 15.1 or later, the static AI-Scripts configuration must be pushed manually to the device for each installation and upgrade irrespective of whether the Alter device configuration to enable AI-Script events on device check box is selected or cleared.

  7. (Optional) If you want to schedule a time for installation, select the Schedule at a later time check box, and specify the date and time when you want to install the event profile in the Date and time field.

    Service Now installs the event profile at the configured date and time.

  8. Click Submit.

    The Potential Exposure when Event Profile is Installed on Devices page appears and displays information about the selected set of devices. An icon (!) appears on the left side of the rows of devices that are susceptible to the events in the event profile.

    Figure 38: Potential Exposure to Known Issues Page
    Potential Exposure to Known Issues Page
  9. (Optional) To export device data in an Excel format, click Export Devices with Exposure to Excel.
  10. (Optional) To view the events to which the device is susceptible, click the respective link displayed in the Exposure column.

    The View Exposure page appears and displays the known issues associated for the respective device.

  11. Click Return to Potential Exposure to continue.
  12. To proceed with the installation, Click Continue.

    The Install Event Profile dialog box appears. You can remove devices from the list by clearing their respective check boxes.

  13. Click Install.

    The event profile installation task is performed when scheduled and the Job Information dialog box displays the job ID.

    To view the status of this task, click the job ID link. The Jobs page displays the status of the job. The Device Details dialog box also displays the status of script installation on the selected devices.

    If you have installed the event profile on a dual Routing Engine, the results displayed on the Jobs page shows the status for both the primary Routing Engine and the backup Routing Engine. A Failed status indicates that the installation failed on either of the Routing Engines.

  14. Click OK.

    The View Event Profiles page appears.

Displaying Devices Associated with an Event Profile

Junos Space Service Now provides the Show Associated Devices option in the Actions list of the Event Profiles page to view devices that are associated with a specific event profile. This task is disabled when you select an event profile that is not associated with any device.

To display devices associated to an event profile:

  1. From the Service Now taskbar, select Administration > Event Profiles.

    The Event Profiles page appears.

  2. Select the event profile to view the devices associated with it, and select Show Associated Devices from either the Actions list or the right-click menu.

    The Service Now Devices page displays only the devices that are associated with the event profile that you selected.

Setting an Event Profile as the Default Event Profile in Junos Space Service Now

Junos Space Service Now provides the Set as Default Profile option in the Actions list of the Event Profiles page to set an event profile as the default. When you select devices on which you want to install an event profile, the default event profile is automatically selected as the event profile that must be installed. The default event profile is represented by a unique icon on the Event Profiles page. If you delete the default event profile, the latest event profile created is automatically set as the default.

To set an event profile as the default:

  1. From the Service Now taskbar, select Administration > Event Profiles.

    The Event Profiles page appears.
  2. Select the event profile that you want to set as the default, and select Set as Default Profile from either the Actions list or the right-click menu.

    The Set As Default Profile dialog box appears and prompts you for confirmation.

  3. Click Confirm.

    The selected event profile is set as the default and is automatically selected as the event profile that must be installed when you select devices in the Service Now Devices page for installing an event profile. The default event profile (for example, Base_Profile_3_7R1_2 in Figure 39) shows the default event profile indicated by the unique icon.
    Figure 39: View Event Profiles Page
    View Event Profiles
Page

Exporting Events Data in Excel Format

Junos Space Service Now enables you to export data such as the number of times a particular event occurred in the devices in the last 7 days, 30 days, 365 days, events that never occurred, and the day on which new events occurred to an Excel file and save it on your local file system.

To export events data to an Excel file:

  1. From the Service Now navigation tree, select Administration > Event Profiles.

    The Event Profiles page appears.
  2. Double-click the event profile whose event activity you want to export.

    The Event Profile Detail dialog box displays details about the event activity that are associated to the event profile that you selected.

  3. Click the Export events to Excel link.

    The browser dialog box allows you to open or save the Excel file.
  4. Select Open with to open the Excel file or select Save File to save the file on your local system.
  5. Click OK.

    The event activity information that appears in the Event Profile Detail dialog box is contained in the following five worksheets in the Excel file:
    • Event Activity(7 days)

    • Event Activity(30 days)

    • Event Activity(365 days)

    • New Active Events

    • Inactive Selected Events

Adding a Script Bundle to Junos Space Service Now

The Script Bundles page provides a central point for managing script bundles (also known as AI-Scripts install packages)downloaded from the Juniper Networks software download site. The script bundles must be stored locally on the system running the Service Now application. You need Service Now Administrator privileges to add a script bundle.

Note

The script bundle is distributed as a *.tgz file for releases prior to AI-Scripts Release 6.0R1.0. From AI-Scripts Release 6.0R1.0, the script bundle is distributed as a *.tar file.

After you add a script bundle to Service Now, to be able to install the script bundle on devices, you must first create an event profile by using this script bundle. See Adding an Event Profile to Junos Space Service Now.

To add a script bundle:

  1. From the Service Now taskbar, select Administration > Event Profiles > Script Bundles > Add Script Bundle.

    The Add Script Bundle page appears as shown in Figure 40.

    Figure 40: Add Script Bundle Dialog Box
     Add Script Bundle Dialog
Box
  2. Click Browse.

    The File Upload window appears.

  3. Locate the script bundle and click Upload.

    The selected script bundle is uploaded to Service Now and appears on the Script Bundles page.

Setting a Script Bundle as the Default Script Bundle in Junos Space Service Now

Junos Space Service Now provides the Set as Default Bundle option in the Actions list of the Script Bundles page to set a script bundle as the default. When you create an event profile, the default script bundle is automatically selected as the script bundle from which you select event policies to be included in the event profile. The default script bundle is represented by a unique icon on the Script Bundles page. If you delete the default script bundle, Service Now sets the most recently uploaded script bundle as the default script bundle.

To set a script bundle as the default:

  1. From the Service Now navigation tree, select Administration > Script Bundles.

    The Script Bundles page lists the available script bundles.

  2. Select the script bundle that you want to set as the default, and select Set as Default Bundle from either the Actions list or the right-click menu.

    The Set as Default Bundle dialog box prompts you to confirm.

  3. Click Confirm.

    The selected script bundle is set as the default and is represented by a unique icon on the Script Bundles page.

Deleting a Script Bundle from Junos Space Service Now

Junos Space Service Now provides the Delete option in the Actions list on the Script Bundles page to delete script bundles.

You cannot delete a script bundle if:

  • The script bundle is preloaded with Service Now

  • An event profile created by using the script bundle is installed on a device

To delete a script bundle:

  1. From the Service Now navigation tree, select Administration > Event Profiles > Script Bundles.

    The Script Bundles page lists the available script bundles.

  2. Select the script bundles that you want to delete, and select Delete Script Bundles from either the Actions list or the right-click menu.

    The Delete AI-Scripts dialog box appears and prompts you to confirm the deletion.

  3. Click Delete.

    Service Now deletes the script bundles from the database and returns to the Script Bundles page. The deleted script bundles are no longer listed on the Script Bundles page.

Release History Table
Release
Description
Starting in Service Now Release 15.1R1, when AI-Scripts Release 5.0R1 is installed (or an earlier version is upgraded to Release 5.0R1) on the device for the first time, a static AI-Scripts configuration is pushed and commited on the device. The static configuration, once committed on the device, is used during successive installation or upgrade of AI-Scripts. This eliminates the need for pushing and committing AI-Scripts configuration for each AI-Scripts installation or upgrade.