Admin-Defined Filters
Admin-Defined filters
are defined by the administrator. HP does not provide any Admin-Defined
filter. To create, delete, modify, enable, and disable Admin-Defined
filters, you must 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" -ns root/cimv2 -d "Admin
Filter"
The following output is displayed:
Filter Name : AdminFilter_2
Filter Type : Admin Defined Filter
Filter Unique Identifier : 10002
Filter Query : Select * from HP_AlertIndication
Filter Query Language : WQL
Filter Source Namespace : root/cimv2
Filter Description : Admin Filter
Filter State : Enabled Filter State
Filter Last Operation : Add Filter |
For more information about the sfmconfig command and its options, enter the following command at the HP-UX
prompt:
# man sfmconfig