HP OSMS white paper: How to Monitor JBoss v4.0.3 SP1 with HP SIM using SNMP
Figure 3 HP SIM Events Tab Example
Clicking on an event in the Event Type column causes a detailed description of the event to appear. For
instance, the following is the detailed information for the “Cold Start" event:
Figure 4 Cold Start Event Example
NOTE: The messages regarding incorrect MIB data are erroneous. Since there is not a MIB file defining
the OIDs sent by the agent, HP SIM has tried to use the default RFC1215 MIB. If a MIB file existed, it would
be registered with HP SIM and the OID would then be interpreted correctly.
Thirty minutes after the cold start a Link Up event (heartbeat) is sent by the SNMP agent to HP SIM. The
time period value for this event is set in the jboss-service.xml file with the HeartBeatPeriod
attribute. The log file for JBoss at /usr/local/jboss<version>/server/default/log/server.log
contains an entry similar to the following:
2006-04-17 18:42:37,552 DEBUG [org.jboss.jmx.adaptor.snmp.agent.SnmpAgentService] Received notification:
<javax.management.timer.TimerNotification[source=jboss.
jmx:name=SnmpAgent,service=timer,type=heartbeat][type=jboss.snmp.agent.heartbeat][message=heartbeat report]> Payload TS:
<1145320957536> SN: <3> T: <jboss.snmp.agent.heartbeat>
2006-04-17 18:42:37,552 DEBUG [org.jboss.jmx.adaptor.snmp.agent.TrapFactorySupport] generateV1Trap
2006-04-17 18:42:37,552 DEBUG [org.jboss.jmx.adaptor.snmp.agent.TrapFactorySupport] Match for "jboss.snmp.agent.heartbeat" on
mapping 0
20