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:

  • /usr/pronto/sysdata/alarmThresholds.ini/
  • /usr/pronto/sysdata/signatureThresholds.ini

 

Warning

Note

File format is discussed below.


 

-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:

<monitor_type> <attr> <sev> <dur> <above|below|equal> <thresh> <OutsideBaseLine>
<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:

<monitor_type> <attr> <sev> <dur> <above\|below> <thresh>  <Absolute Deviation>   <Percentage Deviation> <Suppress> <BaselineType>

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

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC ProactiveNet 9.6