[jboss-cvs] JBossAS SVN: r111497 - 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:43:23 EDT 2011


Author: thauser at redhat.com
Date: 2011-06-01 10:43:22 -0400 (Wed, 01 Jun 2011)
New Revision: 111497

Modified:
   branches/snmp4j-int/varia/src/resources/services/snmp/deploy/attributes.mib
   branches/snmp4j-int/varia/src/resources/services/snmp/deploy/attributes.xml
Log:
add .1 identifier to OIDs for the as proper

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 14:05:14 UTC (rev 111496)
+++ branches/snmp4j-int/varia/src/resources/services/snmp/deploy/attributes.mib	2011-06-01 14:43:22 UTC (rev 111497)
@@ -6,13 +6,14 @@
 JBOSS-AS-MIB DEFINITIONS ::=BEGIN
 
 -- Tree roots
-org		OBJECT IDENTIFIER ::= { iso 2 } 
-dod		OBJECT IDENTIFIER ::= { org 6 }
+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 }
+as 			OBJECT IDENTIFIER ::= { jboss 1 }
 
 -- system parameters
 activeThreadCount OBJECT-TYPE
@@ -21,7 +22,7 @@
 	STATUS mandatory
 	DESCRIPTION
 		"The number of active Threads in the system"
-	::= { jboss 1 } 
+	::= { as 1 } 
 
 freeMemory OBJECT-TYPE
 	SYNTAX INTEGER
@@ -29,7 +30,7 @@
 	STATUS mandatory
 	DESCRIPTION
 		"The free memory of the VM"
-	::= { jboss 2 } 
+	::= { as 2 } 
 
 maxMemory OBJECT-TYPE
 	SYNTAX INTEGER
@@ -37,7 +38,7 @@
 	STATUS mandatory
 	DESCRIPTION
 		"The max memory of the VM"
-	::= {jboss 3} -- .1.2.3.4.1.3
+	::= { as 3} -- .1.2.3.4.1.3
 
 threadPoolQueueSize OBJECT-TYPE
 	SYNTAX INTEGER
@@ -45,7 +46,7 @@
 	STATUS mandatory
 	DESCRIPTION
 		"The size of the thread pool queue"
-	::= {jboss 4 }
+	::= { as 4 }
 
 requestCount8080 OBJECT-TYPE
 	SYNTAX INTEGER
@@ -53,7 +54,7 @@
 	STATUS mandatory
 	DESCRIPTION
 		"Number of requests served on port 8080"
-	::= {jboss 5}
+	::= { as 5}
 
 txCommitCount OBJECT-TYPE
 	SYNTAX INTEGER
@@ -61,7 +62,7 @@
 	STATUS mandatory
 	DESCRIPTION
 		"Number of commited transactions"
-	::= {jboss 6 }
+	::= { as 6 }
 
 txRollbackCount OBJECT-TYPE
 	SYNTAX INTEGER
@@ -69,7 +70,7 @@
 	STATUS mandatory
 	DESCRIPTION
 		"Number of transactions rolled back"
-	::= {jboss 7 }
+	::= { as 7 }
 
 txActiveCount OBJECT-TYPE
 	SYNTAX INTEGER
@@ -77,7 +78,7 @@
 	STATUS mandatory
 	DESCRIPTION
 		"The number of currently active transactions"
-	::= {jboss 8 }
+	::= { as 8 }
 
 dbInUseCount OBJECT-TYPE
 	SYNTAX INTEGER
@@ -85,6 +86,6 @@
 	STATUS mandatory
 	DESCRIPTION
 		"The number of db connections currently in use"
-	::= { jboss 9 }
+	::= { as 9 }
 
 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 14:05:14 UTC (rev 111496)
+++ branches/snmp4j-int/varia/src/resources/services/snmp/deploy/attributes.xml	2011-06-01 14:43:22 UTC (rev 111497)
@@ -12,7 +12,7 @@
 <attribute-mappings>
    
    <!-- basic system information -->
-   <mbean name="jboss.system:type=ServerInfo" oid-prefix=".1.3.6.1.4.1.2312.100">
+   <mbean name="jboss.system:type=ServerInfo" oid-prefix=".1.3.6.1.4.1.2312.100.1">
       <attribute name="ActiveThreadCount" oid=".1"/>
       <attribute name="FreeMemory" oid=".2"/>
       <attribute name="MaxMemory" oid=".3"/>
@@ -25,13 +25,13 @@
    
    <!-- Tx Manager statistics -->
    <mbean name="jboss:service=TransactionManager">
-      <attribute name="CommitCount" oid=".1.3.6.1.4.1.2312.100.6"/>
-      <attribute name="RollbackCount" oid=".1.3.6.1.4.1.2312.100.7"/>
-      <attribute name="TransactionCount" oid=".1.3.6.1.4.1.2312.100.8"/>
+      <attribute name="CommitCount" oid=".1.3.6.1.4.1.2312.100.1.6"/>
+      <attribute name="RollbackCount" oid=".1.3.6.1.4.1.2312.100.1.7"/>
+      <attribute name="TransactionCount" oid=".1.3.6.1.4.1.2312.100.1.8"/>
    </mbean>
    
    <!-- DefaultDS statistics -->
-   <mbean name="jboss.jca:name=DefaultDS,service=ManagedConnectionPool" oid-prefix=".1.3.6.1.4.1.2312.100">
+   <mbean name="jboss.jca:name=DefaultDS,service=ManagedConnectionPool" oid-prefix=".1.3.6.1.4.1.2312.100.1">
       <attribute name="InUseConnectionCount" oid=".9"/>
 	  <attribute name="MaxConnectionsInUseCount" oid=".10"/>
    </mbean>



More information about the jboss-cvs-commits mailing list