Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 2 ActiveMatrix Host Microagent : com.tibco.hawk.amx.AMXHostMicroAgent

com.tibco.hawk.amx.AMXHostMicroAgent
Microagent
Purpose
Allows monitoring and managing of TIBCO ActiveMatrix Host Instance running in the local machine.
Methods
For TIBCO ActiveMatrix 3.0/3.0.1
Pings the ActiveMatrix Host and returns "true" or "false".
Returns the details of ActiveMatrix Host instance running in the local machine.
Returns the details of a particular node or all nodes associated with the ActiveMatrix Host instance.
Provides notification on the runtime state of a TIBCO Host is changed.
Provides notification on the runtime state of node which is changed for a particular node or all nodes associated with TIBCO Host. If the Node Name argument is empty, then the method provides notification for all nodes associated with the Host.
AMXHost Microagent Configuration File
 
File name : AMXHostPluginConfig.xml
Content
<?xml version="1.0" encoding="UTF-8"?>
<AMXHostConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="AMXHostPluginConfig.xsd">
<HPAClientConfigPropFile>%TIBCO_HAWK_HOME_ESC%/plugin/amx/hpaclientconfig.properties</HPAClientConfigPropFile>
<MethodTimeout>10</MethodTimeout>
<HostProcessPrefix>tibcohost*</HostProcessPrefix>
<NodeProcessPrefix>tibamx_*</NodeProcessPrefix>
</AMXHostConfiguration>
 
XSD Configuration file : AMXHostPluginConfig.xsd
Content :
<?xml version = "1.0" encoding = "UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xsd:element name="AMXHostConfiguration" type="AMXHostConfigurationType" />
<xsd:complexType name="AMXHostConfigurationType">
<xsd:sequence>
 
<xsd:element ref="MicroAgentName" />
<xsd:element ref="MicroAgentDisplayName" />
<xsd:element ref="MicroAgentDesc" />
 
<xsd:element ref="MethodTimeout" />
<xsd:element ref="HPAClientConfigPropFile" />
<xsd:element ref="HostProcessPrefix" />
<xsd:element ref="NodeProcessPrefix" />
</xsd:sequence>
</xsd:complexType>
 
<xsd:element name="MicroAgentName" type="xsd:string" default="" />
<xsd:element name="MicroAgentDisplayName" type="xsd:string" default="" />
<xsd:element name="MicroAgentDesc" type="xsd:string" default="" />
 
<xsd:element name="HPAClientConfigPropFile" type="xsd:string" default="hpaclientconfig.properties" />
 
<xsd:element name="MethodTimeout" type="xsd:string" default="10" />
 
<xsd:element name="HostProcessPrefix" type="xsd:string" default="tibcohost*" />
<xsd:element name="NodeProcessPrefix" type="xsd:string" default="tibamx_*" />
 
</xsd:schema>
AMX Host Microagent Configuration
For configuration of AMX Host Microagent, refer to the readme.txt available in plugin/amx.
 
 
 
 
 
 
 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved