- 论坛徽章:
- 0
|
还是 alex说的对,
MonitorProcesses和MonitorProgram一个是标量一个数组
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 full command line argument displayed by
the ps -u <user> -o args | more command for the process.
◆ Type and dimension: string-vector
◆ Example: { "nmbd" }
MonitorProgram The executable, created locally on each node, which monitors the
application. Specify the complete path of the executable. Applicable
command-line arguments follow the name of the executable and are
separated by spaces.
For applications running in Solaris 10 zones, use the path as seen from the
zone that is running the application——its relative path.
MonitorProgram can return the following VCSAgResState values: OFFLINE
value is 100; ONLINE values range from 101 to 110 (depending on the
confidence level); 110 equals confidence level of 100%. Any other value =
UNKNOWN.
◆ Type and dimension: string-scalar
◆ Example:
"/usr/local/bin/sambaMonitor all"
◆ Solaris 10—example in global and non-global zones:
"/usr/local/bin/sambaMonitor all" |
|