[Jboss-cvs] JBossAS SVN: r57107 - branches/Branch_4_0/varia/src/resources/services/snmp/deploy

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sat Sep 23 10:37:50 EDT 2006


Author: dimitris at jboss.org
Date: 2006-09-23 10:37:48 -0400 (Sat, 23 Sep 2006)
New Revision: 57107

Modified:
   branches/Branch_4_0/varia/src/resources/services/snmp/deploy/attributes.mib
Log:
JBAS-3683, fix syntax erros in the MIB

Modified: branches/Branch_4_0/varia/src/resources/services/snmp/deploy/attributes.mib
===================================================================
--- branches/Branch_4_0/varia/src/resources/services/snmp/deploy/attributes.mib	2006-09-23 14:09:54 UTC (rev 57106)
+++ branches/Branch_4_0/varia/src/resources/services/snmp/deploy/attributes.mib	2006-09-23 14:37:48 UTC (rev 57107)
@@ -1,89 +1,98 @@
 --
 -- Example MIB for the delivered attributes.xml
--- This file is only an example. The provided values
--- will change in the future.
+-- This file is only an example. The provided values will change in the future.
 -- See also <a href="http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossOIDs">The Wiki</a>
--- $Revision$
+-- $Id:$
 -- <a href="mailto:hwr at pilhuhn.de>Heiko W. Rupp</a>
 
 JBOSS-AS-MIB DEFINITIONS ::=BEGIN
 
 IMPORTS
-	enterprises
-		FROM RFC1213-MIB
-	OBJECT-TYPE
-		FROM RFC-1212;
+   enterprises
+      FROM RFC1213-MIB
+      FROM SNMPv2-SMI
+   OBJECT-TYPE
+      FROM RFC-1212;
 		
 -- JBoss space within MIB-2
 
-jboss OBJECT IDENTIFIER :: = { enterprises 18016 } -- 1.3.4.6.1.4.1.18016
-jbossProducts OBJECT IDENTIFIER :: = {jboss 1 }
-jbossAS OBJECT IDENTIFIER :: = { jbossProducts 1 }
-jbossAS500 OBJECT IDENTIFIER ::= { jbossAS 1 }
-jbossAS404 OBJECT IDENTIFIER ::= { jbossAS 2 }
+jboss         OBJECT IDENTIFIER ::= { enterprises 18016 } -- 1.3.4.6.1.4.1.18016
+jbossProducts OBJECT IDENTIFIER ::= {jboss 1 }
+jbossAS       OBJECT IDENTIFIER ::= { jbossProducts 1 }
+jbossAS500    OBJECT IDENTIFIER ::= { jbossAS 1 }
+jbossAS404    OBJECT IDENTIFIER ::= { jbossAS 2 }
 
--- Tree roots -- experimental will change in the future!
-org	OBJECT IDENTIFIER ::= { iso 2 } -- "iso" = 1
-jboss-exp	OBJECT IDENTIFIER ::= { org 3 }
-as	OBJECT IDENTIFIER ::= { jboss-exp 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 }
+-- Tree roots - experimental will change in the future!
+org       OBJECT IDENTIFIER ::= { iso 2 } -- "iso" = 1
+jboss-exp OBJECT IDENTIFIER ::= { org 3 }
+as        OBJECT IDENTIFIER ::= { jboss-exp 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 }
 
 -- system parameters
 activeThreadCount OBJECT-TYPE
-	SYNTAX INTEGER
-	ACCESS read-only 
-	DESCRIPTION
-		"The number of active Threads in the system"
-	::= { system 1 } -- .1.2.3.4.1.1
+   SYNTAX INTEGER
+   ACCESS read-only 
+   STATUS mandatory
+   DESCRIPTION
+      "The number of active Threads in the system"
+   ::= { system 1 } -- .1.2.3.4.1.1
 freeMemory OBJECT-TYPE
-	SYNTAX INTEGER
-	ACCESS read-only
-	DESCRIPTION
-		"The free memory of the VM"
-	::= {system 2} -- .1.2.3.4.1.2
+   SYNTAX Gauge32
+   ACCESS read-only
+   STATUS mandatory
+   DESCRIPTION
+      "The free memory of the VM"
+   ::= {system 2} -- .1.2.3.4.1.2
 maxMemory OBJECT-TYPE
-	SYNTAX INTEGER
-	ACCESS read-only
-	DESCRIPTION
-		"The max memory of the VM"
-	::= {system 3} -- .1.2.3.4.1.3
+   SYNTAX Gauge32
+   ACCESS read-only
+   STATUS mandatory
+   DESCRIPTION
+      "The max memory of the VM"
+   ::= {system 3} -- .1.2.3.4.1.3
 threadPoolQueueSize OBJECT-TYPE
-	SYNTAX INTEGER
-	ACCESS read-only
-	DESCRIPTION
-		"The size of the thread pool queue"
-	::= {system 4 }
+   SYNTAX INTEGER
+   ACCESS read-only
+   STATUS mandatory
+   DESCRIPTION
+      "The size of the thread pool queue"
+   ::= {system 4 }
 requestCount8080 OBJECT-TYPE
-	SYNTAX INTEGER
-	ACCESS read-only
-	DESCRIPTION
-		"Number of requests served on port 8080"
-	::= {system 5}
+   SYNTAX Gauge32
+   ACCESS read-only
+   STATUS mandatory
+   DESCRIPTION
+      "Number of requests served on port 8080"
+   ::= {system 5}
 txCommitCount OBJECT-TYPE
-	SYNTAX INTEGER
-	ACCESS read-only
-	DESCRIPTION
-		"Number of commited transactions"
-	::= {system 6 }
+   SYNTAX Gauge32
+   ACCESS read-only
+   STATUS mandatory
+   DESCRIPTION
+      "Number of commited transactions"
+   ::= {system 6 }
 txRollbackCount OBJECT-TYPE
-	SYNTAX INTEGER
-	ACCESS read-only
-	DESCRIPTION
-		"Number of transactions rolled back"
-	::= {system 7 }
+   SYNTAX Gauge32
+   ACCESS read-only
+   STATUS mandatory
+   DESCRIPTION
+      "Number of transactions rolled back"
+   ::= {system 7 }
 txActiveCount OBJECT-TYPE
-	SYNTAX INTEGER
-	ACCESS read-only
-	DESCRIPTION
-		"The number of currently active transactions"
-	::= {system 8 }
+   SYNTAX Gauge32
+   ACCESS read-only
+   STATUS mandatory
+   DESCRIPTION
+      "The number of currently active transactions"
+   ::= {system 8 }
 dbInUseCount OBJECT-TYPE
-	SYNTAX INTEGER
-	ACCES read-only
-	DESCRIPTION
-		"The number of db connections currently in use"
-	::= { system 9 }
-END
\ No newline at end of file
+   SYNTAX Gauge32
+   ACCESS read-only
+   STATUS mandatory
+   DESCRIPTION
+      "The number of db connections currently in use"
+   ::= { system 9 }
+END




More information about the jboss-cvs-commits mailing list