Job Management Partner 1/Performance Management User's Guide
This section describes the setting procedures to follow before setting alarms.
- Organization of this section
- (1) Configuring the email sender
- (2) Configuring the host to automatically execute commands
- (3) Configuration for issuing JP1 events
- (4) Configuration for sending SNMP traps
(1) Configuring the email sender
If you want an email to be sent out when an alarm event occurs in PFM - Agent or PFM - RM, you need to configure the email sender.
To configure the email sender:
- Log on to PFM - Web Console from the browser of the monitoring console.
The main window appears.
You must log on as a user with administrator user permissions.
- In the tab frame of the main window, select the Services tab.
The Services window appears.
- In the navigation frame, click the Machines folder.
This folder contains folders for the hosts where a Performance Management program is installed.
- Select the Action Handler service on the host that will send the email.
The name of the icon indicating the Action Handler service begins with PH or is the same as host-name<Action Handler>.
- In the method frame, select Properties.
The Properties window appears.
Set the properties to the following:
Email in Capabilities: Yes
SMTP Host in Mail: the host name or IP address of the SMTP server that will send out emails
SMTP Sender in Mail: the email address of the sender
Mail Subject in Mail: the subject of the emails
- Click the OK button.
The values set in step 5 are saved. For details on the settings for each alarm, see 6.4.5(a) Sending emails.
(2) Configuring the host to automatically execute commands
If you want commands to be automatically executed when an alarm event occurs in PFM - Agent or PFM - RM, in the Properties window of the Services tree window in PFM - Web Console, you must set the appropriate Action Handler property on the host where the commands will be executed as follows:
- Script in Capabilities: Yes
The action handler you select in the Action handler of the Command field in the New Alarm > Action Definitions window is used when executing the commands. By default, the Action Handler that is used is the one that resides on the same host as the agent bound to this alarm event (indicated as LOCAL in the Command tab).
For details on the settings for each alarm, see 6.4.5(b) Executing commands.
The actions in which a command is executed by the Action Handler on the same host as a monitoring agent bound to alarm tables are called local actions. The actions in which a command is executed by the Action Handler on the different host from a monitoring agent bound to alarm tables are called remote actions.
The following figure shows an overview of local actions and remote actions.
Figure 6-3 Overview of local actions and remote actions
The following procedure describes the processing flow by using the numbers displayed in the above figure:
- If the Agent Collector or Remote Monitor Collector service detects an alarm status change, an alarm event is issued to the Correlator service via the Agent Store or Remote Monitor Store service.
- The alarm event information is stored in the Master Store service.
- The Action Handler service receives an alarm event.
When an alarm event is received, the Action Handler service executes the specified command.
When a local action is required, the Action Handler service executes the command on the same host as the monitoring agent.
When a remote action is required, an Action Handler service (a monitoring manager or a monitoring agent) on a different host from that of the monitoring agent executes the command.
(3) Configuration for issuing JP1 events
If you want to issue JP1 events when the alarm event occurs in PFM - Agent or PFM - RM, in the Properties window of the Services tree window in PFM - Web Console, you must set the appropriate Action Handler property on the host where the JP1 event-issuing command will be executed as follows:
- Script in Capabilities: Yes
The action handler you select in the Action handler of the Command field in the New Alarm > Action Definitions window is used when executing the commands. By default, the Action Handler that is used is the one that resides on the same host as the agent bound to this alarm event (indicated as LOCAL in the Command tab).
To issue JP1 events, you must configure the Action Handler to link with JP1/IM. For details on how to do this, see 10.3.2 Setup.
(4) Configuration for sending SNMP traps
If you want SNMP traps to be sent when an alarm event occurs in PFM - Agent or PFM - RM, in the Properties window of the Services tree window in PFM - Web Console, you must set the appropriate Trap Generator property to issue the SNMP trap as follows:
- ADD A DESTINATION in ADD OR DELETE A TRAP DESTINATION: The host name or IP address of where the SNMP will be sent
Note that if you want to delete the location where the SNMP is sent to, select the host name or IP address in DELETE A DESTINATION, from the Trap Generator properties.
For details on the settings for each alarm, see 6.4.5(d) Sending an SNMP trap when an alarm occurs.
All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.