Help required.
To connect to IBM WAS you have to use
service:jmx:iiop://localhost:2809/jndi/JMXConnector -
It is now a compliant system.
HQ_JAVA_HOME=C:\program files\ibm\websphere\appserver\java\jre and the command is invoked using HQ_JAVA_HOME.
I can see the MBean from the agent command line dump. That gives me
<snip>
MBean: javax.management.modelmbean.RequiredModelMBean
Name: WebSphere:name=OLC_TO_AUDIT_ACK,process=server1,platform=dynamicproxy,node=Tivoli-VM-3Node01,SIBus=hyro_isb,version=6.1.0.17,ID=F6061F6755333442EF8BB19D_QUEUE_247000018,type=SIBQueuePoint,mbeanIdentifier=com.ibm.ws.sib.admin.impl.JsQueuePoint,cell=Tivoli-VM-3Node01Cell,spec=1.0,SIBMessagingEngine=Tivoli-VM-3Node01.server1-hyro_isb
0. Attribute: depth = 18 (r)
1. Attribute: state = ACTIVE (r)
2. Attribute: id = F6061F6755333442EF8BB19D_QUEUE_247000018 (r)
3. Attribute: identifier = OLC_TO_AUDIT_ACK (r)
4. Attribute: highMessageThreshold = 50000 (r)
5. Attribute: sendAllowed = true (r)
</snip>
( plus a lot of stuff I don't need to know )
Trying to access this however, is giving me fits. I have set up a plugin
<plugin>
<service name="was-olc-audit-ack-queue"
server="Sun JVM" version="1.5">
<!-- We will need to get the Attributes: depth, state and identifier (0,1,3) -->
<!-- We would like a list of all the SIBQueuePoint beans for "SIBMessagingEngine=Tivoli-VM-3Node01.server1-hyro_isb" -->
<property name="OBJECT_NAME"
value=" WebSphere:name=OLC_TO_AUDIT_ACK,process=server1,platform=dynamicproxy,node=Tivoli-VM-3Node01,SIBus=hyro_isb,version=6.1.0.17,ID=F6061F6755333442EF8BB19D_QUEUE_247000018,type=SIBQueuePoint,mbeanIdentifier=com.ibm.ws.sib.admin.impl.JsQueuePoint,cell=Tivoli-VM-3Node01Cell,spec=1.0,SIBMessagingEngine=Tivoli-VM-3Node01.server1-hyro_isb"/>
<property name="AUTOINVENTORY_NAME"
value="%platform.name% was-olc-audit-ack-queue"/>
<plugin type="autoinventory"/>
<plugin type="measurement"
class="org.hyperic.hq.product.jmx.MxMeasurementPlugin"/>
<plugin type="control"
class="org.hyperic.hq.product.jmx.MxControlPlugin"/>
<!-- reset is an MBean operation, set* are attribute setters -->
<actions include="reset,setcacheSize,settrainThreshold"/>
<filter name="template"
value="${OBJECT_NAME}:${alias}"/>
<metric name="Availability"
template="${OBJECT_NAME}:Availability"
indicator="true"/>
<!-- Work out how to get "true" associated with state = ACTIVE in the MBean -->
<metric name="Queue Depth"
alias="depth"
collectionType="trendsup"
indicator="true"/>
</service>
</plugin>
This of course does nothing. First try, I would've been scared if it had worked, but.... I have gotten way too much nothing since. Nothing works at all.
I've also tried to set up an alternate JVM service to the sun 1.5 JVM as there are repeatedly problems in setting up this server (the directions for the JMX query page indicate its necessity) as the IBM version of Java that is running appears to have threading disabled.
The server MUST use the IBM Java. An attempt to query the MBean list with the standard java came up entirely empty. The hq-plugin.jar was able to find everything when explicitly told where to go and run with the Java set up properly.
Note:
Not all plugins are honoring HQ_JAVA_HOME. It is different from JAVA_HOME and in the case of IBM it is critical to maintain the difference.
BJ
To connect to IBM WAS you have to use
service:jmx:iiop://localhost:2809/jndi/JMXConnector -
It is now a compliant system.
HQ_JAVA_HOME=C:\program files\ibm\websphere\appserver\java\jre and the command is invoked using HQ_JAVA_HOME.
I can see the MBean from the agent command line dump. That gives me
<snip>
MBean: javax.management.modelmbean.RequiredModelMBean
Name: WebSphere:name=OLC_TO_AUDIT_ACK,process=server1,platform=dynamicproxy,node=Tivoli-VM-3Node01,SIBus=hyro_isb,version=6.1.0.17,ID=F6061F6755333442EF8BB19D_QUEUE_247000018,type=SIBQueuePoint,mbeanIdentifier=com.ibm.ws.sib.admin.impl.JsQueuePoint,cell=Tivoli-VM-3Node01Cell,spec=1.0,SIBMessagingEngine=Tivoli-VM-3Node01.server1-hyro_isb
0. Attribute: depth = 18 (r)
1. Attribute: state = ACTIVE (r)
2. Attribute: id = F6061F6755333442EF8BB19D_QUEUE_247000018 (r)
3. Attribute: identifier = OLC_TO_AUDIT_ACK (r)
4. Attribute: highMessageThreshold = 50000 (r)
5. Attribute: sendAllowed = true (r)
</snip>
( plus a lot of stuff I don't need to know )
Trying to access this however, is giving me fits. I have set up a plugin
<plugin>
<service name="was-olc-audit-ack-queue"
server="Sun JVM" version="1.5">
<!-- We will need to get the Attributes: depth, state and identifier (0,1,3) -->
<!-- We would like a list of all the SIBQueuePoint beans for "SIBMessagingEngine=Tivoli-VM-3Node01.server1-hyro_isb" -->
<property name="OBJECT_NAME"
value=" WebSphere:name=OLC_TO_AUDIT_ACK,process=server1,platform=dynamicproxy,node=Tivoli-VM-3Node01,SIBus=hyro_isb,version=6.1.0.17,ID=F6061F6755333442EF8BB19D_QUEUE_247000018,type=SIBQueuePoint,mbeanIdentifier=com.ibm.ws.sib.admin.impl.JsQueuePoint,cell=Tivoli-VM-3Node01Cell,spec=1.0,SIBMessagingEngine=Tivoli-VM-3Node01.server1-hyro_isb"/>
<property name="AUTOINVENTORY_NAME"
value="%platform.name% was-olc-audit-ack-queue"/>
<plugin type="autoinventory"/>
<plugin type="measurement"
class="org.hyperic.hq.product.jmx.MxMeasurementPlugin"/>
<plugin type="control"
class="org.hyperic.hq.product.jmx.MxControlPlugin"/>
<!-- reset is an MBean operation, set* are attribute setters -->
<actions include="reset,setcacheSize,settrainThreshold"/>
<filter name="template"
value="${OBJECT_NAME}:${alias}"/>
<metric name="Availability"
template="${OBJECT_NAME}:Availability"
indicator="true"/>
<!-- Work out how to get "true" associated with state = ACTIVE in the MBean -->
<metric name="Queue Depth"
alias="depth"
collectionType="trendsup"
indicator="true"/>
</service>
</plugin>
This of course does nothing. First try, I would've been scared if it had worked, but.... I have gotten way too much nothing since. Nothing works at all.
I've also tried to set up an alternate JVM service to the sun 1.5 JVM as there are repeatedly problems in setting up this server (the directions for the JMX query page indicate its necessity) as the IBM version of Java that is running appears to have threading disabled.
The server MUST use the IBM Java. An attempt to query the MBean list with the standard java came up entirely empty. The hq-plugin.jar was able to find everything when explicitly told where to go and run with the Java set up properly.
Note:
Not all plugins are honoring HQ_JAVA_HOME. It is different from JAVA_HOME and in the case of IBM it is critical to maintain the difference.
BJ