Table: Required attributes
Table: Optional attributes
Optional attribute |
Description |
||||
---|---|---|---|---|---|
CleanProgram |
The executable which forcibly stops the application. The Attribute specifies the complete path of the executable. Applicable command line arguments follow the name of the executable. The executable path and argument have spaces separating them.
Type and dimension: string-scalar Example: "/usr/sbin/sample_app stop" |
||||
MonitorProcesses |
A list of processes that you want monitored and cleaned. Each process name is the name of an executable. Qualify the executable name with its complete path if the path starts the executable.. The process name must be the name that the ps -ef command displays for the process. Type and dimension: string-vector Example: "nmbd" |
||||
MonitorProgram |
The executable which monitors the application. The Attribute specifies the complete path of the executable. Applicable command line arguments follow the name of the executable. The executable path and argument have spaces separating them. MonitorProgram can return the following values: OFFLINE value is 100 or 1; ONLINE values range from 101 to 110 or 0 (depending on the confidence level); 110 equals confidence level of 100%. Any other value = UNKNOWN.
If MonitorProgram is configured and not available, then resource state will be:
Type and dimension: string-scalar Example: "/usr/sbin/sample_app_monitor all" |
||||
PidFiles |
A list of PID (process ID) files that contain the PID of the processes that you want monitored and cleaned. These are application generated files. Each PID file contains one monitored PID. Specify the complete path of each PID file in the list. The process ID can change when the process restarts. If the application takes time to update the PID file, the agent's Monitor function may return an incorrect result. If incorrect results occur, increase the ToleranceLimit in the resource definition. Type and dimension: string-vector |
||||
User |
The user ID for running StartProgram, StopProgram, MonitorProgram, and CleanProgram. The processes that are specified in the MonitorProcesses list must run in the context of the specified user. Monitor checks the processes to make sure they run in this context. Type and dimension: string-scalar
Default: root Example: user1 |
||||
EnvFile |
The environment file that should get sourced before running any of the StartProgram, StopProgram, MonitorProgram or CleanProgram. Type and dimension: string-scalar Default: ""
Example: /home/username/envfile |
||||
UseSUDash |
When the value of this attribute is 0, the agent performs an su user command before it executes the StartProgram, the StopProgram, the MonitorProgram, or the CleanProgram agent functions. When the value of this attribute is 1, the agent performs an su - user command before it executes the StartProgram, the StopProgram, the MonitorProgram or the CleanProgram agent functions. Type and dimension: boolean-scalar Default: 0 Example: 1 |
Table: Internal attribute for the agent for generic applications shows the internal attributes for the generic Application agent.
Table: Internal attribute for the agent for generic applications
Internal attributes |
Description |
---|---|
IMF |
This resource-type level attribute determines whether the generic Application agent must perform intelligent resource monitoring. This attribute includes the following keys:
|