Job Management Partner 1/Performance Management - Agent Option for Platform Description, User's Guide and Reference
The following explains how to set, confirm, change, and delete user records for collecting information about the application operating status, and provides an example of alarm operation.
- Organization of this subsection
- (1) Specifying the user-defined record settings
- (2) Checking or changing user record settings
- (3) Deleting the user-defined record settings
- (4) Example of using an alarm
(1) Specifying the user-defined record settings
The following explains how to specify the user-defined record settings for collecting information about the application operating status.
To perform setup, first create an instance, and then set the instance properties (such as the monitored application name and threshold).
To create an instance:
- From the monitoring console browser, log in to PFM - Web Console.
The Main window appears.
- In the navigation frame of the Main window, click the Services tab.
The Services page appears.
- From the navigation frame, expand the contents of the Machines folder.
A folder that has the name of the host on which the Performance Management service is installed appears. Expand this folder to display the services installed on the host.
The name of each service is displayed by service ID. For details about service IDs, see C. List of Identifiers, and the section explaining the service naming conventions in the appendix in the manual Job Management Partner 1/Performance Management Planning and Configuration Guide.
The format of the service ID differs depending on whether the product name display functionality is enabled. For details about the product name display functionality, see the chapter explaining Performance Management functionality in the manual Job Management Partner 1/Performance Management Planning and Configuration Guide.
- Expand the contents of the monitoring agent host folder, and select the Agent Collector service.
Select host-name<UNIX> (Agent Collector service). A check mark is displayed next to the Agent Collector service.
- Select the Properties method in the method frame.
The Properties page appears.
- Select the ADDITION OR DELETION A SETTING tree.
- Enter an instance name for ADD AN APPLICATION MONITORING SETTING at the bottom of the information frame, and click the OK button.
An instance name tree is generated in the Application monitoring settings tree of the Properties window.
- Note
- The instance name entered for ADD AN APPLICATION MONITORING SETTING can be specified by the user. The instance name specified here is stored in the Application Name field of the PD_APP record, and is used to identify the application.
- In ADD AN APPLICATION MONITORING SETTING, you can specify a character string of 1-63 bytes. The character string can consist of alphanumeric characters and symbols except the following characters:
Tab (\t) \ : ; , * ? " ' < > |
- You can set a maximum of 64 instances.
- To set instance properties:
- After finishing the above step for setting the instance properties, display the Properties window again and select the instance name tree generated in the Application monitoring settings tree.
The property information entry window appears at the bottom of the information frame.
- Set properties.
Set the process type, process name, and minimum and maximum values for the process count. You can set information for multiple processes. The following table lists the properties you can set.
Table 4-2 Monitoring field properties
Item Parameter name Explanation Corresponding field in the PD_APP record Process type ProcessXX Kind Select Execute or Command Line. Note that evaluation is not performed when None is selected.
- When Execute is selected, the value of the Program field in the PD record is used for evaluation.
- When Command Line is selected, the value of the Argument List field in the PD record is used for evaluation.
ProcessXX Kind Process name ProcessXX Name Specify a process name of no more than 127 bytes. ProcessXX Name Minimum and maximum thresholds for the number of processes ProcessXX Range Specify the minimum and maximum thresholds for the number of processes in the format m-n (for example, 1-2).
Only one value can be specified without a hyphen to set the minimum value and maximum value to the same value. For example, when 10 is specified, 10-10 is set.
You can specify values in the range from 0 to 65535.ProcessXX Range
- Legend:
- XX: A two-digit numeric value in the range from 01 to 15
- Note
- The value specified for the ProcessXX Name property is used to evaluate whether the application is running. Note that when the ProcessXX Name field in the PD_APP record is displayed in a report in PFM - Web Console, only the first 31 bytes are displayed.
- If there are multiple processes for which the first 31 bytes of each name are the same, set up an instance for each process so that the process can be monitored, and set the evaluation results (the value of the ProcessXX Name field in the PD_APP record) to be reported by alarm. Note that because the value of the ProcessXX Name field in the PD_APP record is the same for all instances, alarms will not be reported properly. Accordingly, instead of using the ProcessXX Name field in the PD_APP record, use the value of the ProcessXX Status field for setting alarm notification. For example settings, see (4)(d) Monitoring whether a given process is running when there are multiple processes for which the first 31 bytes of the names are the same.
- Alphanumeric characters and symbols can be specified for the ProcessXX Name property.
- Wildcard characters * and ? can also be specified for the ProcessXX Name property. * represents at least one character, while ? represents one character.
- When you select Execute for the ProcessXX Kind property, a value equivalent to the Program field of the PD record must be specified for the ProcessXX Name property. The value of the Program field of the PD record is almost equal to the value displayed when the ps -e command is executed. (This value might be different from the command execution result depending on the type and version of the OS.)
- When you select Command Line for the ProcessXX Kind property, a value equivalent to the Argument List field of the PD record must be specified for the ProcessXX Name property. The value of the Argument List field of the PD record is almost equal to the value displayed when the ps -ef command is executed. (This value might be different from the command execution result depending on the type and version of the OS.)
- Click the OK button.
The specified settings are applied.
- Setting the range of data for collecting information about the application operating status
When PFM - Agent for Platform is running on a virtualized system, you can set the ADD AN APPLICATION MONITORING SETTING FOR VIRTUAL ENVIRONMENT property to restrict the environment from which process information is to be collected.
- After creating the instance, display the Properties window again and select the ADD AN APPLICATION MONITORING SETTING FOR VIRTUAL ENVIRONMENT tree in the ADDITION OR DELETION A SETTING tree.
The property information entry window appears at the bottom of the information frame.
- Reference note
- When creating an instance, you can concurrently set ADD AN APPLICATION MONITORING SETTING and ADD AN APPLICATION MONITORING SETTING FOR VIRTUAL ENVIRONMENT.
- Set properties.
For details about the properties, see 1.3.4(7) Identifying processes that have the same name in a virtualized system.
- Note
- The virtual environment ID entered for ADD AN APPLICATION MONITORING SETTING FOR VIRTUAL ENVIRONMENT can be specified by the user. The ID specified here is stored in the Virtual Env ID field of the PD_APP record.
- In ADD AN APPLICATION MONITORING SETTING FOR VIRTUAL ENVIRONMENT, you can specify a value from 0 to 2147483647. You cannot specify characters.
- As in the case of ADD AN APPLICATION MONITORING SETTING, a maximum of 64 instances can be created with ADD AN APPLICATION MONITORING SETTING FOR VIRTUAL ENVIRONMENT.
(2) Checking or changing user record settings
To check or change the user record settings for collecting information about the application operating status:
- From the monitoring console browser, log in to PFM - Web Console.
The Main window appears.
- In the navigation frame of the Main window, click the Services tab.
The Services page appears.
- From the navigation frame, expand the contents of the Machines folder.
A folder that has the name of the host on which the Performance Management service is installed appears. Expand this folder to display the services installed on the host.
The name of each service is displayed by service ID. For details about service IDs, see C. List of Identifiers and the section explaining the service naming conventions in the appendix in the manual Job Management Partner 1/Performance Management Planning and Configuration Guide.
The format of the service ID differs depending on whether the product name display functionality is enabled. For details about the product name display functionality, see the chapter explaining Performance Management functionality in the manual Job Management Partner 1/Performance Management Planning and Configuration Guide.
- Expand the contents of the monitoring agent host folder, and select the Agent Collector service.
Select host-name<UNIX> (Agent Collector service). A check mark is displayed next to the Agent Collector service.
- Select the Properties method in the method frame.
The Properties page appears.
- Expand the Application monitoring settings tree, and select the tree for the instance name to be checked.
The properties are displayed.
- Check the property settings, and click the OK button.
(3) Deleting the user-defined record settings
To delete the user-defined record settings for collecting information about the application operating status:
- From the monitoring console browser, log in to PFM - Web Console.
The Main window appears.
- In the navigation frame of the Main window, click the Services tab.
The Services page appears.
- From the navigation frame, expand the contents of the Machines folder.
A folder that has the name of the host on which the Performance Management service is installed appears. Expand this folder to display the services installed on the host.
The name of each service is displayed by service ID. For details about service IDs, see C. List of Identifiers and the section explaining the service naming conventions in the appendix in the manual Job Management Partner 1/Performance Management Planning and Configuration Guide.
The format of the service ID differs depending on whether the product name display functionality is enabled. For details about the product name display functionality, see the chapter explaining Performance Management functionality in the manual Job Management Partner 1/Performance Management Planning and Configuration Guide.
- Expand the contents of the monitoring agent host folder, and select the Agent Collector service.
Select host-name<UNIX> (Agent Collector service). A check mark is displayed next to the Agent Collector service.
- Select the Properties method in the method frame.
The Properties page appears.
- Select the ADDITION OR DELETION A SETTING tree.
- Select the name of the instance to be deleted from DELETE AN APPLICATION MONITORING SETTING at the bottom of the information frame, and click the OK button.
The settings are deleted.
(4) Example of using an alarm
This subsection provides an example of using an alarm with the function that collects information about the application operating status.
(a) Monitoring the startup status of a specific process
The following explains settings for monitoring whether a specific process is running, from several monitoring targets.
For environments in which only one of the following processes is normally running, the following procedure sets an abnormal alarm to be reported when multiple processes (two or more) are started or stopped.
Table 4-3 Example of specific process start
Program name Process name GyoumuProcess.exe GyoumuProcess To monitor the startup status of a specific process:
- Set the instance name for ADD AN APPLICATION MONITORING SETTING in the ADDITION OR DELETION A SETTING tree as follows:
GyoumuProcess Monitor
- Set the GyoumuProcess Monitor property generated in the Application monitoring settings tree as follows:
As a result of the above settings, when the process is running, the values of the Process01 Count, Process01 Status, and Application Status fields in the PD_APP record are displayed as follows in the report.
Process01 Kind: Select Execute. Process01 Name: Enter GyoumuProcess (do not specify the .exe extension). Process01 Range: Specify 1-1.
Table 4-4 Results for the values of each field in the PD_APP record
Field name Value Process01 Count 1#1 Process01 Status NORMAL#2 Application Status NORMAL#2
- #1
- This indicates the number of corresponding processes running.
- #2
- This indicates that there is no issue.
- Specify alarm settings as follows:
After specifying the above settings and clicking the Add button, specify these additional settings:
Record: Select Application Summary (PD_APP). Monitored field: Select Application Name. Condition: Select =. Abnormal value: Enter GyoumuProcess Monitor. Warning value: Enter GyoumuProcess Monitor.
Record: Select Application Summary (PD_APP). Monitored field: Select Application Status. Condition: Select <>. Abnormal value: Enter NORMAL. Warning value: Enter NORMAL.Alarm conditions are evaluated using AND. To monitor only the results for Application Status without specifying an instance, specify only Application Status, <>, and NORMAL.
(b) Monitoring the startup status of a process containing arguments
The following explains settings for monitoring whether a process containing arguments is running.
The following procedure sets an abnormal alarm to be reported when the following process containing arguments stops.
Table 4-5 Example of starting the process with arguments
Program name Process name GyoumuProcess.exe GyoumuProcess -a 1 To monitor the startup status of a process containing arguments:
- Set the instance name for ADD AN APPLICATION MONITORING SETTING in the ADDITION OR DELETION A SETTING tree as follows:
AudioSrv Monitor
- Set the GyoumuProcess Monitor property generated in the Application monitoring settings tree as follows:
As a result of the above settings, when the process is running, the values of the Process01 Count, Process01 Status, and Application Status fields in the PD_APP record are displayed as follows in the report.
Process01 Kind: Select Command Line. Process01 Name: Enter AudioSrv (the service name). Process01 Range: Enter 1-1.
Table 4-6 Results for the values of each field in the PD_APP record
Field name Value Process01 Count 1#1 Process01 Status NORMAL#2 Application Status NORMAL#2
- #1
- This indicates the number of corresponding processes running.
- #2
- This indicates that there is no issue.
- Specify alarm settings as follows:
After specifying the above settings and clicking the Add button, specify these additional settings:
Record: Select Application Summary (PD_APP). Monitored field: Select Application Name. Condition: Select =. Abnormal value: Enter AudioSrv Monitor (the instance name set in step 1). Warning value: Enter AudioSrv Monitor (the instance name set in step 1).
Record: Select Application Summary (PD_APP). Monitored field: Select Application Status. Condition: Select <>. Abnormal value: Enter NORMAL. Warning value: Enter NORMAL.Alarm conditions are evaluated using AND. To monitor only the results for Application Status without specifying an instance, specify only Application Status, <>, and NORMAL.
(c) Monitoring whether multiple processes are all running
The following explains settings for monitoring whether monitored processes are all running.
The following procedure sets an abnormal alarm to be reported when at least one of the following five processes has stopped, but not to be reported when they are all running.
Table 4-7 Example of startup for five processes
Program name Process name GyoumuProcess1.exe GyoumuProcess1 GyoumuProcess2.exe GyoumuProcess2 GyoumuProcess3.exe GyoumuProcess3 GyoumuProcess4.exe GyoumuProcess4 GyoumuProcess5.exe GyoumuProcess5 To monitor whether multiple processes are all running:
- Set the instance name for ADD AN APPLICATION MONITORING SETTING in the ADDITION OR DELETION A SETTING tree as follows:
GyoumuProcess Monitor
- Set the GyoumuProcess Monitor property generated in the Application monitoring settings tree as follows:
Process01 Kind: Select Execute. Process01 Name: Enter GyoumuProcess*.# Process01 Range: Enter 1-5.As a result of the above settings, when the five processes are running, the values of the Process01 Count, Process01 Status, and Application Status fields in the PD_APP record are displayed as follows in the report.
- #
- The wildcard character * is used for the process number. The wildcard character ? can also be used, in place of a single character.
Table 4-8 Results for the values of each field in the PD_APP record
Field name Value Process01 Count 5#1 Process01 Status NORMAL#2 Application Status NORMAL#2
- #1
- This indicates the number of corresponding processes running.
- #2
- This indicates that there is no issue.
- Specify alarm settings as follows:
Record: Select Application Summary (PD_APP). Monitored field: Select Process01 Count. Condition: Select <. Abnormal value: Enter 5. Warning value: Enter 5.If all five processes are running, no alarm is reported. An alarm is reported when at least one process stops. Since alarm conditions are evaluated using AND, an abnormal alarm cannot be set to report for a running process count other than from 1 to 5.
(d) Monitoring whether a given process is running when there are multiple processes for which the first 31 bytes of the names are the same
The following explains settings for monitoring whether a given process is running when there are multiple processes for which the first 31 bytes of the names are the same.
The following procedure sets an abnormal alarm to be reported when either of the following two processes is running and multiple 1234567890123456789012345678901A processes are started or stopped.
Table 4-9 Example of processes running for which the first 31 bytes of the names are the same
Program name Process name 1234567890123456789012345678901A.exe 1234567890123456789012345678901A 1234567890123456789012345678901B.exe 1234567890123456789012345678901B To monitor whether a given process is running:
- Set the instance name for ADD AN APPLICATION MONITORING SETTING in the ADDITION OR DELETION A SETTING tree as follows:
Long Name Process Monitor
- Set the Long Name Process Monitor property generated in the Application monitoring settings tree as follows:
As a result of the above settings, when only one 1234567890123456789012345678901A process is running, the values of the Process01 Count, Process01 Status, and Application Status fields in the PD_APP record are displayed as follows in the report.
Process01 Kind: Select Execute. Process01 Name: Enter 1234567890123456789012345678901A. Process01 Range: Enter 1-1.
Table 4-10 Results for the values of each field in the PD_APP record
Field name Value Process01 Count 1#1 Process01 Status NORMAL#2 Application Status NORMAL#2
- #1
- This indicates the number of corresponding processes running.
- #2
- This indicates that there is no issue.
- Specify alarm settings as follows:
After specifying the above settings and clicking the Add button, specify these additional settings:
Record: Select Application Summary (PD_APP). Monitored field: Select Application Name. Condition: Select =. Abnormal value: Enter Long Name Process Monitor (the instance name set in step 1). Warning value: Enter Long Name Process Monitor (the instance name set in step 1).
Record: Select Application Summary (PD_APP). Monitored field: Select Application Status. Condition: Select <>. Abnormal value: Enter NORMAL. Warning value: Enter NORMAL.In addition to the above monitoring, to monitor the 1234567890123456789012345678901B process using a monitoring method other than what has already been used, use an instance name different than the one above, and add the instance name to the condition in the Application Name field of the alarm setting.
(e) Monitoring whether a process in the global zone environment is running when PFM - Agent for Platform is installed in a Solaris global zone environment
The following explains settings for monitoring whether a process is running in a monitored global zone.
When the following process is running in both of the global zone environment and a non-global zone environment, the following procedure sets an abnormal alarm to be reported when multiple processes are running or stopped in the global zone.
Table 4-11 Example of the process running in the global zone environment
Program name Process name GyoumuProcess.exe GyoumuProcess To monitor whether a process in the global zone environment is running:
- Set the following for ALL Zone Collection for Process in the Agent Configuration tree.
Yes- Set the instance name for ADD AN APPLICATION MONITORING SETTING in the ADDITION OR DELETION A SETTING tree. Then, specify as follows for ADD AN APPLICATION MONITORING SETTING FOR VIRTUAL ENVIRONMENT:
ADD AN APPLICATION MONITORING SETTING:Global Zone Process Monitor ADD AN APPLICATION MONITORING SETTING FOR VIRTUAL ENVIRONMENT:0- Click the OK button.
- Set the Global Zone Process Monitor, Virt ID = 0 property generated in the Application monitoring setting tree as follows:
As a result of the above settings, when only one GyoumuProcess process is running, the values of the Process01 Count, Process01 Status, and Application Status fields in the PD_APP record are displayed as follows.
Process01 Kind: Select Execute. Process01 Name: Enter GyoumuProcess. Process01 Range: Enter 1-1.
Table 4-12 Results for the values of each field in the PD_APP record
Field name Value Process01 Count 1#1 Process01 Status NORMAL#2 Application Status NORMAL#2
- #1
- This indicates the number of corresponding processes running.
- #2
- This indicates that there is no issue.
- In the navigation frame of the Main window, click the Alarms tab.
The Alarm Tree window appears.
- Expand the contents of the UNIX folder to display the existing alarm tables.
- Select New Alarm Table in the method frame, and create an alarm table. Set the following basic information in the new alarm table:
Product: Select UNIX(7.6). Alarm table name: Enter AlarmTable1. Alarm name: Enter GyoumuProcess Alarm.- Click the Next button.
- Specify alarm settings as follows:
After specifying the above settings and clicking the Add button, specify these additional settings:
Record: Select Application Summary (PD_APP). Monitored field: Select Application Name. Condition: Select =. Abnormal value: Enter Global Zone Process Monitor (the instance name set in step 2). Warning value: Enter Global Zone Process Monitor (the instance name set in step 2).
Record: Select Application Summary (PD_APP). Monitored field: Select Application Status. Condition: Select <>. Abnormal value: Enter NORMAL. Warning value: Enter NORMAL.
All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.