Administrator's and User's Guide for SFM HP-UX 11i v3 March 2012

3 Configuring indication providers
This chapter describes how to configure indication filters, error logging, and the
SFMIndicationProvider.
Configuring indication filters
You must configure the indication filters to view desired indications. You use the Filter Metadata
provider (FMD) to configure indication filters that deliver important or desired indications, for
example, indications with a certain severity. The provider also ensures that all the indications that
HP recommends for system management are logged in the Event Archive, available at
/var/opt/psb/db/pgsql. Logging indications in the archive helps track all the events that are
generated.
Filters are classified as follows:
HP-Defined Filters
HP-Defined filters are defined by HP, and are present in the FMD repository at the time of
installation. You can list, enable or disable the HP-Defined filters. Indications fulfilling the
conditions in the HP-Defined filters are logged in the Event Archive. To confirm the HP-Defined
Filters, enter the following command at the HP-UX prompt:
# sfmconfig -m list -t HP
The following output is displayed:
Filter Name : General Filter
Filter Type : HP Defined Filter
Filter Unique Identifier : 1
Filter Query : Select * from HP_DeviceIndication
Filter Query Language : WQL
Filter Source Namespace : root/cimv2
Filter Description : General Device Indications.
Filter State : Enabled Filter State
Filter Last Operation : No Operation
To disable the HP-Defined filters, enter the following command at the HP-UX prompt:
# sfmconfig -m disable -t HP -n 'General Filter' -u 1
To revert the settings, enter the following command at the HP-UX prompt:
# sfmconfig -m enable -t HP -n 'General Filter' -u 1
Admin-Defined Filters
Admin-Defined filters are defined by the administrator. HP does not provide any Admin-Defined
filter. To list, create, delete, modify, enable, and disable Admin-Defined filters, use the
sfmconfig command. By default, the FMD provider does not log indications fulfilling the
conditions in the Admin-Defined filters, in the Event Archive. You must modify the Admin-Defined
filters to log indications in the Event Archive.
To add an Admin-Defined Filter, enter the following command at the HP-UX prompt:
# sfmconfig -m add -n <filter name> -s {ENABLE|DISABLE} -l {WQL|CQL}
-q <query> -ns <name space> -d <description>
For example,
# sfmconfig -m add -n AdminFilter_2 -s ENABLE -l WQL -q "Select *
from HP_AlertIndication where (PerceivedSeverity >= 4)" -ns
root/cimv2 -d "Admin Filter"
The following output is displayed:
Filter Name : AdminFilter_2
Filter Type : Admin Defined Filter
Configuring indication filters 29