The edgewatch process monitoring commands and associated arguments are as follows:
add procAlive processname index flags interval 'descr' 'action' [objClass objInst objAttr severity]
add attribute processname index flags interval sampleType oper value 'description' 'action' [objClass objInst objAttr severity]
setstatus index status
delete index
list
dump
Specifies the regular expression used to find the PID of the process to monitor. Enclose this value in quotation marks if it contains spaces or other special characters.
Specifies the row (index) of the monitor table to use for this entry. Each row in the table is uniquely identified by an index number. Rows 1 through 10 are reserved for internal use by the agent, so the index value must be greater than 10 and unique across the table.
Specifies any additional behavioral instructions for this entry using a hexadecimal flags value (for example, 0x00000001).
Specifies how often in seconds the monitoring should occur. For example, the value 30 instructs the agent to monitor this entry every 30 seconds. The value must be a minimum of 30 and a multiple of 30 seconds.
Specifies a sample type of either absolute or delta. This value indicates whether the agent should sample the object's absolute value or take the difference between successive samples.
Specifies the Boolean operator for evaluating an the current entry value against the provided threshold value.
Valid values for the operator are as follows:
Specifies the integer threshold value to which the current value of the monitored attribute is compared using the specified operator.
Specifies an arbitrary description (0 to 512 characters in length) of the table entry.
Specifies a command (0 to 2048 characters in length), including the full path and any parameters, to run when the threshold condition is met and the agent sends a threshold breach trap (legacy monitors) or state change trap (stateful monitors). For stateful self monitors, the command does not run if a threshold breach does not result in an object state change. If the string is empty, the agent performs no action for this entry.
Note: You can change the default settings for when the agent performs actions. For more information, see the chapter "Agent Configuration."
Specifies the object class of the monitored object for use with the state management model. Define a value for this property (along with objInst and objAttr) for creating a managed object that aggregates all entries with the same values.
Default: processEntry
Specifies the object instance of the monitored object for use with the state management model. Define a value for this property (along with objClass and objAttr) for creating a managed object that aggregates all entries with the same values. The agent uses the value of the specified regExpr property as a default value.
Specifies the object attribute for use with the state management model. Define a value for this property (along with objClass and objInst) for creating a manged object that aggregates all entries with the same values.
Default: process attribute name
Specifies the severity to use for the object state management model. This value defines the state to assign to the entry when a threshold breach occurs. Valid values are as follows:
A value of none creates a legacy monitor, which excludes the entry from the object state management model.
Default: none
Specifies the status of the entry, which can be one of the following:
Specifies the process attribute that the agent monitors for the given threshold. You can select any process attribute from the list in Process Attributes.
Copyright © 2013 CA. All rights reserved. |
|