$('a[name]').remove(); $('#ic-homepage__footer').before('

'); $("#tabs").tabs({ selected: 1 }); $("#ic-homepage__ic-tips").append( quickTipHTML() ); unhideOneProductTip(); $("#ic-homepage__product-tips").wrapInner('

'); $("#ic-homepage__feed-tips").wrapInner('

'); });

IBM Tivoli Monitoring > Version 6.3 > User's Guides > Agent Builder User's Guide > Create attribute groups from existing sources IBM Tivoli Monitoring, Version 6.3


Create a Filtered Attribute Group

Create a filtered attribute group by filtering rows of data from an existing attribute group.


A filtered attribute group is most useful when a base data source query returns data that you prefer to divide into separate groups. Examples of such data sources are Windows Performance Monitor, SNMP and WMI.

For example, assume that a data source can return the following data:

This is a table that reports on the storage that exists on the system and it includes both memory and disk space. You might prefer to break down the table into memory and disk as separate tables. You can break down the table by creating two base attribute groups. Each of these base attribute groups collects the same data and filters out the rows you do not want. However, that is not the most efficient way to do things. Instead, you define one base attribute group that returns both the memory and disk usage data together. Next, define two filtered attribute groups. Each uses the same base table as its source. One includes a filter where Type=="MEM" and the other includes a filter where Type=="DISK".

In the example, for the filtered attribute group where Type=="MEM", the returned data is:

and where Type=="DISK", the returned data is:

Attributes groups whose data is event-based cannot be used to create filtered attribute groups. Only attribute groups whose data is sampled can be used.


Procedure

  1. Click Existing data sources in the Monitoring Data Categories area on the Agent Initial Data Source page or the Data Source Location page

    • You can reach the Data Source Location page by right-clicking an agent in the Data Source Definition page of the Agent Editor and selecting Add Data Source.

  2. Select Filter an attribute group's data rows in the Data Sources area.

    Figure 1. Adding existing data sources

  3. Click Next The Filter Information page is displayed.

    Figure 2. Filter Information window

  4. Select a Source attribute group from the list.

  5. Enter a Selection formula to filter the data from the attribute group you selected. For example, in the Filter Information page that is shown earlier, the selection formula filters data rows where the Type attribute is equal to "DISK". Data rows whose Type attribute does not match "DISK" are discarded. The selection formula that you enter must evaluate to a Boolean result, true, or false.

    In the Filter Information page, you can click Edit to enter or modify the formula using the Formula Editor. For more information about the Formula Editor, see (Formula Editor).

  6. Click Next.

  7. Select Produces a single data row or Can produce more than one data row.

    1. If you selected Can produce more than one data row, select a key attribute or attributes from the list.

  8. Click Finish.


Parent topic:

Create attribute groups from existing sources

+

Search Tips   |   Advanced Search