Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Event Profiles Overview

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

    The latest AI-Scripts bundle is pre-loaded with Service Now and hence when you install Service Now, the latest AI-Scripts bundle is displayed on the Script Bundles page. 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, the default event profile is associated with the preloaded AI-Scripts bundle.

    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. The default AI-Scripts bundle is automatically selected while creating a new event profile and the default event profile is automatically selected while installing an event profile on devices.

    Note: Read the KB article, http://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. Cloning an event profile allows you to make changes without losing 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 other devices. The priority of event scripts determine the priority shown in the JMBs generated for a Service Now event. After you install event profiles on devices, you can filter and display only those devices on which a specific event profile is installed. Service Now also enables 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.

    In Service Now, event profiles are displayed on the Event Profiles page as shown in Figure 1. The tabular view of the Event Profiles page displays information about the event profile including the total number of incidents generated per event in the event profile, the total number of active events, the total number of inactive events, the number of devices on which the event profile is installed, most active events, least active events, and inactive events. The default event profile is indicated by a unique icon as shown in Figure 1, Base_Profile_3_7R1_ 2 is the default event profile. a

    Figure 1: View Event Profiles Page

    View Event Profiles
Page

    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.

    From Service Now release 15.1R1 and AI-Scripts Release 5.0R1, Service Now pushes and commits a static AI-Scripts configuration 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. The static configuration, once committed on the device is used during successive installation or upgrade of AI-Scripts, thereby, eliminating 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:

    set groups juniper-ais system scripts op file ais_change_perm.slax
    set groups juniper-ais system scripts op file ais_core_perm.slax
    set groups juniper-ais system scripts op file on-demand.slax
    set groups juniper-ais system scripts op file remove-jais.slax
    set groups juniper-ais system scripts op file ais_arc.slax
    set groups juniper-ais system scripts op file ais-attach-file.slax
    set groups juniper-ais system scripts op file stop-ais-now.slax
    set groups juniper-ais system scripts op file ais_signalSN.slax
    set groups juniper-ais system scripts op file ais_core_chm.slax
    set groups juniper-ais system scripts op file ais_all_chm.slax
    set groups juniper-ais system scripts op file att_signalSN.slax
    set groups juniper-ais system scripts op file ais-rsi-chk.slax
    set groups juniper-ais system scripts op file ais-param-set.slax
    set groups juniper-ais system scripts op file ais-sleep.slax
    set groups juniper-ais system scripts op file ais-error.slax
    set groups juniper-ais system scripts op file ais-health-report.slax
    set groups juniper-ais system scripts op file ais_xfer_jmb.slax
    set groups juniper-ais system scripts op file ais_policy_create.slax
    set groups juniper-ais event-options event-script max-datasize 128m
    set groups juniper-ais event-options event-script file intelligence-event-main.slax
    set groups juniper-ais event-options event-script file bios.slax
    set groups juniper-ais event-options event-script file phdc.slax
    set groups juniper-ais event-options event-script file Master-event-struct.slax
    set groups juniper-ais event-options event-script file Master-event-unstruct.slax
    set groups juniper-ais event-options event-script file Master-policy-events.slax
    set groups juniper-ais event-options event-script file User-event-struct.slax
    set groups juniper-ais event-options event-script file User-event-unstruct.slax
    set groups juniper-ais event-options event-script file User-policy-events.slax
    set groups juniper-ais event-options event-script file jais-scripts-add.slax
    set groups juniper-ais event-options destinations juniper-aim archive-sites /var/tmp
    set apply-groups juniper-ais
    

    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 2 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 due to installation or upgrade and subsequent commit of AI-Scripts, clear the check box.

      Figure 2: 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, the static AI-Scripts configuration must be pushed manually and the /var/db/scripts/op/ais-param-set.slax file executed 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, 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.

      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) option on the Uninstall Event Profiles dialog box as shown in Figure 3, when selected, uninstalls AI-Scripts 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 3: Uninstall Event Profiles Dialog Box

      Uninstall
Event Profiles 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, ensure that the AI-Scripts configuration on the device is deleted by manually executing the /var/db/scripts/remove-jais.slax 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

    Using the Event Profiles task, you can perform the following actions:

    Modified: 2017-06-08