Can you give me an example of how to create SNMP trap for low memory in JBoss?

Solution Verified - Updated -

Issue

I've setup the log4j config such to display TRACE messages but the SNMP agent doesn't display any message, as if it didn't receive any JMX notification. I would need a sample of how to notify the snmp agent. For example, given the default configuration in files like attributes.mib, attributes.xml, notifications.xml, I'd need a code sample notifying a free memory change notification. Could you please provide such a sample as otherwise I don't figure out things.

Environment

JBoss Enterprise Application Platform (EAP) 5.1.0.GA

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content