6-48
User Guide for Resource Manager Essentials 4.1
OL-11714-01
Chapter 6 Managing Inventory Collection and Polling Using Inventory
Using Inventory Custom Report Templates

Template Definition Example 1

If you create the rule IPAddress:IPAddress:contains:1, in the custom report output, you will get all
the IP address of devices which contains 1 as part of the IP Address.

Template Definition Example 2

If the you want to see the device chassis, vendor type, port count of module and processor whose chassis
vendor type is xyz and module port count > 0 or Processor port count > 0, the template definition is:
Chassis:VendofType:equals:xyz
AND:Module:PortCount:>:0
OR:Chassis:VendofType:equals:xyz
AND:Processor:PortCount:>:0
In general mathematical notation, if you want to get the result of A AND (B OR C) where A, B and C
are the rules, you need to define as A AND B OR A AND C. RME looks at treats this as (A AND B) OR
(A AND C).
The default evaluation by RME is that be all rule blocks associated with AND are evaluated first and
then in the next step of evaluation OR is applied on the resultant blocks. That is, all rules with the
association string AND are clubbed together and evaluated.

Template Definition Example 3

If you want to get details of the IP Addresses of devices which contain 10.36 or whose devices Memory
Type is I/O, then the template definition is:
TemplateDef: IPAddress:IPAddress:contains:10.36
OR:Memory:Type:equals:I/O
The custom report is generated with all the IP Addresses and Memory Types for the devices having IP
Address 10.36 or whose memory type is I/O.

Template Definition Example 4

If you want to get details of the image versions devices which contain 1 and want to know their flash
size, then the template definition is:
Image:Image Version:contains:1
AND:Flash File:Size (MB)
The custom report is generated with the Flash File size and the image version of all the devices whose
image version contains 1.

Template Definition Example 5

If your template definition has the following rules:
Image:Image Version:contains:1
OR:Flash File:Size (MB)