[jboss-cvs] JBossAS SVN: r111494 - branches/snmp4j-int/varia/src/resources/services/snmp/deploy.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Jun 1 10:02:51 EDT 2011
Author: thauser at redhat.com
Date: 2011-06-01 10:02:51 -0400 (Wed, 01 Jun 2011)
New Revision: 111494
Modified:
branches/snmp4j-int/varia/src/resources/services/snmp/deploy/attributes.mib
branches/snmp4j-int/varia/src/resources/services/snmp/deploy/attributes.xml
Log:
changing attributes to reflect jboss OIDs
Modified: branches/snmp4j-int/varia/src/resources/services/snmp/deploy/attributes.mib
===================================================================
--- branches/snmp4j-int/varia/src/resources/services/snmp/deploy/attributes.mib 2011-06-01 08:51:29 UTC (rev 111493)
+++ branches/snmp4j-int/varia/src/resources/services/snmp/deploy/attributes.mib 2011-06-01 14:02:51 UTC (rev 111494)
@@ -6,13 +6,13 @@
JBOSS-AS-MIB DEFINITIONS ::=BEGIN
-- Tree roots
-org OBJECT IDENTIFIER ::= { iso 2 } -- "iso" = 1
-jboss OBJECT IDENTIFIER ::= { org 3 }
-as OBJECT IDENTIFIER ::= { jboss 4 }
-system OBJECT IDENTIFIER ::= { as 1 } -- .1.2.3.4.1
-mgmt OBJECT IDENTIFIER ::= { as 5 }
-snmp OBJECT IDENTIFIER ::= { mgmt 6 }
-agent OBJECT IDENTIFIER ::= { snmp 7 }
+org OBJECT IDENTIFIER ::= { iso 2 }
+dod OBJECT IDENTIFIER ::= { org 6 }
+internet OBJECT IDENTIFIER ::= { dod 1 }
+private OBJECT IDENTIFIER ::= { internet 4 }
+enterprise OBJECT IDENTIFIER ::= { private 1 }
+redhat OBJECT IDENTIFIER ::= { enterprise 2312 }
+jboss OBJECT IDENTIFIER ::= { redhat 100 }
-- system parameters
activeThreadCount OBJECT-TYPE
@@ -21,7 +21,7 @@
STATUS mandatory
DESCRIPTION
"The number of active Threads in the system"
- ::= { system 1 } -- .1.2.3.4.1.1
+ ::= { jboss 1 }
freeMemory OBJECT-TYPE
SYNTAX INTEGER
@@ -29,7 +29,7 @@
STATUS mandatory
DESCRIPTION
"The free memory of the VM"
- ::= {system 2} -- .1.2.3.4.1.2
+ ::= { jboss 2 }
maxMemory OBJECT-TYPE
SYNTAX INTEGER
@@ -37,7 +37,7 @@
STATUS mandatory
DESCRIPTION
"The max memory of the VM"
- ::= {system 3} -- .1.2.3.4.1.3
+ ::= {jboss 3} -- .1.2.3.4.1.3
threadPoolQueueSize OBJECT-TYPE
SYNTAX INTEGER
@@ -45,7 +45,7 @@
STATUS mandatory
DESCRIPTION
"The size of the thread pool queue"
- ::= {system 4 }
+ ::= {jboss 4 }
requestCount8080 OBJECT-TYPE
SYNTAX INTEGER
@@ -53,7 +53,7 @@
STATUS mandatory
DESCRIPTION
"Number of requests served on port 8080"
- ::= {system 5}
+ ::= {jboss 5}
txCommitCount OBJECT-TYPE
SYNTAX INTEGER
@@ -61,7 +61,7 @@
STATUS mandatory
DESCRIPTION
"Number of commited transactions"
- ::= {system 6 }
+ ::= {jboss 6 }
txRollbackCount OBJECT-TYPE
SYNTAX INTEGER
@@ -69,7 +69,7 @@
STATUS mandatory
DESCRIPTION
"Number of transactions rolled back"
- ::= {system 7 }
+ ::= {jboss 7 }
txActiveCount OBJECT-TYPE
SYNTAX INTEGER
@@ -77,7 +77,7 @@
STATUS mandatory
DESCRIPTION
"The number of currently active transactions"
- ::= {system 8 }
+ ::= {jboss 8 }
dbInUseCount OBJECT-TYPE
SYNTAX INTEGER
@@ -85,6 +85,6 @@
STATUS mandatory
DESCRIPTION
"The number of db connections currently in use"
- ::= { system 9 }
+ ::= { jboss 9 }
-END
+END
\ No newline at end of file
Modified: branches/snmp4j-int/varia/src/resources/services/snmp/deploy/attributes.xml
===================================================================
--- branches/snmp4j-int/varia/src/resources/services/snmp/deploy/attributes.xml 2011-06-01 08:51:29 UTC (rev 111493)
+++ branches/snmp4j-int/varia/src/resources/services/snmp/deploy/attributes.xml 2011-06-01 14:02:51 UTC (rev 111494)
@@ -12,7 +12,7 @@
<attribute-mappings>
<!-- basic system information -->
- <mbean name="jboss.system:type=ServerInfo" oid-prefix=".1.2.3.4.1">
+ <mbean name="jboss.system:type=ServerInfo" oid-prefix=".1.3.6.1.4.1.2312.100">
<attribute name="ActiveThreadCount" oid=".1"/>
<attribute name="FreeMemory" oid=".2"/>
<attribute name="MaxMemory" oid=".3"/>
@@ -24,12 +24,11 @@
</mbean>-->
<!-- Tx Manager statistics -->
- <!-- these attributes no longer exist in the AS -->
- <!-- <mbean name="jboss:service=TransactionManager">
+ <mbean name="jboss:service=TransactionManager">
<attribute name="CommitCount" oid=".1.2.3.4.1.6"/>
<attribute name="RollbackCount" oid=".1.2.3.4.1.7"/>
<attribute name="TransactionCount" oid=".1.2.3.4.1.8"/>
- </mbean>-->
+ </mbean>
<!-- DefaultDS statistics -->
<mbean name="jboss.jca:name=DefaultDS,service=ManagedConnectionPool" oid-prefix=".1.2.3.4.1">
More information about the jboss-cvs-commits
mailing list