[jboss-cvs] JBossAS SVN: r111805 - in branches/snmp4j-int/varia: src/assembly and 3 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Jul 20 13:44:18 EDT 2011


Author: thauser at redhat.com
Date: 2011-07-20 13:44:17 -0400 (Wed, 20 Jul 2011)
New Revision: 111805

Modified:
   branches/snmp4j-int/varia/pom.xml
   branches/snmp4j-int/varia/src/assembly/mib-generator.xml
   branches/snmp4j-int/varia/src/resources/services/snmp/config/Attributes.xsd
   branches/snmp4j-int/varia/src/resources/services/snmp/config/Notification.xsd
   branches/snmp4j-int/varia/src/resources/services/snmp/deploy/META-INF/jboss-service.xml
   branches/snmp4j-int/varia/src/resources/services/snmp/deploy/attributes.mib
   branches/snmp4j-int/varia/src/resources/services/snmp/deploy/attributes.xml
   branches/snmp4j-int/varia/src/resources/services/snmp/deploy/notifications.xml
Log:
updates


Modified: branches/snmp4j-int/varia/pom.xml
===================================================================
--- branches/snmp4j-int/varia/pom.xml	2011-07-20 16:20:43 UTC (rev 111804)
+++ branches/snmp4j-int/varia/pom.xml	2011-07-20 17:44:17 UTC (rev 111805)
@@ -193,6 +193,25 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+       <groupId>org.jboss</groupId>
+       <artifactId>mibgen-maven-plugin</artifactId>
+       <version>1.0-SNAPSHOT</version>
+       <configuration>
+        <attributesFile>/notnfs/thauser/workspace/snmp4j-int/varia/src/resources/services/snmp/deploy/attributes.xml</attributesFile>
+        <notificationsFile>/notnfs/thauser/workspace/snmp4j-int/varia/src/resources/services/snmp/deploy/notifications.xml</notificationsFile>
+        <moduleName>TEST-MIB</moduleName>
+        <outputFile>/home/yyz/thauser/.snmp/mibs/JBOSS-AS-VARIA.mib</outputFile>
+       </configuration>
+       <executions>
+        <execution> 
+         <phase>compile</phase>
+         <goals>
+          <goal>generate-mib</goal>
+         </goals>
+	</execution>
+       </executions>
+      </plugin>
     </plugins>
   </build>
   

