JBoss snmp-adaptor Templates
Moderators: Developers, Moderators
Jboss template blank graphs
I attached Technical-Support page in zip file to see details of Cacti ver I run.
I run it on Win Vista, Apache 2, Cacti 0.8.7d, RRDTool 1.2.x, PHP/5.2.9-2.
I installed all patches mentioned on http://www.cacti.net/download_patches.php.
So again - when I use template of JBoss - I can creatat device - JBoss. I see SNMP Information - so this is ok.
Additionaly I can ping any property of SnmpAdaptor using:
snmpwalk.
Then when I try create graphs - it fails. So I create them using command of "Debug data source":
c:/rrdtool/rrdtool.exe create \
C:/Apache/htdocs/cacti/rra/jbosslocal_freememory_25.rrd \
--step 300 \
DS:freeMemory:GAUGE:600:0:4294967296 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
to create them.
Second thing is - graphs are never updated by RRDtool.
I have same behaviour on Ubuntu, and RedHat.
Please - what is wrong???
I run it on Win Vista, Apache 2, Cacti 0.8.7d, RRDTool 1.2.x, PHP/5.2.9-2.
I installed all patches mentioned on http://www.cacti.net/download_patches.php.
So again - when I use template of JBoss - I can creatat device - JBoss. I see SNMP Information - so this is ok.
Additionaly I can ping any property of SnmpAdaptor using:
snmpwalk.
Then when I try create graphs - it fails. So I create them using command of "Debug data source":
c:/rrdtool/rrdtool.exe create \
C:/Apache/htdocs/cacti/rra/jbosslocal_freememory_25.rrd \
--step 300 \
DS:freeMemory:GAUGE:600:0:4294967296 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
to create them.
Second thing is - graphs are never updated by RRDtool.
I have same behaviour on Ubuntu, and RedHat.
Please - what is wrong???
- Attachments
-
- technicalsupport.ZIP
- (20.67 KiB) Downloaded 334 times
I have this setup and the "Active Thread Count" and "Memory Utilization" graphs are working flawlessly. The "Transaction Manager" graph is reporting all "0.00"s.
SNMPwalk of the device returns:http://forums.cacti.net/posting.php?mod ... 7d38614cbe
Individual snmpget of either .6, .7, or .8 yields:
Error in JBoss says:
I know nothing about JBoss, so I really need some help figuring out what that means and how to fix it.
SNMPwalk of the device returns:
Code: Select all
snmpwalk -v1 -c public 204.132.xx.xx:1161 .1.2.3.4.1
iso.2.3.4.1.1 = INTEGER: 75
iso.2.3.4.1.2 = Gauge32: 490330264
iso.2.3.4.1.3 = Gauge32: 1908932608
iso.2.3.4.1.4 = INTEGER: 0
Individual snmpget of either .6, .7, or .8 yields:
Code: Select all
iso.2.3.4.1.8 = Gauge32: 0
Code: Select all
2009-06-26 11:01:48,812 WARN [SnmpAgentService] getValueFor (jboss.web:name=http-0.0.0.0-8080,type=GlobalRequestProcessor, requestCount: javax.management.InstanceNotFoundException: jboss.web:name=http-0.0.0.0-8080,type=GlobalRequestProcessor is not registered.
I'm facing the same promblem....
stormonts wrote:I have this setup and the "Active Thread Count" and "Memory Utilization" graphs are working flawlessly. The "Transaction Manager" graph is reporting all "0.00"s.
SNMPwalk of the device returns:http://forums.cacti.net/posting.php?mod ... 7d38614cbeCode: Select all
snmpwalk -v1 -c public 204.132.xx.xx:1161 .1.2.3.4.1 iso.2.3.4.1.1 = INTEGER: 75 iso.2.3.4.1.2 = Gauge32: 490330264 iso.2.3.4.1.3 = Gauge32: 1908932608 iso.2.3.4.1.4 = INTEGER: 0
Individual snmpget of either .6, .7, or .8 yields:Error in JBoss says:Code: Select all
iso.2.3.4.1.8 = Gauge32: 0
I know nothing about JBoss, so I really need some help figuring out what that means and how to fix it.Code: Select all
2009-06-26 11:01:48,812 WARN [SnmpAgentService] getValueFor (jboss.web:name=http-0.0.0.0-8080,type=GlobalRequestProcessor, requestCount: javax.management.InstanceNotFoundException: jboss.web:name=http-0.0.0.0-8080,type=GlobalRequestProcessor is not registered.
I started a post at Jboss.com about this and included my most recent findings:
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:
"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:
When the JBoss admin restarted the server, the instance would not start and this was in the log:
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:
Code: Select all
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:
Code: Select all
<!-- 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:
Code: Select all
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
-
- Posts: 7
- Joined: Thu Jun 19, 2008 12:45 pm
- Location: http://www.alternatepropulsion.com
I just needed a second set of eyes! Now the JMX console is logging and I am able to pull stats via SNMPWALK, but they don't synch up with the graph:Adelie wrote:You are missing an end quote. I don't know if you noticed.<attribute name="StatisticsEnabled>true</attribute>
Code: Select all
snmpwalk -v1 -c public x.x.x.x:1161 .1.2.3.4.1
iso.2.3.4.1.1 = INTEGER: 90
iso.2.3.4.1.2 = Gauge32: 619705336
iso.2.3.4.1.3 = Gauge32: 1908932608
iso.2.3.4.1.4 = INTEGER: 0
iso.2.3.4.1.6 = Gauge32: 3879
iso.2.3.4.1.7 = Gauge32: 0
iso.2.3.4.1.8 = Gauge32: 3879
iso.2.3.4.1.9 = Gauge32: 0
iso.2.3.4.1.10 = Gauge32: 2
End of MIB
Does "PropogateFullContext" need to be enabled in the JMX Console?
- Attachments
-
- jboss2.jpg (52.8 KiB) Viewed 7843 times
-
- jboss.jpg (29.3 KiB) Viewed 7846 times
Re: JBoss snmp-adaptor Templates
How do I add JVM memory pool monitoring with JBOSS SNMP? I would like to see memory usage of code cache, PS - Eden Space, PS-permspace etc..
Who is online
Users browsing this forum: No registered users and 5 guests