HP OSMS white paper: How to Monitor JBoss v4.0.3 SP1 with HP SIM using SNMP

-->
<manager>
<address>localhost</address>
<port>1162</port>
<local-address></local-address>
<local-port></local-port>
<version>1</version>
</manager>
<manager>
<address>10.1.1.57</address>
<port>160</port>
<local-address></local-address>
<local-port></local-port>
<version>1</version>
</manager>
</manager-list>
The notifications.xml configuration file is used to specify how the intercepted JMX notifications, to
which the snmp-adaptor subscribes, will be mapped to SNMP traps. This mapping is driven by matching
the notification type of the JMX notification to an SNMP trap, as shown in this notifications.xml file:
<?xml version="1.0"?>
<!--
$Id: OSMS_WP_Mon_Jboss_SNMP.xml,v 1.21 2006/09/13 18:09:55 loval Exp $
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>
<notification-type>jboss.snmp.agent.heartbeat</notification-type>
<generic>3</generic>
<specific>0</specific>
<enterprise>1.2.3.4.5.6.7</enterprise>
<var-bind-list wrapper-class="org.jboss.jmx.adaptor.snmp.agent.NotificationWrapperSupport">
<var-bind>
<tag>a:uptime</tag>
<oid>1.2.3.4.5.6.7.5</oid>
</var-bind>
<var-bind>
<tag>a:trapCount</tag>
<oid>1.2.3.4.5.6.7.6</oid>
</var-bind>
14