The edgewatch autowatch commands and associated arguments are as follows:
add -index=[watchIndex] -attribute=value [-attribute=value ...] setstatus -index=[watchIndex] -rowstatus=[active | notInService | destroy] delete -index=[watchIndex] list
All of the attributes are specified in '-attribute=value' format and are not positionally dependent.
Mandatory attributes for the add command:
Specifies the name for the Autowatcher entry.
Specifies one of the following types: generic, process, or service.
Specifies a regular expression for the primary table criteria for selecting instances to monitor in single quotes.
Specifies one of the following severities to use for the object state model: none, ok, warning, minor, major, critical, or fatal.
Additional mandatory attributes for add -watchtype=generic:
Specifies the table entry that is monitored (for example, devTableEntry).
Specifies the table column attribute that is monitored (for example, devCapacity).
Specifies the comparison operator: nop, gt, lt, ge, le, eq, or ne.
Specifies the threshold for comparison.
Additional mandatory attributes for add -watchtype=process:
Specifies the one of the following values: procAlive, procMem, procSize, procRSS, procTime, procInBlks, procOutBlks, procMsgsSent, procMsgsRecv, procNice, procNumThreads, procNumSwaps, procSysCalls, procMinorPgFlts, procMajorPgFlts, procVolCtx, procInvolCtx, or procTimePermil.
Specifies the comparison operator: nop, gt, lt, ge, le, eq, or ne. Not required for procAlive.
Specifies the threshold for comparison.
Optional attributes:
Specifies the evaluation interval for generated monitors (default: 60)
Specifies the description that is applied to all generated monitors in single quotes.
Specifies the hex integer (for example, 0x0000) applied to all generated monitors (default: 0x0000):
0x0001 - Do not execute actions.
0x0002 - Do not send traps.
0x0004 - Do not reinitialize entry.
0x0008 - Do not send syslog events.
0x0010 - Send continuous notReady traps.
0x0020 - Do not send SystemEDGE arguments to action scripts.
0x0040 - Do not send notReady traps for this entry.
-watchtype = generic:
0x0100 - Send clear traps.
0x0200 - Send threshold traps after X breaches.
0x0400 - Send at most X consecutive threshold traps 0xfff00000 = value of X.
-watchtype = process or service:
0x0200 - Do not send start traps.
0x0400 - Send clear traps.
0x0800 - Match process name and arguments.
0x1000 - Send threshold/stop traps after X breaches.
0x2000 - Send at most X consecutive threshold/stop traps.
0x8000 - Monitor process in a Solaris zone.
0xfff00000 - Value of X.
Specifies one of the following match types for the primary selection criteria: positive, negative (default: positive).
Specifies the column in the monitored table for secondary selection criteria.
Specifies the regular expression for the secondary selection criteria in single quotes. (default: '.*')
Specifies one of the following match types for the secondary selection criteria: positive, negative (default: positive).
Specifies the column in the monitored table for tertiary selection criteria.
Specifies the regular expression for the tertiary selection criteria in single quotes. (default: '.*')
Specifies one of the following match types for the tertiary selection criteria: positive, negative (default: positive).
Specifies the one of the following sample types to apply to all generated monitors: absolute, delta (default: absolute).
Specifies the scale value to apply to all generated monitors (default: 1).
Specifies the full path of the command (action) in single quotes (default: no action is configured).
Specifies the name of the object class for the object state model.
Specifies the name of the object attribute for the object state model.
Specifies the hex integer (for example, 0x0000) to modify the behaviour of the autowatcher (default: 0x0000):
0x0002 - Do not send autowatcher traps.
0x0004 - Do not reinitialize entry.
0x0008 - Do not send syslog events.
0x0010 - Send continuous notReady autowatcher traps.
0x0040 - Do not send notReady traps for this entry.
0x1000 - Monitor processes by PID (only for -watchtype=process).
Specifies the interval between discovery scans of the monitored table (default: 300).
Specifies the maximum number of generated monitors for this autowatcher entry (default: 100).
Specifies one of the following loss actions when a generated monitor can no longer monitor its object: remove, ok, warning, minor, major, critical, fatal, up, or down (default: fatal).
Specifies the start type of the Windows Service. This attribute only applies to -watchtype=service. Use one of the following values: automatic, manual, disabled (default: all types).
Specifies the status textual convention value to use in setting the status of a row in the MIB table when used with the setstatus operation. Valid values are as follows. Values can be either the assigned integer values or the actual spelled out status text:
Copyright © 2013 CA.
All rights reserved.
|
|