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

That completes the JBoss configuration that enables the SnmpAgentService.
HP SIM Configuration
For HP SIM to listen for SNMP traps from the JBoss SnmpAgentService, you must identify the system
running this agent to HP SIM. The easiest way to do this is with the HP SIM Web-based GUI using the
following steps:
1. Using your browser, access HP SIM using the following default URL:
http://mySIMserver:280
2. Log in to HP SIM. The home page appears.
3. Click Options then select Discovery.
4. Click the Manual tab.
5. Enter the hostname of the system running JBoss then click Add System.
A message indicating that HP SIM is attempting to locate and add your system appears.
6. Click OK to close the message window.
7. Verify that your system has been added to HP SIM, by clicking on All Systems on the left-navigation
menu.
A list of systems that HP SIM recognizes appears. The list should include the system that you just
added.
8. Click on the name of your system.
9. Click on the Events tab.
A "Discovered System" event is listed indicating that HP SIM is ready to receive traps from the JBoss
SNMP agent.
Start JBoss and View Traps in the SNMP Managers
Normally, JBoss startup occurs at boot time through the startup script, /etc/init.d. However, it is more
effective to start it interactively so that you can easily check for any startup errors. At the shell prompt,
type /usr/local/jboss-<version>/bin/run.sh.
The console output, similar to the following, appears:
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /usr/local/jboss-4.0.1sp1
JAVA: /usr/local/jrockit-1.5.0/bin/java
JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh
CLASSPATH: /usr/local/jboss-4.0.1sp1/bin/run.jar:/usr/local/jrockit-1.5.0/lib/tools.jar
=========================================================================
22:10:29,146 INFO [Server] Starting JBoss (MX MicroKernel)...
22:10:29,163 INFO [Server] Release ID: JBoss [Zion] 4.0.1sp1 (build: CVSTag=JBoss_4_0_1_SP1 date=200502160314)
22:10:29,164 INFO [Server] Home Dir: /usr/local/jboss-4.0.1sp1
22:10:29,164 INFO [Server] Home URL: file:/usr/local/jboss-4.0.1sp1/
22:10:29,165 INFO [Server] Library URL: file:/usr/local/jboss-4.0.1sp1/lib/
22:10:29,166 INFO [Server] Patch URL: null
22:10:29,166 INFO [Server] Server Name: default
22:10:29,166 INFO [Server] Server Home Dir: /usr/local/jboss-4.0.1sp1/server/default
22:10:29,167 INFO [Server] Server Home URL: file:/usr/local/jboss-4.0.1sp1/server/default/
22:10:29,167 INFO [Server] Server Data Dir: /usr/local/jboss-4.0.1sp1/server/default/data
22:10:29,168 INFO [Server] Server Temp Dir: /usr/local/jboss-4.0.1sp1/server/default/tmp
18