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.
While operating in Partner Proxy mode, you cannot install event profiles on the devices of end customers.
For information about behavior of AI-Scripts when installed on specific product families, see https://kb.juniper.net/InfoCenter/index?page=content&id=KB29188.
To install an event profile on devices:
- From the Service Now taskbar, select Administration > Event Profiles.
The Event Profiles page appears.
- 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 1).
You can install event profiles only on devices for which you can specify correct login credentials and that belong to a device group.
- Under the Select Devices to Install Profile section, select the devices on which you want to install the event profile.
- (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.
- (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.
- (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.
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.slaxfile 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.
- (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.
- 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.
- (Optional) To export device data in an Excel format, click Export Devices with Exposure to Excel.
- (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.
- Click Return to Potential Exposure to continue.
- 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.
- 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.
- Click OK.
The View Event Profiles page appears.