Example of input tab details for an Application Class

This section contains examples for the input tab entries for an Application Class. This configuration logic is used by BPPM CMA to configure a monitor type. For tag definitions, see Configuring PATROL KM metadata.

Sample logic written in the Input tab for an application class (KM Configuration metadata).

<KMConfigurationMetadata>
    <KMLevelConfiguration dataModelMajorVersion="1" dataModelMinorVersion="0">
         </KMLevelConfiguration>
         <ConfigurationParameters>
          <ConfigurationParameter>
            <List description="Unstructured Data Collection Agent" id="UDC" indexedBy="agent.name" isMandatory="true" label="Collection agent Configuration">
               <AttributeSet label="Collection agent Details">
                  <Attribute>
                     <String id="agent.name" isMandatory="true" label="Agent Name">
                        <InputValidationRules>
                           <InputValidationRule id="ValidateInetAddress">
                           </InputValidationRule>
                        </InputValidationRules>
                     </String>
                  </Attribute>
                  <Attribute>
                 <List description="List of Servers" id="ItdaStationServerList" indexedBy="AUTO" isMandatory="true" label="Server List">
                  <AttributeSet id="ItdaServerConfig" label="">
                  <Attribute>
                     <String id="serverhost" isMandatory="true" label="Server Host">
                        <InputValidationRules>
                           <InputValidationRule id="ValidateInetAddress">
                           </InputValidationRule>
                        </InputValidationRules>
                     </String>
                  </Attribute>                  
                  <Attribute>
                     <String default="8080" id="serverport" isMandatory="true" label="Server Port">
                        <InputValidationRules>
                           <InputValidationRule id="validateRange">
                              <Params>
                                 <Param>1</Param>
                                 <Param>65535</Param>
                              </Params>
                           </InputValidationRule>
                        </InputValidationRules>
                     </String> 
                  </Attribute>
                  <Attribute>
                     <String default="41414" id="payload.bindport" isMandatory="true" label="Payload Port">
                        <InputValidationRules>
                           <InputValidationRule id="validateRange">
                              <Params>
                                 <Param>1</Param>
                                 <Param>65535</Param>
                              </Params>
                           </InputValidationRule>
                        </InputValidationRules>
                     </String>
                  </Attribute>
                 </AttributeSet>
                </List>
               </Attribute>
              <Attribute>
                     <String id="collection.profile.name" isMandatory="false" label="Collection Profile">
                     </String>
                  </Attribute>                
              </AttributeSet>
            </List>
            </ConfigurationParameter>
         </ConfigurationParameters>
      </KMConfigurationMetadata>

Was this page helpful? Yes No Submitting... Thank you

Comments