
.tools.snmp.adaptor.service.2.8.14.source-code.notifications.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0"?> <!-- $Id: notifications.xml 111805 2011-07-20 17:44:17Z [email protected] $ This configuration file controls the mapping of JMX notification onto SNMP traps. The key for the mapping is considered to be the notification type. The mapping concerns: 1. Generic trap id 2. Specific trap id 3. Enterprise OID 4. The trap payload comprised of notification variables mapped to specific OIDs. Notification extractor classes may be used to extract info from arbitrary notification subclasses. This is the most complex part of the SNMP adaptor configuration. For more information on using or extending this mechanism, please consult the jboss documentation or the source code. --> <notification-map-list> <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.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.4"/> <var-bind tag="a:trapCount" oid="1.3.6.1.4.1.2312.100.1.1.5"/> </var-bind-list> </mapping> <mapping name="jbossAsClusterViewChangedNotification" notification-type="org.jboss.cache.ViewChanged" generic="0" specific="0" 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.4"/> <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.1000" definition-name="viewChangedMessage"/> </var-bind-list> </mapping> </notification-map-list>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy