pw threshold load
The pw threshold load command provides the capability to load Absolute Global thresholds from the tab-delimited file. This command also handles signature thresholds.
The command format is as follows:
If no additional attributes are specified, BMC ProactiveNet will reload all default thresholds.
The fields are as follows, listed in order of appearance.
pw threshold load
Attribute | Description |
|---|---|
-s | Load Safe mode: attributes w/ thresholds will not be changed |
<filename> | The thresholds file name. If no file name is specified, then the default files are used:
|
-signature | Operate on signature threshold. If not specified, operates on absolute threshold |
-v | Verbose mode |
Absolute Thresholds file
An Absolute threshold file must have the following format for global thresholds:
<BaselineType>
where,
- <OutsideBaseLine> = 0 or 1. For attributes where signature thresholds are also set, the Outside BaseLine attribute is set to 1.
- <BaselineType> = It specifies the Baseline type. The value can be Hourly, Daily, or Weekly.
- All other attributes are as discussed under pw threshold set.
Signature Threshold file
The Signature Thresholds file must be in the following format:
where,
- <Suppress> = 0 or 1. A value of 1 suppress the system from generating events for this threshold.
- <BaselineType> = It specifies the baseline Type. The value can be Hourly, Daily or Weekly.
All other attributes are as discussed under pw threshold set.
Specify the attributes in a single line, in the order given above, separating each attribute with a tab space. Each line corresponds to one signature threshold. Multiple thresholds can be specified in a single file.
The following are command-specific return codes for pw threshold load CLI.
pw threshold load CLI return codes
pw threshold load CLI return codes
Codes | Description |
|---|---|
0 | Successful execution of the command |
1 | Input validation failed |
2 | User does not have privileges to run this command |
3 | Failed to load thresholds |