Discovers applications (standalone WAR) installed on a JBoss application server configuration.
The application discovery discovers the standalone web modules associated with a JBoss application server configuration.
The discovery occurs using MBeans with the following query:
jboss.management.local:J2EEApplication=null,j2eeType=WebModule,*
Target | Microsoft.JEE.JBoss.5.Monitored.Configuration |
Enabled | True |
Frequency | 14400 |
Remotable | False |
Discovered Classes and their attribuets: |
---|
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.JEE.Discovery.MBeans.DataSource | Default |
<Discovery ID="Microsoft.JEE.JBoss.5.Application.WAR.Discovery" Target="Microsoft.JEE.JBoss.5.Monitored.Configuration" Remotable="true" Enabled="true">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.JEE.JBoss.5.Application.WAR"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="JEE!Microsoft.JEE.Discovery.MBeans.DataSource">
<ApplicationServerGuid>$Target/Host/Property[Type="JEE!Microsoft.JEE.ApplicationServer.Instance"]/Id$</ApplicationServerGuid>
<ComputerName>$Target/Host/Property[Type="JEE!Microsoft.JEE.ApplicationServer.Instance"]/HostName$</ComputerName>
<Protocol>$Target/Property[Type="JEE!Microsoft.JEE.ApplicationServer.Monitored.Instance"]/Protocol$</Protocol>
<Port>$Target/Property[Type="JEE!Microsoft.JEE.ApplicationServer.Monitored.Instance"]/Port$</Port>
<BaseURL/>
<JMXQuery>jboss.management.local:J2EEApplication=null,j2eeType=WebModule,*</JMXQuery>
<AdditionalArguments>&MaxDepth=0</AdditionalArguments>
<ReturnMultiplePropertyBags>true</ReturnMultiplePropertyBags>
<UseAttributesInKeysOfReturnedPropertyBags>false</UseAttributesInKeysOfReturnedPropertyBags>
<!-- Interval currently set to four hours -->
<IntervalSeconds>14400</IntervalSeconds>
<TimeoutSeconds>900</TimeoutSeconds>
<ClassId>$MPElement[Name="Microsoft.JEE.JBoss.5.Application.WAR"]$</ClassId>
<InstanceSettings>
<Settings>
<!-- The following properties are defined for the Application's parent classes -->
<Setting>
<Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
<Value>$Data/Property[@Name='/MBeans/org.jboss.management.j2ee.WebModule/objectNameElements/name']$</Value>
</Setting>
<!-- These properties are for the JBoss Configuration-->
<Setting>
<Name>$MPElement[Name="JEE!Microsoft.JEE.ApplicationServer.Instance"]/Id$</Name>
<Value>$Target/Host/Property[Type="JEE!Microsoft.JEE.ApplicationServer.Instance"]/Id$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="JEE!Microsoft.JEE.ApplicationServer.Instance"]/HostName$</Name>
<Value>$Target/Host/Property[Type="JEE!Microsoft.JEE.ApplicationServer.Instance"]/HostName$</Value>
</Setting>
<!-- The following properties are defined for the Application-->
<Setting>
<Name>$MPElement[Name="JEE!Microsoft.JEE.Application"]/ApplicationName$</Name>
<Value>$Data/Property[@Name='/MBeans/org.jboss.management.j2ee.WebModule/objectNameElements/name']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="JEE!Microsoft.JEE.Application"]/j2eeType$</Name>
<Value>$Data/Property[@Name='/MBeans/org.jboss.management.j2ee.WebModule/objectNameElements/j2eeType']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="JEE!Microsoft.JEE.Application"]/ObjectName$</Name>
<Value>$Data/Property[@Name='/MBeans/org.jboss.management.j2ee.WebModule/objectName']$</Value>
</Setting>
</Settings>
</InstanceSettings>
</DataSource>
</Discovery>