Importing and Customizing Thresholds

Home  Previous  Next

1.Launch the BMC ProactiveNet PW Commands. On Windows 2008, you need to run the PW Commands as Administrator.

Thresholds_1

Launching BMC ProactiveNet PW Commands

 

2.Execute the following command line:

pw adapter -type patrol -get_thresholds <file name> -pproxy_host <hostname|ipaddress> [-pproxy_port <port_number>] [-pproxy_user <username>] [-pproxy_passwd <password>] -i -v

 

where

        -get_thresholds <file name> = File name with absolute path at which thresholds will be imported

        -pproxy_host <hostname|ipaddress> = Host name or IP Address of Patrol Proxy Server

        -pproxy_port <port_number> = Port at which Patrol Proxy Agent communicates with Patrol Proxy Server

        -pproxy_user <username> = User name of Patrol Proxy user

        -pproxy_passwd <password> = Password to authenticate Patrol Proxy user

        -i = import Instance level thresholds

        -v = run in "verbose" mode, producing extra lines of output during extraction and conversion processes

 

The command has produced a text file with all the parameter threshold settings.

3.Open the file in a text editor. Check that the global thresholds have been properly interpreted.

4.Then go to the # INSTANCE LEVEL THRESHOLDS section of the file.

5.Uncomment all instance level thresholds for the _PATROL__MS_HW_ prefixed instances.

ImportantSearch the file for the 'NOT_IMPLEMENTED' occurrences to detect thresholds that were not properly converted by the PATROL Adapter.
noteThe import procedure fails to interpret properly the Voltage alert thresholds. If you want to activate alert thresholds in BMC ProactiveNet for Voltage parameters, you will need to manually describe them in the text file, like the example below.

# Thresholds are already set for this parameter if you want to overwrite, uncomment it.

# Application class : MS_HW_VOLTAGE , Parameter : Voltage

# Threshold range : 0 0 0 0 0 0 OK|1 -999999 11330 1 1 0 ALARM|1 12566 999999 1 1 0 ALARM|, Mapping Status : NOT_IMPLEMENTED

# Instance Name : MS_HW_IpmiToolhdfcisco-b200_16 (16 (P12V_BP))

_PATROL__MS_HW_MAIN_MS_HW_ENCLOSURE_MS_HW_VOLTAGE_CONT_MS_HW_VOLTAGE| MS_HW_IpmiToolhdfcisco-b200_16 (16 (P12V_BP))|cisco-ucs   VOLTAGE       MINOR  0      below  11330  0      Auto

_PATROL__MS_HW_MAIN_MS_HW_ENCLOSURE_MS_HW_VOLTAGE_CONT_MS_HW_VOLTAGE| MS_HW_IpmiToolhdfcisco-b200_16 (16 (P12V_BP))|cisco-ucs   VOLTAGE       MAJOR  0      above  12566  0      Auto

 

6.Save the file.

 

Thresholds_2

7.Execute the following command:

pw threshold loadpatrolthreshold [<thresholdfilename> [-v]]

where:

         <thresholdfilename> is a thresholds file name. If no file path is specified then the default '<Installation Directory>/pw/tmp/' is used

         -v  enables the Verbose mode

Class-level thresholds can be displayed using the Absolute Global Thresholds panel in the BMC ProactiveNet Operator Console, while instance-level thresholds are displayed in the Absolute Instance Thresholds panel:

Thresholds_3_HW

Thresholds have been successfully imported into BMC ProactiveNet.