Modified: branches/snmp4j-int/varia/src/assembly/mib-generator.xml
===================================================================
--- branches/snmp4j-int/varia/src/assembly/mib-generator.xml	2011-07-20 16:20:43 UTC (rev 111804)
+++ branches/snmp4j-int/varia/src/assembly/mib-generator.xml	2011-07-20 17:44:17 UTC (rev 111805)
@@ -20,8 +20,6 @@
       <outputDirectory>/</outputDirectory>
       <includes>
         <include>org/jboss/jmx/adaptor/snmp/generator/**</include>
-	<include>org/jboss/jmx/adaptor/snmp/config/attribute/**</include>
-	<include>org/jboss/jmx/adaptor/snmp/config/notification/**</include>
       </includes>
     </fileSet>
   </fileSets>

Modified: branches/snmp4j-int/varia/src/resources/services/snmp/config/Attributes.xsd
===================================================================
--- branches/snmp4j-int/varia/src/resources/services/snmp/config/Attributes.xsd	2011-07-20 16:20:43 UTC (rev 111804)
+++ branches/snmp4j-int/varia/src/resources/services/snmp/config/Attributes.xsd	2011-07-20 17:44:17 UTC (rev 111805)
@@ -26,12 +26,19 @@
           <xsd:attribute name="oid" use="required" type="xsd:string"/>
           <xsd:attribute name="mode" use="optional" type="xsd:string"/>
           <xsd:attribute name="snmp-type" use="optional" type="xsd:string"/>
+          <xsd:attribute name="max-access" use="optional" type="xsd:string"/>
+          <xsd:attribute name="description" use="optional" type="xsd:string"/>
+          <xsd:attribute name="status" use="optional" type="xsd:string"/>
+          <xsd:attribute name="table" use="optional" type="xsd:string"/>
         </xsd:complexType>
       </xsd:element>
       </xsd:sequence> 
      <xsd:attribute name="name" type="xsd:string" use="required"/>
-     <xsd:attribute name="oid-prefix" type="xsd:string"/>
-     <xsd:attribute name="definition-name" type="xsd:string"/>
+     <xsd:attribute name="oid-prefix" use="optional" type="xsd:string"/>
+     <xsd:attribute name="definition-name" use="optional" type="xsd:string"/>
+     <xsd:attribute name="table-name" use="optional" type="xsd:string"/>
+     <xsd:attribute name="description" use="optional" type="xsd:string"/>
+     <xsd:attribute name="status" use="optional" type="xsd:string"/>
     </xsd:complexType>
    </xsd:element>
   </xsd:sequence>

Modified: branches/snmp4j-int/varia/src/resources/services/snmp/config/Notification.xsd
===================================================================
--- branches/snmp4j-int/varia/src/resources/services/snmp/config/Notification.xsd	2011-07-20 16:20:43 UTC (rev 111804)
+++ branches/snmp4j-int/varia/src/resources/services/snmp/config/Notification.xsd	2011-07-20 17:44:17 UTC (rev 111805)
@@ -38,7 +38,8 @@
                      <xsd:attribute name="inform" type="xsd:boolean" />
                      <xsd:attribute name="securityName" type="xsd:string" />
                      <xsd:attribute name="name" type="xsd:string" />
-	                 <xsd:attribute name="definition-name" type="xsd:string" />
+                     <xsd:attribute name="definition-name" type="xsd:string" />
+                     <xsd:attribute name="description" type="xsd:string" />
                      <xsd:element name="var-bind-list">
                         <xsd:complexType>
                            <xsd:sequence>
@@ -48,6 +49,7 @@
                                        <xsd:attribute name="tag" type="xsd:string" />
                                        <xsd:attribute name="oid" type="xsd:string" />
                                        <xsd:attribute name="type" type="xsd:string" />
+                                       <xsd:attribute name="description" type="xsd:string"/>
                                     </xsd:sequence>
                                  </xsd:complexType>
                               </xsd:element>

Modified: branches/snmp4j-int/varia/src/resources/services/snmp/deploy/META-INF/jboss-service.xml
===================================================================
--- branches/snmp4j-int/varia/src/resources/services/snmp/deploy/META-INF/jboss-service.xml	2011-07-20 16:20:43 UTC (rev 111804)
+++ branches/snmp4j-int/varia/src/resources/services/snmp/deploy/META-INF/jboss-service.xml	2011-07-20 17:44:17 UTC (rev 111805)
@@ -96,7 +96,6 @@
     <attribute name="NotificationMapResName">/notifications.xml</attribute>
     <attribute name="ManagersResName">/managers.xml</attribute>
     <attribute name="UsersResName">/users.xml</attribute>
-    <attribute name="MibResName">JBOSS-AS-MIB.mib</attribute>
     <attribute name="HeartBeatPeriod">0</attribute>
     <attribute name="BindAddress">
        <!-- Get the interface from the ServiceBindingManager -->

Modified: branches/snmp4j-int/varia/src/resources/services/snmp/deploy/attributes.mib
===================================================================
--- branches/snmp4j-int/varia/src/resources/services/snmp/deploy/attributes.mib	2011-07-20 16:20:43 UTC (rev 111804)
+++ branches/snmp4j-int/varia/src/resources/services/snmp/deploy/attributes.mib	2011-07-20 17:44:17 UTC (rev 111805)
@@ -1,91 +1,254 @@
---
--- Example MIB for the delivered attributes.xml
--- $Revision$
--- 
+-- This MIB Generated by the JBoss MIB Generator
 
 JBOSS-AS-MIB DEFINITIONS ::=BEGIN
 
--- Tree roots
-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 }
+IMPORTS
+	OBJECT-TYPE,
+	NOTIFICATION-TYPE,
+	Counter32,
+	Gauge32,
+	Counter64,
+	TimeTicks
+		FROM SNMPv2-SMI
+	DisplayString,
+	TruthValue
+		FROM SNMPv2-TC;
 
--- system parameters
+jbossAsObjects		OBJECT IDENTIFIER ::= { 1 3 6 1 4 1 2312 100 1 1 }
+testTableDefinition		OBJECT IDENTIFIER ::= { 1 3 6 1 4 1 2312 100 1 301 }
+system		OBJECT IDENTIFIER ::= { 1 3 6 1 2 1 1 }
+
 activeThreadCount OBJECT-TYPE
 	SYNTAX INTEGER
-	ACCESS read-only 
-	STATUS mandatory
-	DESCRIPTION
-		"The number of active Threads in the system"
-	::= { as 1 } 
+	ACCESS read-only
+	STATUS current
+	DESCRIPTION 
+		"The amount of active threads the server is handling."
+::= { jbossAsObjects 1 }
 
 freeMemory OBJECT-TYPE
-	SYNTAX INTEGER
+	SYNTAX OCTET STRING (SIZE(0..255))
 	ACCESS read-only
-	STATUS mandatory
-	DESCRIPTION
-		"The free memory of the VM"
-	::= { as 2 } 
+	STATUS current
+	DESCRIPTION 
+		""
+::= { jbossAsObjects 2 }
 
 maxMemory OBJECT-TYPE
-	SYNTAX INTEGER
+	SYNTAX OCTET STRING (SIZE(0..255))
 	ACCESS read-only
-	STATUS mandatory
+	STATUS current
+	DESCRIPTION 
+		""
+::= { jbossAsObjects 3 }
+
+inUseConnectionCount OBJECT-TYPE
+	SYNTAX OCTET STRING (SIZE(0..255))
+	ACCESS read-only
+	STATUS current
+	DESCRIPTION 
+		""
+::= { jbossAsObjects 9 }
+
+maxConnectionsInUseCount OBJECT-TYPE
+	SYNTAX OCTET STRING (SIZE(0..255))
+	ACCESS read-only
+	STATUS current
+	DESCRIPTION 
+		""
+::= { jbossAsObjects 10 }
+
+instantiationTime OBJECT-TYPE
+	SYNTAX DisplayString
+	ACCESS read-only
+	STATUS current
+	DESCRIPTION 
+		""
+::= { jbossAsObjects 7 }
+
+trapCount OBJECT-TYPE
+	SYNTAX DisplayString
+	ACCESS read-only
+	STATUS current
+	DESCRIPTION 
+		""
+::= { jbossAsObjects 11 }
+
+bindAddress OBJECT-TYPE
+	SYNTAX DisplayString
+	ACCESS read-only
+	STATUS current
+	DESCRIPTION 
+		""
+::= { jbossAsObjects 12 }
+
+sysDescr OBJECT-TYPE
+	SYNTAX OCTET STRING (SIZE(0..255))
+	ACCESS read-write
+	STATUS current
+	DESCRIPTION 
+		""
+::= { system 1 }
+
+sysObjectId OBJECT-TYPE
+	SYNTAX OCTET STRING (SIZE(0..255))
+	ACCESS read-only
+	STATUS current
+	DESCRIPTION 
+		""
+::= { system 2 }
+
+sysUpTime OBJECT-TYPE
+	SYNTAX OCTET STRING (SIZE(0..255))
+	ACCESS read-only
+	STATUS current
+	DESCRIPTION 
+		""
+::= { system 3 }
+
+sysContact OBJECT-TYPE
+	SYNTAX OCTET STRING (SIZE(0..255))
+	ACCESS read-only
+	STATUS current
+	DESCRIPTION 
+		""
+::= { system 4 }
+
+sysName OBJECT-TYPE
+	SYNTAX OCTET STRING (SIZE(0..255))
+	ACCESS read-only
+	STATUS current
+	DESCRIPTION 
+		""
+::= { system 5 }
+
+sysLocation OBJECT-TYPE
+	SYNTAX OCTET STRING (SIZE(0..255))
+	ACCESS read-only
+	STATUS current
+	DESCRIPTION 
+		""
+::= { system 6 }
+
+sysServices OBJECT-TYPE
+	SYNTAX OCTET STRING (SIZE(0..255))
+	ACCESS read-only
+	STATUS current
+	DESCRIPTION 
+		""
+::= { system 7 }
+
+webappDefaultMetricsTable OBJECT-TYPE
+	SYNTAX	SEQUENCE OF WebappDefaultMetricsEntry
+	MAX-ACCESS	not-accessible
+	STATUS	current
+	DESCRIPTION	
+		"Table containing standard metrics for any webapp deployed on JBossAS"
+::= { testTableDefinition 30 }
+
+webappDefaultMetricsEntry OBJECT-TYPE
+	SYNTAX	WebappDefaultMetricsEntry
+	MAX-ACCESS	not-accessible
+	STATUS	current
 	DESCRIPTION
-		"The max memory of the VM"
-	::= { as 3} -- .1.2.3.4.1.3
+	""
 
-threadPoolQueueSize OBJECT-TYPE
+		INDEX	{
+		IMPLIED webappDefaultMetricsObjectName
+		}
+::= { webappDefaultMetricsTable 1 }		
+
+WebappDefaultMetricsEntry ::= SEQUENCE {
+	webappDefaultMetricsObjectName	DisplayString,
+	webappDefaultMetricsDistributable	INTEGER,
+	webappDefaultMetricsSessionCounter	INTEGER,
+	webappDefaultMetricsActiveSessions	INTEGER,
+	webappDefaultMetricsMaxActiveSessions	INTEGER,
+	webappDefaultMetricsSessionAverageAliveTime	INTEGER,
+	webappDefaultMetricsExpiredSessions	INTEGER,
+	webappDefaultMetricsRejectedSessions	INTEGER,
+	webappDefaultMetricsMaxInactiveInterval	INTEGER,
+	webappDefaultMetricsSessionMaxAliveTime	INTEGER
+}
+
+webappDefaultMetricsObjectName OBJECT-TYPE
+	SYNTAX DisplayString
+	ACCESS not-accessible
+	STATUS current
+	DESCRIPTION 
+		""
+::= { webappDefaultMetricsEntry 1 }
+
+webappDefaultMetricsDistributable OBJECT-TYPE
 	SYNTAX INTEGER
 	ACCESS read-only
-	STATUS mandatory
-	DESCRIPTION
-		"The size of the thread pool queue"
-	::= { as 4 }
+	STATUS current
+	DESCRIPTION 
+		""
+::= { webappDefaultMetricsEntry 2 }
 
-requestCount8080 OBJECT-TYPE
+webappDefaultMetricsSessionCounter OBJECT-TYPE
 	SYNTAX INTEGER
 	ACCESS read-only
-	STATUS mandatory
-	DESCRIPTION
-		"Number of requests served on port 8080"
-	::= { as 5}
+	STATUS current
+	DESCRIPTION 
+		""
+::= { webappDefaultMetricsEntry 3 }
 
-txCommitCount OBJECT-TYPE
+webappDefaultMetricsActiveSessions OBJECT-TYPE
 	SYNTAX INTEGER
 	ACCESS read-only
-	STATUS mandatory
-	DESCRIPTION
-		"Number of commited transactions"
-	::= { as 6 }
+	STATUS current
+	DESCRIPTION 
+		""
+::= { webappDefaultMetricsEntry 4 }
 
-txRollbackCount OBJECT-TYPE
+webappDefaultMetricsMaxActiveSessions OBJECT-TYPE
 	SYNTAX INTEGER
+	ACCESS read-write
+	STATUS current
+	DESCRIPTION 
+		""
+::= { webappDefaultMetricsEntry 5 }
+
+webappDefaultMetricsSessionAverageAliveTime OBJECT-TYPE
+	SYNTAX INTEGER
 	ACCESS read-only
-	STATUS mandatory
-	DESCRIPTION
-		"Number of transactions rolled back"
-	::= { as 7 }
+	STATUS current
+	DESCRIPTION 
+		""
+::= { webappDefaultMetricsEntry 6 }
 
-txActiveCount OBJECT-TYPE
+webappDefaultMetricsExpiredSessions OBJECT-TYPE
 	SYNTAX INTEGER
 	ACCESS read-only
-	STATUS mandatory
-	DESCRIPTION
-		"The number of currently active transactions"
-	::= { as 8 }
+	STATUS current
+	DESCRIPTION 
+		""
+::= { webappDefaultMetricsEntry 7 }
 
-dbInUseCount OBJECT-TYPE
+webappDefaultMetricsRejectedSessions OBJECT-TYPE
 	SYNTAX INTEGER
 	ACCESS read-only
-	STATUS mandatory
-	DESCRIPTION
-		"The number of db connections currently in use"
-	::= { as 9 }
+	STATUS current
+	DESCRIPTION 
+		""
+::= { webappDefaultMetricsEntry 8 }
 
-END
\ No newline at end of file
+webappDefaultMetricsMaxInactiveInterval OBJECT-TYPE
+	SYNTAX INTEGER
+	ACCESS read-only
+	STATUS current
+	DESCRIPTION 
+		""
+::= { webappDefaultMetricsEntry 9 }
+
+webappDefaultMetricsSessionMaxAliveTime OBJECT-TYPE
+	SYNTAX INTEGER
+	ACCESS read-only
+	STATUS current
+	DESCRIPTION 
+		""
+::= { webappDefaultMetricsEntry 10 }
+
+END

Modified: branches/snmp4j-int/varia/src/resources/services/snmp/deploy/attributes.xml
===================================================================
--- branches/snmp4j-int/varia/src/resources/services/snmp/deploy/attributes.xml	2011-07-20 16:20:43 UTC (rev 111804)
+++ branches/snmp4j-int/varia/src/resources/services/snmp/deploy/attributes.xml	2011-07-20 17:44:17 UTC (rev 111805)
@@ -12,37 +12,48 @@
 <attribute-mappings>
    
    <!-- basic system information -->
-   <mbean name="jboss.system:type=ServerInfo" oid-prefix="1.3.6.1.4.1.2312.100.1.1" definition-name="jbossAsObjects">
-      <attribute name="ActiveThreadCount" oid=".1"/>
-      <attribute name="FreeMemory" oid=".2"/>
-      <attribute name="MaxMemory" oid=".3"/>
+   <mbean name="jboss.system:type=ServerInfo" oid-prefix=".1.3.6.1.4.1.2312.100.1.1" definition-name="jbossAsObjects">
+      <attribute name="ActiveThreadCount" oid=".1" snmp-type="INTEGER" max-access="read-only" description="The amount of active threads the server is handling." status="current"/>
+      <attribute name="FreeMemory" oid=".2" description="The amount of free memory on the server."/>
+      <attribute name="MaxMemory" oid=".3" description="The maximum usable amount of memory on the server."/>
    </mbean>
 
    <!-- tomcat global http request processing -->
-   <mbean name="jboss.web:name=http-0.0.0.0-8080,type=GlobalRequestProcessor">
-      <attribute name="requestCount" oid=".1.3.6.1.4.1.2312.100.1.1.5"/>
-   </mbean>
+   <!--<mbean name="jboss.web:name=http-0.0.0.0-8080,type=GlobalRequestProcessor">
+      <attribute name="requestCount" oid=".1.3.6.1.4.1.2312.100.1.1.5" snmp-type="INTEGER" description="Number of requests that have been processed." status="obsolete"/>
+   </mbean>-->
    
    <mbean name="jboss.jmx:name=SnmpAgent,service=snmp,type=adaptor" oid-prefix="1.3.6.1.4.1.2312.100.1.1">
-      <attribute name="Uptime" oid=".6"/>
-      <attribute name="InstantiationTime" oid=".7"/>
-      <attribute name="TrapCount" oid=".11"/>
+     <attribute name="InstantiationTime" oid=".4" snmp-type="DisplayString" description="The start time of the SNMP agent."/>
+     <attribute name="TrapCount" oid=".5" snmp-type="DisplayString" description="The number of traps emitted by the agent."/>
+     <attribute name="BindAddress" oid=".6" snmp-type="DisplayString" description="The address to which the agent is bound."/>
    </mbean>
    <!-- DefaultDS statistics -->
    <mbean name="jboss.jca:name=DefaultDS,service=ManagedConnectionPool" oid-prefix="1.3.6.1.4.1.2312.100.1.1">
-      <attribute name="InUseConnectionCount" oid=".9"/>
-	  <attribute name="MaxConnectionsInUseCount" oid=".10"/>
+      <attribute name="InUseConnectionCount" oid=".7" description="The amount of connections currently in use."/>
+      <attribute name="MaxConnectionsInUseCount" oid=".8" description="The maximum possible amount of connections available for use."/>
    </mbean>
-
+   
+   <mbean name="jboss.web:host=localhost,path=*,type=Manager" oid-prefix="1.3.6.1.4.1.2312.100.1.1.9.1" table-name="metrics" description="Table containing standard metrics for any webapp deployed on JBossAS" status="current">
+      <attribute name="distributable" oid=".2" snmp-type="INTEGER"/> 
+      <attribute name="sessionCounter" oid=".3" snmp-type="INTEGER" description="The amount of sessions this web application has handled."/>
+      <attribute name="activeSessions" oid=".4" snmp-type="INTEGER" description="The amount of currently active sessions this web application is handling."/>
+      <attribute name="maxActiveSessions" oid=".5" mode="rw" snmp-type="INTEGER" description="The maximum amount of active sessions this web application can handle at once."/>
+      <attribute name="sessionAverageAliveTime" oid=".6" snmp-type="INTEGER" description="The average time a session is active on this web application."/>
+      <attribute name="expiredSessions" oid=".7" snmp-type="INTEGER" description="The amount of expired sessions related to this web application."/>
+      <attribute name="rejectedSessions" oid=".8" snmp-type="INTEGER" description="The amount of rejected sessions related to this web application."/>
+      <attribute name="maxInactiveInterval" oid=".9" snmp-type="INTEGER" description="The amount of time that must expire before a session is considered inactive."/>
+      <attribute name="sessionMaxAliveTime" oid=".10" snmp-type="INTEGER" description="The maximum amount of time a session can remain active."/>
+   </mbean>
    <!-- system information group see RFC-1213 -->
    <mbean name="jboss.jmx:name=SnmpAgent,service=MIB2SystemGroup" oid-prefix="1.3.6.1.2.1.1" definition-name="system">
-      <attribute name="SysDescr" oid=".1" mode="rw"/> <!-- can be modified over snmp -->
-      <attribute name="SysObjectId" oid=".2"/>
-      <attribute name="SysUpTime" oid=".3"/>
-      <attribute name="SysContact" oid=".4"/>
-      <attribute name="SysName" oid=".5"/>
-      <attribute name="SysLocation" oid=".6"/>
-      <attribute name="SysServices" oid=".7"/>
+      <attribute name="SysDescr" oid=".1" mode="rw" description="A description of this System."/> <!-- can be modified over snmp -->
+      <attribute name="SysObjectId" oid=".2" description="The OID Denoting this system."/>
+      <attribute name="SysUpTime" oid=".3" description="The time this system has been online."/>
+      <attribute name="SysContact" oid=".4" description="The person who is admin to this system."/>
+      <attribute name="SysName" oid=".5" description="The name this system is known by."/>
+      <attribute name="SysLocation" oid=".6" description="The physical location of this system."/>
+      <attribute name="SysServices" oid=".7" description="The services provided by this system."/>
    </mbean>
    
 </attribute-mappings>

Modified: branches/snmp4j-int/varia/src/resources/services/snmp/deploy/notifications.xml
===================================================================
--- branches/snmp4j-int/varia/src/resources/services/snmp/deploy/notifications.xml	2011-07-20 16:20:43 UTC (rev 111804)
+++ branches/snmp4j-int/varia/src/resources/services/snmp/deploy/notifications.xml	2011-07-20 17:44:17 UTC (rev 111805)
@@ -25,16 +25,16 @@
   <mapping name="jbossAsHeartbeatNotification" notification-type="jboss.snmp.agent.heartbeat" generic="0" specific="3" enterprise="1.3.6.1.4.1.2312.100.1.2" definition-name="jbossAsTraps">
     <var-bind-list wrapper-class="org.jboss.jmx.adaptor.snmp.agent.NotificationWrapperSupport">
       <var-bind tag="a:uptime" oid="1.3.6.1.2.1.1.3"/>
-      <var-bind tag="a:trapCount" oid="1.3.6.1.4.1.2312.1001.1.11"/>
-      <var-bind tag="n:message" oid="1.3.6.1.4.1.2312.1001.1.1.30"/>
+      <var-bind tag="a:trapCount" oid="1.3.6.1.4.1.2312.100.1.1.5"/>
+      <var-bind tag="n:message" oid="1.3.6.1.4.1.2312.100.1.1.30"/>
       <var-bind tag="n:sequenceNumber" oid="1.3.6.1.4.1.2312.100.1.1.31"/>
     </var-bind-list>               
   </mapping>        
         
   <mapping name="jbossAsColdstartNotification" notification-type="jboss.snmp.agent.coldstart" generic="0" specific="1" enterprise="1.3.6.1.4.1.2312.100.1.2" inform="false" security-name="TEST">
     <var-bind-list wrapper-class="org.jboss.jmx.adaptor.snmp.agent.NotificationWrapperSupport">
-      <var-bind tag="a:startTime" oid="1.3.6.1.4.1.2312.100.1.1.7"/>
-      <var-bind tag="a:trapCount" oid="1.3.6.1.4.1.2312.100.1.1.11"/>
+      <var-bind tag="a:startTime" oid="1.3.6.1.4.1.2312.100.1.1.4"/>
+      <var-bind tag="a:trapCount" oid="1.3.6.1.4.1.2312.100.1.1.5"/>
     </var-bind-list>               
   </mapping>
 </notification-map-list>



More information about the jboss-cvs-commits mailing list