0 Replies Latest reply on Dec 7, 2017 11:17 AM by Ramassh Theivendran

    CMA (TSOM v11) UI Not Following The XML Syntax

    Ramassh Theivendran

      I noticed the CMA is placing the attributes not as written in PSL. I specified a boolean check-box (Enable Remote PATROL Agent Checking) between two lists (Monitoring Nodes and PATROL Agent Configuration):

       

          <Attribute>
            <AttributeSet label="Monitoring Nodes" newPopupDialog="true" description="Monitoring node details for multi-node mode KM failover.">
              <Attribute>
                <List id="NODES" label="Monitoring Nodes" indexedBy="clusterNodeName" description="Enter the monitored cluster node details for multi-node mode monitoring.">
                  <AttributeSet label="Monitoring Nodes" description="Enter the cluster nodes for multi-node mode monitoring.">
                    <Attribute>
                      <String id="agentHostname" isMandatory="true" label="PATROL Agent Hostname" description="Enter the hostname of the PATROL Agent where the KM is installed."/>
                    </Attribute>
      
      
                    <Attribute>
                      <String id="nodeID" isMandatory="true" label="Server ID" description="Enter the Hostname/IP Address/FQDN matching the monitored node which is monitored from the above PATROL Agent."/>
                    </Attribute>
      
      
                    <Attribute>
                      <String id="clusterNodeName" isMandatory="true" label="Cluster Node Name" description="Enter the hostname of the cluster node as reported by the cluster application."/>
                    </Attribute>
      
      
                  </AttributeSet>
                </List>
              </Attribute>
            </AttributeSet>
          </Attribute>
      
      
          <Attribute>
            <Boolean id="remoteAgentChecking" label="Enable Remote PATROL Agent Checking" description="Enable to allow KM to check the remote PATROL Agent's monitoring mode."/>
          </Attribute>
      
      
          <Attribute>
            <AttributeSet label="PATROL Agent Configuration" newPopupDialog="true" description="PATROL Agent access configuration for multi-node mode KM failover.">
              <Attribute>
                <List id="PATROLAGENTS" label="PATROL Agent Configuration" indexedBy="agentHostname" description="Enter the PATROL Agent configuration details.">
                  <AttributeSet label="PATROL Agent Configuration" description="Enter the PATROL Agent details for remote Agent checking.">
                    <Attribute>
                      <String id="agentHostname" isMandatory="true" label="PATROL Agent Hostname" description="Enter the PATROL Agent hostname for remote Agent checking."/>
                    </Attribute>
      
      
                    <Attribute>
                      <Enum id="protocol" label="Protocol" description="Enter the protocol to be used for the remote PATROL Agent communication.">
                        <Enumerators>
                          <Enumerator label="TCP" value="1"/>
                          <Enumerator label="UDP" value="2"/>
                        </Enumerators>
                      </Enum>
                    </Attribute>
      
      
                    <Attribute>
                      <String id="port" label="Port" default="3181" description="Enter PATROL Agent port number for the remote PATROL Agent communication.">
                        <InputValidationRules>
                          <InputValidationRule id="validateRange">
                            <Params>
                              <Param>1</Param>
                              <Param>10000</Param>
                            </Params>
                          </InputValidationRule>
                        </InputValidationRules>
                      </String>
                    </Attribute>
      
      
                    <Attribute>
                      <String id="patrol.username" label="Username" default="patrol" isMandatory="true" description="Enter PATROL Agent username for the remote PATROL Agent login."/>
                    </Attribute>
      
      
                    <Attribute>
                      <String id="patrol.password" label="Password" isStorageSecure="true" isMandatory="true" description="Enter PATROL Agent password for authentication."/>
                    </Attribute>
      
      
                    <Attribute>
                      <String id="attempts" label="Number of Attempts" default="2" description="Enter the number of attempts for the remote PATROL Agent communication before failing over the KM.">
                        <InputValidationRules>
                          <InputValidationRule id="validateRange">
                            <Params>
                              <Param>1</Param>
                              <Param>100</Param>
                            </Params>
                          </InputValidationRule>
                        </InputValidationRules>
                      </String>
                    </Attribute>
      
      
                    <Attribute>
                      <String id="timeout" label="Timeout (in Seconds)" default="600" description="Enter the timeout between attempts for the remote PATROL Agent communication.">
                        <InputValidationRules>
                          <InputValidationRule id="validateRange">
                            <Params>
                              <Param>1</Param>
                              <Param>10000</Param>
                            </Params>
                          </InputValidationRule>
                        </InputValidationRules>
                      </String>
                    </Attribute>
                  </AttributeSet>
                </List>
              </Attribute>
            </AttributeSet>
          </Attribute>
      

       

      And I end up with:

      monitoring_mode_config_cma.jpg

       

      Is this by design? I prefer to keep the relevant entries together. Looks great in BPPM v9.6.00.