6.2.1 How to set up and operate alarms
Alarms are set up and operated by using the Alarms window in PFM - Web Console or by using a command.
You can set up alarms in the following ways:
-
Define a new alarm table or individual alarms.
Create a new alarm table for your system environment, and then define the alarms. You can add new alarms to that alarm table at a later time.
In addition, you can use the Quick Guide to set simplified alarms. Alarms set using the Quick Guide can be bound to an agent.
-
Use an existing alarm table or alarms.
You can use the following methods:
-
Use the monitoring template.
The monitoring template is a set of alarms, which necessary information has been preset, included with each PFM - Agent or PFM - RM. When you use the monitoring template, any active alarms in the monitoring template are enabled when PFM- Agent or PFM - RM is started.
-
Customize the monitoring template.
You can copy the monitoring template and customize it to match your monitoring objectives.
-
Use an existing alarm table or alarms.
You can make a copy of, and then customize one of the already user-defined alarm tables or alarms.
-
To use alarms, associate (or bind) the alarm table defined above with a monitoring agent.
Reference note:
-
By using the jpctool alarm command to create an alarm definition file, you can create up to 250 alarms at once. This is a useful technique when setting up multiple alarms at the same time to run on multiple servers in a large-scale system.
-
Once you have set up alarms, you can use the Alarm Application Status window or the jpctool alarm unapplied command to check each service's alarm application status.
-
Alarm tables are displayed in a tree format that is referred to as the alarms tree. You can select either of two display formats for the alarms tree:
• Displaying separate trees: This format displays user-created alarm tables under User Alarms and monitoring templates under Template Alarms.
• Displaying together: This format displays user-created alarm tables and monitoring templates as a single tree under the same root Alarms.
To change the alarms tree display format, edit displayAlarmTablesSeparately in the initialization file (config.xml). For details about how to specify settings in the initialization file (config.xml), see the chapter that describes definition files in the manual JP1/Performance Management Reference.
You can bind an alarm table (or alarm tables) to monitoring agents as follows:
-
Define alarms and then manually bind the alarm table to monitoring agents after the start of the monitoring manager and monitoring agent service (manual bind).
In this case, alarm monitoring is initiated when the alarm table is bound to the monitoring agents. Any errors that occur between the start of the monitoring agent service and the binding of the alarm table do not get detected.
-
Define alarms and specify the auto alarm table bind setting after the start of the monitoring manager but before the start of the monitoring agent service so that, when the monitoring agents start, the alarm table is automatically bound to them (automatic bind).
In this case, the alarm table is automatically bound to the monitoring agents when the monitoring agent service starts, after which alarm monitoring is initiated.
- Note
-
To use auto alarm bind, you have to enable the functionality for binding multiple alarm tables in advance.