Hello,
I am new to DynaTrace so forgive me for fumbling through my description.
I want to setup an Incident Rule that will send out an email when a endpoint is paused or stopped. Where I am stuck is finding a metric to set a threshold. The J2CResourceAdapter looked interesting performing a !equalsIgnoreCase("1") on the state attribute. Testing proved this setup did not work. I would like to get access to J2CMessageEndpoint MBean.
Any thoughts on what metric to use? Do I need to install a certain Sensor Pack?
Thank you for your assistance.
Answer by Eric P. ·
Thank you Andreas for your reply. Your message has provided clarity for me in how to setup the threshold.
After running a few more tests to no success, I am still not confident I am using the correct metric to listen to notifications on MDB status changes. I forgot to mention the metrics that I was viewing was under the WebSphere "Custom JMX". Reading on-line for WebSphere 7, it appears there are no JMX notifications that are emitted on an MDB status change. I am planning on follow-up with IBM, but I am wondering if someone found a metric that emitted notifications.
Thanks again,
Answer by Andreas G. ·
Hi. What you need is a "Custom JMX" metric that returns that particular MBean measure. Then you can use this measure for your Incident. You set the threshold on the measure definition itself. You will have to set lower severe threshold to 0 (zero) assuming that this JMX Measure will return 0 if the endpoint is turned off. Lower Sever is evaluated like a <= (lower or equals). That should then work in your case
JANUARY 15, 3:00 PM GMT / 10:00 AM ET