Autowatchers create entries in the monitor and process monitor MIB tables for resources that match the specified autowatcher criteria. The autowatcher directives specify the criteria for the automatically generated monitors.
The syntax for autowatchers is switch-based and does not rely on positional parameters. All parameters have the form:
-parameter=value -parameter='value'
Optional parameters can be omitted. Use single quotes if the value contains spaces.
The autowatcher directive has the following format:
autowatcher -index=index -watchtype=type -table=table -attribute=attr ...
Mandatory parameters:
Specifies the table index that is used to store the autowatcher.
Specifies the name of the autowatcher.
Specifies the type of autowatcher to create (generic, service, or process).
Specifies the table entry that is monitored (for example, devTableEntry). Not required for service or process autowatchers.
Specifies the attribute to monitor (for example, devCapacity). Not required for service autowatchers.
Specifies a regular expression for the primary criteria for selecting instances to monitor.
Specifies the comparison operator (nop, gt, lt, ge, le, eq, ne).
Specifies the threshold (not required for process procAlive, or service autowatchers).
Specifies the severity to use for the object state model (none, ok, warning, minor, major, critical, fatal).
Optional parameters:
Specifies the evaluation interval for all monitors that this autowatcher generates.
Default: 60
Specifies the description to apply to all monitors that this autowatcher generates.
Specifies the set of self-monitor flags to apply to all monitors that this autowatcher generates.
Specifies the match type for the primary selection criteria (positive or negative).
Specifies a column in the monitored table for secondary selection criteria.
Specifies a regular expression for the secondary instance selection criteria.
Specifies the match type for the secondary selection criteria (positive or negative).
Specifies a column in the monitored table for tertiary selection criteria.
Specifies a regular expression for the secondary instance selection criteria.
Specifies the match type for the secondary selection criteria (positive or negative).
Specifies the sample type to apply to each monitor (absolute, delta).
Specifies the scale factor for gathered monitor values. A scale factor allows the monitoring of variables in a different scale of the unit in which the variable is originally measured.
With a scale factor of 1024, you monitor the values of variables in Kilobytes, which are originally measured in bytes.
This scaling factor monitors the variables monCurrVal, monVal, monMinValue, and monMaxValue in Kilobytes instead of bytes.
Default: 1
Specifies the full path (including parameters) of a command to execute concurrent to sending a trap for each monitor.
Specifies the object class to use for the object state model ('' is replaced by default value; '*' is invalid).
Specifies the object attribute to use for the object state model ('' is replaced by default value; '*' is invalid).
Specifies the flags that modify the behavior of the autowatcher.
Specifies the interval in seconds between scans of the monitored table.
Specifies the maximum number of monitors that this autowatcher can generate.
Specifies the loss action to take when a monitor can no longer reach the monitored object (remove, ok, warning, minor, major, critical, fatal, up, down).
000 000 02 - Do not send any traps, but log traps.
000 000 04 - Do not reinitialize a notReady autowatcher.
000 000 08 - Do not log any traps, but send traps.
000 000 10 - Keep sending notReady traps.
000 000 40 - Do not send notReady traps (including log).
000 000 80 - An AIM plugin has created this entry. This flag is read-only.
Copyright © 2013 CA.
All rights reserved.
|
|