I'm coming into this with only half the knowledge I should have (since I don't 
have anything to do with our JBoss install, I just do all the Cacti work).  
Basically, I'm trying to use "snmp-adaptor.sar" to pull values to graph in 
Cacti.  I am able to pull "Active Thread Count" and "Memory Utilization", but 
"Commit, Rollback, and Active Transactions" are just reporting 0s.

When I look at the JMX console here:


  | MBean Name:         Domain Name:    jboss
  |     service:        TransactionManager
  | MBean Java Class:   com.arjuna.ats.jbossatx.jta.TransactionManagerService
  | 

"TransactionCount", "CommitCount", and "RollbackCount" all show 0s.  
"StatisticsEnabled" is set to False.  I tried to change it to "True" and then 
clicked the Apply Changes button, but the setting doesn't stay after JBoss is 
restarted (and it was still returning 0s).

I then tried to edit the "/server/conf/jboss-service.xml" file and adjusted the 
"JBoss Transactions JTA" section as follows:

<!-- JBoss Transactions JTA -->
  |    <mbean code="com.arjuna.ats.jbossatx.jta.TransactionManagerService"
  |       name="jboss:service=TransactionManager">
  |       <attribute name="TransactionTimeout">10800</attribute>
  |       <attribute name="StatisticsEnabled>true</attribute>
  |       <attribute 
name="ObjectStoreDir">${jboss.server.data.dir}/tx-object-store</attribute>
  |    </mbean>

When the JBoss admin restarted the server, the instance would not start and 
this was in the log:

15:17:06,778 DEBUG [Server] Failed to create xmbean for: 
org.jboss.system.server.ServerInfo
  | 15:17:06,791 INFO  [ServerInfo] Java version: 1.6.0_12,Sun Microsystems Inc.
  | 15:17:06,791 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 
11.2-b01,Sun Microsystems Inc.
  | 15:17:06,791 INFO  [ServerInfo] OS-System: Linux 2.6.5-7.308-smp,amd64
  | 15:17:06,791 DEBUG [ServerInfo] Full System Properties Dump
  | 15:17:06,792 DEBUG [ServerInfo]     java.vendor: Sun Microsystems Inc.
  | 15:17:06,792 DEBUG [ServerInfo]     sun.java.launcher: SUN_STANDARD
  | 15:17:06,792 DEBUG [ServerInfo]     sun.management.compiler: HotSpot 64-Bit 
Server Compiler
  | …
  | 15:17:06,795 DEBUG [ServerInfo]     file.encoding: UTF-8
  | 15:17:06,795 DEBUG [ServerInfo]     seerdms.config.directory: 
/home/jboss/.seerdms_dev
  | 15:17:06,795 DEBUG [ServerInfo]     java.specification.version: 1.6
  | 15:17:06,795 DEBUG [ServerInfo]     jboss.server.name: ct
  | 15:17:06,797 DEBUG [Server] Created system MBean: 
jboss.system:type=ServerInfo
  | 15:17:06,804 DEBUG [Server] Failed to create xmbean for: 
org.jboss.system.ServiceController
  | 15:17:06,821 DEBUG [ServiceController] Controller MBean online
  | 15:17:06,822 DEBUG [Server] Created system MBean: 
jboss.system:service=ServiceController
  | 15:17:06,900 DEBUG [Server] Created system XMBean: 
jboss.system:service=MainDeployer
  | 15:17:06,900 DEBUG [ServiceController] Creating service 
jboss.system:service=MainDeployer
  | 15:17:06,904 DEBUG [MainDeployer] Creating jboss.system:service=MainDeployer

What do I need to do (or have the JBoss admin do) so that I can start recording 
those stats?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241032#4241032

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241032

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to