Validation Date
December 3, 2010
Version 2.1.1
Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
SUMMARY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Benefits of the AlarmPoint BMC Impact Manager Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
KEY FEATURES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
INTEGRATION COMPONENTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
User Synchronization Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
AlarmPoint Notification command files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
AlarmPoint Action Script Set for BMC IM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
AlarmPoint Voice Recordings for BMC IM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
AlarmPoint Java Client Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
SYSTEM REQUIREMENTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Preliminary Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Component Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Operating System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
CONVENTIONS & TERMINOLOGY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2. Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
ALARMPOINT SYSTEM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Installing the AlarmPoint Java Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Installing AlarmPoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Installing the AlarmPoint Developer IDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
BMC IMPACT MANAGER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
INTEGRATION FILES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
BAROC and Rule Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3. Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
CONFIGURING ALARMPOINT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Importing the AlarmPoint script package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Modify the default callout scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Installing Voice Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Defining an Event Domain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Setting up a two-way Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Installing the Subscription File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Configuring the Subscription Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
CONFIGURING ALARMPOINT JAVA CLIENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Deploy AlarmPoint Java Client Integration Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Configure the APAgent.xml . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Set the BMC IM Environment Variables for the APAgent in Unix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
CONFIGURING BMC IMPACT MANAGER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Deploying AlarmPoint Integration files in BMC IM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Configuring Notifications in BMC Impact Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
4. Software Component Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
INTEGRATION FEATURES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Automatic Notifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Manual Notifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Stop Notifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Contents
Standard Actions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Responses for FYI Notifications on Voice-capable Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
AlarmPoint Data & the User Synchonization Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
TYPES OF NOTIFICATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Email notification (includes HTML email and BES) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Pager Notification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Text Phone Notification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Phone Notification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5. Testing the Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
CREATE A NOTIFICATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
RESPONDING TO A NOTIFICATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
VERIFYING THE RESPONSE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
TESTING THE SUBSCRIPTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
6. Optimizing and Extending the Integration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
ADDING DATA ELEMENTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
ADDING ANNOTATION MESSAGES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
CHANGING RESPONSE CHOICES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
FILTERING AND SUPPRESSION OF EVENT DATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
ALTERING THE DURATION OF EVENTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
FYI NOTIFICATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Generating FYI notifications for Subscriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
CONSTRUCTING BES AND HTML EMAIL NOTIFICATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
KNOWN ISSUES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
UNINSTALLING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
7. Configuration Variable Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
LOCAL CONFIGURATION VARIABLES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
FYI and Subscription Notification Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Fail-safe Configuration Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Alert Configuration Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
GLOBAL CONFIGURATION VARIABLES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
8. Troubleshooting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
IF THERE ARE ERRORS DURING INSTALLATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
IF AN EVENT IS NOT PROPAGATED TO ALARMPOINT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
IF A WEB SERVICE AXIS FAULT OCCURS DURING USER SYNCHRONIZATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
9. Contact Us . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
10. Copyright . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
| ii
AlarmPoint for BMC Impact Manager
1. Introduction
This document defines software requirements, installation, configuration, running select applications, and integration
demonstrations for using BMC® Impact Manager with the AlarmPoint® software suite. These integration notes are intended
for administrators and other technical readers.
1.1 Summary
With persistent buffering, you can send events from BMC IM to AlarmPoint and receive notification status from AlarmPoint
to BMC IM without losing any information in the transfer process. The time taken to process messages in the buffer, depends
on the number of messages to be processed.
BMC IM processes the events it receives, and sends them to the AlarmPoint Java Client. The AlarmPoint Java Client
forwards the events to AlarmPoint, which notifies the user on the specified notification device. When the user responds to
the notification using a two-way device, AlarmPoint Java Client processes the response and sends it to BMC IM, which
updates the status of the event based on the user response.
1.1.2 Architecture
The following diagram provides a high-level overview of the major components for this integration:
Summary | 1
AlarmPoint for BMC Impact Manager
1.1.3 Overview
AlarmPoint Adapter for BMC Impact Manager (AlarmPoint for BMC IM) integrates BMC Impact Manager (BMC IM) and
AlarmPoint and enables bi-directional flow of information between them.
You can use AlarmPoint for BMC IM to synchronize events and notification status between BMC IM and AlarmPoint. BMC
IM provides the core functionality for event management and service impact management. AlarmPoint routes notifications
to the appropriate users on any device.
AlarmPoint for BMC IM provides the ability to notify AlarmPoint users on any device if an event in BMC IM meets the
notification criteria. AlarmPoint for BMC IM also enables AlarmPoint users to interact remotely with BMC IM through two-
way devices to update an event status or fix problems.
On a single machine, AlarmPoint for BMC IM assumes that there is only one cell to be integrated with AlarmPoint. Even if
there is more than one cell running on a machine, only one cell is used for integration with AlarmPoint. If more than one cell
has to be integrated with AlarmPoint, then the other cells must propagate events through the integrated cell.
Example:
Assume that a machine has the following cells:
• cell_a
• cell_b Propogation Rule
• cell_c
Integration is installed only for cell_a. If you need to notify AlarmPoint about the events in cell_b and cell_c, then the events
from cell_b and cell_c should be propagated through cell_a.
Note: Events can be sent to AlarmPoint only from the cell where AlarmPoint for BMC IM is installed.
Key Features | 2
AlarmPoint for BMC Impact Manager
• Defining notification criteria independent of the notification method, which includes wired phones, mobile phones,
SMS devices, email, pagers, and BlackBerry® devices.
• Providing standard actions such as Acknowledge, Assign, Close, Ignore and Annotate on two-way devices. The two-
way devices comprise phone, two-way pager, and email.
• Notifying AlarmPoint to stop the notification process when certain user-defined events occur in BMC IM.
• Buffering event messages sent to AlarmPoint Java Client and BMC IM to prevent data loss in case of a temporary loss
of connectivity.
• Custom actions in Impact Explorer for manual notifications or stopping existing notifications.
• Custom Collectors for displaying events that generated AlarmPoint notifications.
Integration Components | 3
AlarmPoint for BMC Impact Manager
AlarmPoint_FYI.bat has a similar syntax but takes another file as an argument (C:\APAgent\BMCxAP_FYI.txt),
which is used to generate one-way notifications. Use the notification service set up with this command if you want to
implement a “one-way” only integration with AlarmPoint:
C:\APAgent\bmc_apclient.bin --submit-mapping-file C:\APAgent\BMCxAP_FYI.txt %1
StopNotification.bat contains the command required to delete previously created events and stop all associated
notifications. The syntax for StopNotification.bat is:
C:\APAgent\APClient.bin --map-data del %event_handle%
AlarmPoint_FYI has a similar syntax but takes another file as an argument (opt/alarmpointsystems/APAgent/
BMCxAP_FYI.txt), which is used to generate one-way notifications. Use the notification service set up with this command
if you want to implement a “one-way” only integration with AlarmPoint:
/opt/alarmpointsystems/APAgent/bmc_apclient.bin --submit-mapping-file opt/
alarmpointsystems/APAgent/BMCxAP_FYI.txt $1
StopNotification contains the command required to delete previously created events and stop all associated
notifications. The syntax for StopNotification is:
/opt/alarmpointsystems/APAgent/APClient.bin --map-data del ${event_handle}
Integration Components | 4
AlarmPoint for BMC Impact Manager
causes=%mc_smc_causes%
effects=%mc_smc_effects%
message=%msg%
priority=%mc_priority%
status=%status%
event_class=%class%
System Requirements | 5
AlarmPoint for BMC Impact Manager
In Windows, AlarmPoint Java Client must be installed as a service and not as an executable.
1.4.4 Planning
Use the questions in this section to record information that you will need to provide during the installation and configuration
process.
• What is the name of the BMC IM Cell that will be used for AlarmPoint for BMC IM?
• What is the path of the AlarmPoint Java Client installation?
• What is the IP address or host name of the primary AlarmPoint server?
• What is the IP address or host name of the failover AlarmPoint server?
• Which AlarmPoint recipients (Users or Groups) should AlarmPoint for BMC IM notify?
1.5.1 Conventions
Some instructions appear in the following format: MENU > OPTION; for example, File > Open means click the File menu,
and then click the Open menu option.
Words in bold typically reference text that appears on the screen.
Words in monospace font represent the following:
• text that must be typed into the computer.
• directory and file names.
Note: Except where explicitly stated, the directory paths in this document are listed in Unix format. Windows users must
substitute the given paths with the Windows equivalents. For example, on Unix systems, the AlarmPoint Java Client
is typically installed in /opt/alarmpointsystems/APAgent. On Windows systems, it is typically installed in the
default directory, C:\APAgent.
1.5.2 Terminology
With respect to the AlarmPoint System, the following definitions apply:
Term Meaning
AlarmPoint Agent Communication layer between third-party applications (e.g., BMC Patrol Enterprise
Manager) and AlarmPoint.
AlarmPoint Client The Management System uses this to communicate with the AlarmPoint Agent.
AlarmPoint Application The core AlarmPoint application, consisting of various components that process events
Server Node and perform notifications.
AlarmPoint Java Client Umbrella term for the AlarmPoint Admin, AlarmPoint Agent, AlarmPoint Bridge, and
the AlarmPoint Client (both Java and native versions)
AlarmPoint Notification Delivers notifications to a person in a variety of ways (pager, phone, e-mail, etc.).
Server Node
AlarmPoint Web User Browser-accessible interface for controlling AlarmPoint components and information.
Interface
Alert Item of interest that typically generates a notification for a User or Group.
Device Medium through which a User is contacted (e-mail, phone, pager, etc.).
2. Installation
This chapter provides information about the installation and uninstallation of AlarmPoint for BMC IM on cells running the
Windows or UNIX operating systems.
AlarmPoint System | 8
AlarmPoint for BMC Impact Manager
| | ‘-- english
| |-- alarmpoint-java-client
| | |-- AIX
| | |-- HP-UX-RISC
| | |-- Linux
| | |-- SUN-SOLARIS
| | |-- windows
| | |-- BMC-Impact-Manager.xml
| | |-- BMCxAP.txt
| | ‘-- BMCxAP_FYI.txt
| |-- bmc-impact-manager
| | |-- AP Command Files
| | |-- APII
| | ‘-- kb
|-- documentation
| ‘-- AP-BMC-IM.pdf
‘-- release-notes.txt
Note: If you want to upgrade an existing version of AlarmPoint for BMC IM, you must first remove all the components of
the existing installation, and then reinstall the upgraded version.
Note: All files with a .baroc extension contain event class and slot definitions for each class. These files also reside in the
Knowledge Base.
Integration Files | 9
AlarmPoint for BMC Impact Manager
3. Configuration
This chapter explains how to configure AlarmPoint for BMC IM. After you have installed AlarmPoint for BMC IM, you
must complete the following tasks in the order listed:
1. Configure AlarmPoint
2. Configure AlarmPoint Java Client
3. Configure BMC Impact Manager
4. Configure Notifications in BMC IM
Ensure that you have completed all of the tasks before you start using AlarmPoint for BMC IM.
Configuring AlarmPoint | 10
AlarmPoint for BMC Impact Manager
Note: If the SendAnnotationMessage is already in the callout scripts due to another integration, update it with logic to
handle when the agent_client_id equals “bmcimxap”.
7. Repeat the previous two steps for each section that sends an ExternalServiceMessage.
Note: There should be a total of 10 code segments that require updatin: eight in the callout script, and two in the
authenticate script.
Example:
The following is an example of an enhanced segment of code:
$connectionEventMessage.message = "Callout to " & $targetName & " successful (" &
$result & ")."
@connectionEventMessage::send()
$message_note = $connectionEventMessage.message
GOSUB SendAnnotationMessage
Configuring AlarmPoint | 11
AlarmPoint for BMC Impact Manager
Note: It is strongly recommended that you use the Event Domain Name specified above. For the integration to be
successful, the Event Domain name must match the Client ID of the AlarmPoint Java Client. The Event Domain
name is case sensitive and must be lower case.
Note: To perform this portion of the integration, the AlarmPoint webserver must be running.
Note: If this User is missing, create a User with a User ID of “bsmith” and add a Virtual Text Phone Device for the User.
For more information and instructions on how to perform these tasks, refer to the AlarmPoint User Guide.
Configuring AlarmPoint | 12
AlarmPoint for BMC Impact Manager
Note: For the Subscription Panel to dynamically load Event Domain predicates, BMC Impact Integration Web Services
Server version 2.2 or newer must be running on the same machine as the integrated cell (for installation details,
refer to the BMC® Impact Integration Developer’s Kit Web Services Server Developer Guide).
Note: Before you can configure the custom Subscription Panel, the BMCIMSubscriptionForm.jsp file must be installed as
described in “Installing the Subscription File” on page 13.
Configuring AlarmPoint | 13
AlarmPoint for BMC Impact Manager
• mc_host_address
Note: You can also use the following steps to add other predicates that you consider important and which you plan to add
to the integration as explained in “Adding data elements” on page 46.
event_class List Yes Dynamically List predicate containing the event classes defined for
loaded the cell that is the point of integration. This list is loaded
from the BMC Impact Manager by a web service call.
Severity List Yes Manually List predicate containing some or all of the following
entered values: Critical, Information, Major, Minor, Unknown,
Warning. The items listed for Severity should be
specifically chosen to match the severity of the Events
forwarded from BMC IM. Exclude any severities that
will not be submitted for notification.
Priority List Yes Manually List predicate containing some or all of the following
entered values: High, Highest, Moderate, Low, Lowest. The
items listed for Priority should be specifically chosen to
match the severity of the Events forwarded from BMC
IM. Exclude any priorities that will not be submitted for
notification.
Status List Yes Manually List predicate containing some or all of the following
entered values: Closed, Open, Acknowledged, Assign, Blackout.
The items listed for Status should be specifically chosen
to match the status of the Events forwarded from BMC
IM. Exclude any statuses that will not be submitted for
notification.
mc_object Text Yes Manually Text predicate that corresponds to the object being
entered monitored and the source of this event.
mc_object_class Text Yes Manually Text predicate that corresponds to the class name of the
entered source object for this event.
mc_parameter Text Yes Manually Text predicate that corresponds to the parameter passed
entered in with this event.
mc_host Text Yes Manually Text predicate that corresponds to the host name of the
entered cell that generated this event.
mc_host_address Text Yes Manually Text predicate that corresponds to the IP address of the
entered host cell that generated this event.
Configuring AlarmPoint | 14
AlarmPoint for BMC Impact Manager
message Text Yes Manually Text predicate that describes the event being injected.
entered
5. Click Continue.
6. On the Select Appropriate Response Choices page, specify the available responses for this Subscription, and then click
Continue.
Note: By default, the scripts support two response choices: "Acknowledge" and "Ignore". To enable two-way
communications for Subscriptions, define both response choices on the Select Appropriate Response Choices page.
If you require only one-way, informational notifications, do not specify any response choices.
7. On the Select Appropriate Predicates page, add all of the predicates to the Applied Predicates list, and then click
Continue.
8. On the Select Roles page, specify the Roles you want to be able to create Subscriptions on the Domain, and then click
Save.
For more information about working with Event and Subscription Domains, see the AlarmPoint Installation and
Administration Guide.
Configuring AlarmPoint | 15
AlarmPoint for BMC Impact Manager
3. Replace the value within quotes for each parameter as described in the following table:
Parameter Value
MC_HOST_NAME The hostname or IP address for the BMC IM web services server.
Note: Changing Subscriptions by adding or removing Event Domain predicates may cause existing Subscriptions to fail.
For more information about working with Event and Subscription Domains, see the AlarmPoint Installation and
Administration Guide.
To create a Subscription:
1. Click the Alerts tab, and then click My Subscribed Alerts.
2. Click the Add New link above the Self-made Subscriptions table.
3. On the Select a Subscription Domain page, in the Subscription type drop-down list, select BMCIM, and then click
Continue.
4. On the Subscription Details page, specify the Subscription criteria using the Event Details and Preferences tabs.
• The Event Details tab (Ctrl-click to select more than one value):
Configuring AlarmPoint | 16
AlarmPoint for BMC Impact Manager
Configuring AlarmPoint | 17
AlarmPoint for BMC Impact Manager
Note: If you want to use a pre-existing group or a different group name, modify the value for the $fail_safe_group
variable defined in the initial process script in the AlarmPoint Action Scripts. You can also eliminate notifying any
failsafe group by setting $fail_safe to disabled.
Note: Before making any changes, it is strongly recommended that you create a backup copy of the APAgent.xml file and
store it in a safe location.
Note: There are three instances of the code to be uncommented and modified.
3.2.3 Set the BMC IM Environment Variables for the APAgent in Unix
For the BMC IM integration, two environment variables, MCELL_HOME and PATH, are required to execute certain cell
actions, such as msend.
or
./alarmpoint-java-client restart
Note: If BMC IM is installed into a directory other than /opt/mcell, set the MCELL_HOME variable to the actual path.
Windows:
• Version 7.0.01: C:\Program Files\BMC Software\MasterCell\server\etc\$CELL\kb\
• Version 7.1.00: C:\Program Files\BMC Software\Impact\server\etc\$CELL\kb\
Unix:
• Version 7.0.01: /opt/mcell/etc/$CELL/kb/
• Version 7.1.00: /opt/bmc/Impact/server/etc/$CELL/kb
Note: For Unix installations, commands should be executed in the /opt/mcell/bin directory, unless this path has been
added to the $PATH variable.
Windows w4
Unix A
Linux 12
AIX p4
Solaris s5
HP-UX h1
Note: The account under which the cell is running must have permission to execute the command files.
userRole User Role used when synchronizing Users with Standard User
AlarmPoint.
emailUserServiceProvider Email Service Provider used for the synchronized User’s SMTP Email
Email Device.
voiceUserServiceProvider Voice Service Provider used for the synchronized User’s Phone Engine
Voice Device.
site The Site to which the synchronized User should be Default Site
assigned.
Note: If you are using AlarmPoint Express, you must change the default value for userRole to either “Support User” or
“No Access User”.
Note: The .load files to be modified are read-only; their file properties must be changed before you can edit them.
This command creates inactive Notification Policies which can be used as templates for new Notification Policies.
mposter -n $CELL -d $KB\data\ap_notification_service.baroc
This command creates Notifications Services that will be used by your new Notification Policies.
Successful execution of these commands should result in the following output:
3. Save and close the file, and then restart the web service or daemon named iiws_$CELL .
The Subscription Panel will now be able to populate the event_class predicate list with values from BMC Impact Manager.
AlarmPoint notifications. Selectors act as a mechanism to select the event, while policies specify the selector, notification
method, and users to be notified.
Using the Event Management Policies Editor in BMC IM, you can define how an event should be processed by the cell after
it is received.
Note: For more information on the Event Management Policies Editor, see BMC® Impact Explorer User Guide, BMC®
Impact Web Console User Guide, or BMC® Event Management Administrator Guide.
Based on the default Notification Policies deployed by the integration, create a Notification Policy based on your
Notification Criteria.
Integration Features | 27
AlarmPoint for BMC Impact Manager
4.1.2.2 Selectors
The selection criteria determine which events cause a notification to be sent to AlarmPoint. Selectors are used to set the
selection criteria. For example, if the selection criteria specify CRITICAL events, then only CRITICAL events will cause a
notification to be sent to AlarmPoint, as illustrated in the following figure:
Integration Features | 28
AlarmPoint for BMC Impact Manager
Integration Features | 29
AlarmPoint for BMC Impact Manager
Note: While creating the Notification Policy, use the AlarmPoint and AlarmPoint_FYI services which are automatically
created. For more information on Notification Policies, refer to the BMC Event Management Administrator Guide.
Integration Features | 30
AlarmPoint for BMC Impact Manager
4. In the Execute Remote Action dialog box, enter the ID of the AlarmPoint recipient you want to notify, and then click
Execute:
To stop notifications:
1. Log in to Impact Explorer.
2. On the Events tab, highlight the event for which you want to stop AlarmPoint notifications.
3. Right-click the event and select Actions > Remote Actions > Stop Notification in AlarmPoint.
The Stop Notification command will send a del event to externally terminate the corresponding AlarmPoint event, which
will result in all notifications being stopped.
4.1.5.1 Acknowledge
When you use a Device to reply to a notification with “Acknowledge”, AlarmPoint for BMC IM updates the status of the
event in BMC IM to “ACK”, logs an entry in the Operations log for the event, and stops all other Device notifications to the
User who acknowledged the event.
Integration Features | 31
AlarmPoint for BMC Impact Manager
4.1.5.2 Close
When you use a Device to reply to a notification with “Close”, AlarmPoint for BMC IM updates the status of the event in
BMC IM to “CLOSE”, logs an entry in the Operations Log for the event, and delinks all Users associated with the event in
AlarmPoint.
4.1.5.3 Assign
When you use a Device to reply to a notification with “Assign”, AlarmPoint for BMC IM changes the ownership of the
event in BMC IM. You are updated as the owner of the event, and the status of the event is updated to “Assigned”.
AlarmPoint for BMC IM also logs an entry in the Operations Log for the event, and delinks all Users associated with the
event in AlarmPoint.
4.1.5.4 Ignore
When you reply with Ignore to a notification using a Device, AlarmPoint for BMC IM leaves the status of the event
unchanged, logs an entry in the Operations Log for the event, and delinks the User who ignored the event in AlarmPoint.
4.1.5.5 Annotate
The Annotate reply is available only for email Devices. When replying with “Note”, followed by additional text on the same
line, the note is added to the Notes section of the Event Details, all notifications are stopped for the responder, and an entry is
logged in the Operations Log.
4.1.7 History
In BMC IM, when a User is notified about a problem through AlarmPoint, the status of the notification is updated in the
event's Notification Log section, as illustrated in the following figure:
Integration Features | 32
AlarmPoint for BMC Impact Manager
4. In the tree structure, navigate to the cell where BMC II for AlarmPoint is installed, and then select
ALARMPOINT_GROUPS.
• For example, MyGroup > Cell > DATA > ALARMPOINT > ALARMPOINT_GROUPS.
5. Enter a Name for the group.
6. Enter the group members as a comma-delimited list of User IDs.
• The field update members determines if the list of members will be overwritten in AlarmPoint or not. It is
suggested, while set to true to manage the group's users through BMCIM, and while set to false to use AlarmPoint.
7. Click OK.
Integration Features | 33
AlarmPoint for BMC Impact Manager
4. In the tree structure, navigate to the cell where BMC II for AlarmPoint is installed and select
ALARMPOINT_USERS.
• For example, MyGroup > Cell > DATA > ALARMPOINT > ALARMPOINT_USERS.
5. To add a new data instance, click the Add data instance button.
6. Enter the User ID and click. The User ID is used to identify users in BMC II for AlarmPoint
• Here you may specify an email address and/or phone number as a user's device. Additional devices may be added
later in AlarmPoint.
Note: All devices defined here are configured with a default Service Provider defined in APII/assets/config/
default_values.properties. For more information, see “Deploying the User Synchronization Module” on
page 21.
Integration Features | 34
AlarmPoint for BMC Impact Manager
APII calculates the number of users or groups to be added or deleted by comparing the following files with the results from
a query to BMC IM.
available_targets_ALARMPOINT_USERS_lastrun
available_targets_ALARMPOINT_GROUPS_lastrun
APII then updates those files with the new list of users and groups and creates an
im_notification_service_data.baroc file.
APII then uses mposter and the newly created im_notification_service_data.baroc to update the following
services with the list of available AlarmPoint users:
ALARMPOINT
ALARMPOINT_FYI
Note: Information regarding the User Synchronization module's last run is stored in these files. These files are used in the
current run also. These files are very important and should NOT be deleted.
Integration Features | 35
AlarmPoint for BMC Impact Manager
Note: The responses listed in the sections below do not apply to FYI notifications.
Types of notifications | 36
AlarmPoint for BMC Impact Manager
• ANNOTATE
Note: There should not be a space between the last word of the existing subject line and the word “RESPONSE”, but
there should be a space between the word “RESPONSE” and the next word.
The text of the original email should be included in the reply and should not be changed. The following is an example of an
email notification sent for a CRITICAL event.
Example:
BMC Impact Manager Incident : 2962
Situation : The AlarmPoint Java Client service was successfully
sent a start control.
on MC Host : matterhorn
Event Type : INFO
Event Time : Monday, April 9, 2007 5:29:18 PM PDT
Object : adapter
Object Class : UNDEFINED
Tool : System
Tool Class : EventLog
Parameter : UNDEFINED
If you would like to reply to this e-mail, simply reply with the word "RESPONSE"
followed by your choice in the subject line. Your response choices are
"Acknowledge", "Close", "Assign", "Ignore", "Note"
Please make sure to include the original message in your reply. The following is
used by the server to identify the email 200452.
Note: The reply should not include any text other than these responses.
Types of notifications | 37
AlarmPoint for BMC Impact Manager
• Sev
• Host
• Msg
If you choose to reply, then you must send one of the following responses:
• Ack
• Clo
• Ass
• Ign
Note: The reply should include the notification key that uniquely identifies the message.
Note: By default, only two-way notifications are delivered to Voice Phone Devices. If you want to enable FYI notifications
for voice phones, remove or comment out the following line from the Initial script of the integration:
@alert::setDeviceFilter("VOICE", FALSE)
Types of notifications | 38
AlarmPoint for BMC Impact Manager
Create a Notification | 39
AlarmPoint for BMC Impact Manager
5. To create a Notification Policy using the AlarmPoint Service that notifies bsmith on all Open events, select the default
user and then click Modify. Type bsmith, and then click Modify again:
Note: You can also generate a new event instead of re-opening a prior event.
7. In the Events tab, open the Notified Events > AlarmPoint collector and locate the event you just re-opened.
8. Double-click the event to open the Event Details, and then click the History tab.
9. Ensure that there is an entry in the Operations Log stating that a NOTIFICATION_REQUEST was submitted to
AlarmPoint.
Create a Notification | 40
AlarmPoint for BMC Impact Manager
Create a Notification | 41
AlarmPoint for BMC Impact Manager
Responding to a Notification | 42
AlarmPoint for BMC Impact Manager
3. Scroll down using the arrow buttons to view the call details and the list of possible replies:
Responding to a Notification | 43
AlarmPoint for BMC Impact Manager
5. Click Send, and AlarmPoint will send the acknowledgement to BMC IM.
Responding to a Notification | 44
AlarmPoint for BMC Impact Manager
Note: If you add parameters to the end of the list, the FYI parameter is no longer optional and must always be specified as
“yes” or “no”.
For each new parameter to be passed from BMCIM to AlarmPoint, add a new line to the BMCxAP.txt and
BMCxap_FYI.txt mapping files similar to the following:
custom_parameter = %custom_parameter%
The new parameter may then be used within the AlarmPoint Action Scripts. A possible use for the variable would be to
incorporate it in the notification content of a Device by adding the $custom_parameter to the presentation script within the
Device's content creation block:
$content.message = $content.message & "Custom Field : " & $event.custom_parameter
<Choice> can be either of the response choices listed in the table above, and <Message> can be any content you want to add
as the annotation.
• Response script:
# Handle responses
$reply = $response.reply
$reply::toLowerCase()
$ten_minutes= $reply::startsWith( "be there in ten minutes" )
…
IF ( $ten_minutes )
# Perform any changes to the AlarmPoint event and notifications here
@event::delinkAll() # Consider the incident handled
$main.continue = true
…
# Indicate the person will be on site in ten minutes on the BMC IM incident
$response.request_text = "APBMCIMTenMinutes"
$response.message_note = "Will be on-site in 10 minutes"
call sendMessage
Note: This is only a brief overview of the required components, For more information about AlarmPoint responses
andscripting, refer to the AlarmPoint Action Scripts and the AlarmPoint Developer's Guide & Scripting Reference.
The ExternalServiceMessage injects the tenMinutesRequest to the Response Action Script of the BMC-Impact-
Manager.xml script. The following defines how the AlarmPoint Java Client reacts to that service message:
// Deal with a response of "be there in ten minutes"
IF ( APDT_request_text.equalsIgnoreCase( "APBMCIMTenMinutes" ) ) {
IF ( APDT_message_text != void ) {
result = constructSendCommand(result, "AP_NOTE", APDT_message_text);
}
}
Note: For more information about working with the Response Action Script, refer to the AlarmPoint Java Client Guide.
The $enable_subs variable must also be set to true. See the section on configuration variables in the initial script for details.
Note: For more information about the variables in this section, see “Configuration Variable Reference” on page 50.
Note: Some email clients, such as Microsoft Outlook 2007, may not display HTML elements correctly. It is recommended
that you test the HTML compatibility of your email client before implementing the HTML email feature.
FYI notifications | 48
AlarmPoint for BMC Impact Manager
• Set $main.logo_alt_text to the text you wish to display when the logo can not be fetched. This can be displayed if
the email client is configured not to show images, or it could be displayed because the email client cannot access
the AlarmPoint web server directly and thus cannot respond by using the links in the HTML.
• If you are using BES and have access to a BES server, you can set the URL to the BES server in the
$main.bes_pushurl variable.
5. Save and validate the script, update the version number, and check in the script package.
Note: For more information about these and other configuration variables, see “Configuration Variable Reference” on
page 50.
6.9 Uninstalling
For instructions on removing an AlarmPoint deployment, refer to the AlarmPoint Installation and Administration Guide.
Known Issues | 49
AlarmPoint for BMC Impact Manager
Note: For more information on the behavior associated with informational-only notifications, see .
Variable Description
$force_fyi = “disable” Forces notifications to be informational only rather than requiring responses.
Possible values are:
• disable: nothing is forced.
• on: notifications are forced to be FYI.
• off: notifications are forced not to be FYI.
$use_email_for_fyi = true Configure Device filters for informational-only (FYI) notifications. Setting
these flags to false prevents that Device type from being notified with FYI
$use_phone_for_fyi = false
messages.
$use_im_for_fyi = true
$use_text_phone_for_fyi = true
$use_text_pager_for_fyi = true
$use_numeric_pager_for_fyi = true
$use_bes_for_fyi = true
$use_generic_for_fyi = true
$enable_subs = true Enables Subscription functionality. If set to true, Users subscribed to criteria
matching the event will be notified. If set to false, no subscribed Users will be
notified even if they match the criteria of the event.
Note: For instructions on how to set up a fail-safe recipient, see "Creating a Fail-Safe Group" on page 13.
Variable Description
$fail_safe = "enabled" Controls whether the fail-safe recipient is notified, and under which
circumstances. Possible values are:
• enabled: notify the fail-safe Group if no Subscriptions match and
there are no notifiable recipients.
• for-subscriptions: notify if the Subscription functionality is enabled
and no Subscriptions match.
• for-recipients: notify if there are no notifiable recipients.
• disabled: disable the fail-safe functionality; no notifications will be
sent to the fail-safe recipient.
$fail_safe_group = "BMCIM FailSafe" Identifies the fail-safe recipient, which is typically a Group, but may be a
User.
$override_timeframes = false Overrides any Device Timeframes that have been configured for a User for
this notification.
$use_emergency_devices = false Forces the use of emergency Devices as part of the Device resolution
processing.
Variable Description
$track_delivery = true Configures the notification to run a response script when the delivery of a
notification is successful. As this can limit Node performance, you can set
this value to false if the custom behavior for successful delivery events is
unnecessary, but you will lose any information about whether a delivery
was successful.
$main.timeout = 86400 Amount of time (in seconds) the event is allowed to run before timing out.
(86400 seconds = 24 hours.)
Variable Description
$main.debug = false Indicates whether to log informational messages for debugging purposes.
Disabling this variable may improve performance, but will provide less
information.
$main.use_logFile = false Specifies whether to use an alternate log file for debugging messages. This
variable is ignored unless $main.debug is also set to true.
$main.logFile = “../logs/ Defines the file used to log debugging information (only if
BMC_IM_Script.log” $main.use_logfile is set to true).
$main.maxInvalidResponses = 3 Specifies the maximum number of invalid responses allowed before the
notification will no longer be requeued. If a recipient sends an invalid
response and this number has not been exceeded, they will be renotified
with the same content, prefixed with a message indicating that their
response was invalid.
$main.enable_HTML_Email = true Enables HTML Email functionality for email clients able to support HTML
emails. If a client cannot support HTML than the plain text version will be
passed.
$AlarmPoint_URL = Identifies the AlarmPoint URL used for the HTML response form and
“http://localhost:8888” AlarmPoint logo. If the specified URL cannot be reached, the logo will not
appear, and the response links will not work.
$main.HTML_form_url = Specifies the URL of the AlarmPoint Web Server's Process Notification
$AlarmPoint_URL & “/jsp/ Response JSP form, used by HTML email and BES to inject responses
ProcessNotificationResponse.jsp” through the system.
$main.use_logo = true Specifies whether HMTL email notifications will display the AlarmPoint
(or custom) logo.
$main.logo = $AlarmPoint_URL & Specifies the path to the graphic displayed on HTML (email and BES)
“/static/ images/logos/alarmpoint/ notifications.
UNKNOWN.gif”
$main.logo_alt_text = “[If the logo does The alternate text to display if the HTML email logo is unavailable.
not appear you may be blocking images Note: If the logo does not display, it is unlikely that the HTML_form_url
or you may be outside a firewall. If the will work.
latter, the links will not work for
responding and you should respond by
replying to this email as described
below.]”
Variable Description
$main.numeric_pager_number = The phone number to display for calling in to retrieve event information.
"555-1212" This variable has a non-existent number as a default value; a real call-in
number must be supplied, or a message indicating that an AlarmPoint event
notification has occurred.
8. Troubleshooting
This section provides troubleshooting information regarding issues that you might encounter while installing, configuring,
and using AlarmPoint for BMC IM.
Note: The account under which the cell is running must have permission to execute the command files. Note that the
location for the command files on Unix is different than on Windows.
• Determine which Users or Groups were successfully and unsuccessfully synchronized with AlarmPoint.
• Log in to AlarmPoint as Company Administrator and remove those Users or Groups so that it will be synchronized
on the next synchronization.
• When you are certain that web services are running run the synchronization module again.
9. Contact Us
You can access the AlarmPoint Systems Web Site at http://www.alarmpoint.com. From this site you can obtain information
about the Company, the Products, Support and other helpful information. You may also access the Customer Support Site
from the main web page. In this protected site you will find current product releases, helpful hints, patches, release notes,
and other tools provided by AlarmPoint Systems, Inc.
| 56
AlarmPoint for BMC Impact Manager
10. Copyright
AlarmPoint Systems, Inc. produced this integration document to assist customers with joint BMC /AlarmPoint Systems
implementations. BMC and AlarmPoint Systems have made every effort to ensure that the information contained in this
document is accurate, but do not guarantee any accuracy now or in the future.
AlarmPoint Systems™ and AlarmPoint® are a trademark and registered trademark, respectively, of AlarmPoint Systems,
Inc. in the United States, United Kingdom and other jurisdictions. All other trademarks are the property of their respective
owners.
©AlarmPoint Systems 2009. Rights to reproduce this document only by written permission of AlarmPoint Systems.
| 57