Show TOC

 Installation of Summary and Object NodesLocate this document in the navigation structure

The installation of summary and object nodes is simple and requires only three parameters:

  • The name of the configuration group of the summary/object node
  • The path in the monitoring tree where the summary/object node should be placed
  • The display name of the summary/object node.

There are some restrictions concerning the input parameters:

  • The configuration group must be an existing configuration group - that is, it must be described in a monitor-configuration.xml that is already deployed on the server. One configuration group can be used many times.
  • The path must not be null and must exist in the monitoring tree
  • The name must not be null and must not exist already in the monitoring tree.

In the Bank example , a valid path is "Root/Applications", a valid name is "European VIP Clients" (there is no such summary described in the monitor-configuration.xml), and a valid configuration group is "BankVIPClientsList" (this configuration group is described in the monitor-configuration.xml, i.e. this is a valid configuration group).

Example

The installation of a summary node can be done with the following code:

String cfgGroup = "BankVIPClientsList";
String path = "Root / Applications";
String name = "European VIP Clients";
 
monitorContext.installSummaryNode(path, name, cfgGroup);

 

The installation of an object node is similar:

String cfgGroup = "BankVIPClient";    
String path = "Root/Applications";
String name = "VIP Clients - France";
  
monitorContext. installObjectNode(path, name, cfgGroup);