
Hello,
We are liking what we see so far in the new version of APM. Native JMX support is nice to see, as well as the ability to add descriptions and comments to each component in a template.
Some of the things we've noticed so far that we have questions and/or suggestions for:
I'll be sure to update as we have more questions/comments.
Thanks!
Aaron
Hello,
thank you for the feedback.
Regarding JMX questions - polling and charting just increment since the previous poll is currently not supported. Also in this release we support read-only operations only - so it is not possible to invoke function over JMX to read results.
How important is this missing functionality in your environment? Do you have a lot of MBeans with rate counters? Do you often need to invote remote operations to get results?
Thank you
JMX invoking an operation is more of a 'nice to have' than a requirement at this point, but it is something that I will see more requests for in the future.
The RegEx content matching in HTTP content monitors and the ability to add POST data and headers to HTTP/HTTPS monitors are the really important features at this time. Adding these would really help us drive additional adoption of APM in our environment.
Do you have a lot of MBeans with rate counters?
Yes, we do have a lot MBeans with rate counters, so this is an important piece of functionality for us.
Here is a way to use powershell to grab a web page and to a regex look in it:
$URL = 'https://${IP}/'
$REGEX = '(line 1)(.|\n)*(line 12)'
# Ignore Certificate errors
[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}
#Create Object to access web page
$client = new-object System.Net.WebClient
#Pull web page into string variable
$Data = $client.DownloadString($URL)
#Compare to regex
If ([regex]::IsMatch($Data,$REGEX)) {
'Statistic: 0'
exit 0
} else {
'Statistic: 1'
exit 1
}
It would be nicer if it was built in, but hey at least the framework is flexible...
It would be nicer if it was built in, but hey at least the framework is flexible...
Agreed. Thanks for the powershell script. We've done something similar in perl before.
I also received some additional feedback from other people in my org that have done testing of APM 4.2 Beta.
1. "Initial JMX implementation looks very solid; no major issues in the limited work I did with it;
a. The JMX Mbean browser is an outstanding and very powerful tool.
b. I’d highly recommend linking to this directly from the APM template component creation for convenience (it’s currently kind of hard to find).
2. More generally, JMX and other APM statistics needs to be able to be counted as a rateor gauge, similar to the way SNMP calculates rate of change in counters. (I think we're detecting a theme here :)
3. It would be great to have an SMNP MIB browser similar to what was implemented for the JMX browser."
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4
Not sure where that came from.
The UI is very simple, and it was easy enough to get this working, though we also had to add the -Dcom.sun.management.snmp.acl.file=<pathtosnmp.acl>\snmp.acl to get this working with Tomcat on Windows.
We have some custom MBeans that we'd like to read the values for, and it looks like we'd have to create a custom MIB to make this work. Any suggestions on a simple approach, or a tool, that would make this happen without having to recompile our application code?
This can be done very easily by building JMX Monitors using the JMX browser under "Find Processes, Services and Performance Counters" on the APM settings page of APM 4.2.
Thank you, aLTeReGo! It's working perfectly!
I have a use case where there is a set of data and a developer has exposed an MBean with an operation that can return the smallest number amongst a set of numbers. I find that Orion isn't able to do this in its current state so I'm left looking for a workaround.
Is there a plan to implement this functionality. It would help increase the adoption of the tool in monitoring our Java apps.
I have a use case where there is a set of data and a developer has exposed an MBean with an operation that can return the smallest number amongst a set of numbers.
Isn't this functionality achievable with an attribute as well? It's a function anyway.
That's correct, content matching is string only but this is the same behavior as APM 4.0.2 and not something new to APM 4.2. I've added this to the list of feature requests to be considered in a future release. What exactly do you mean when you say "add headers"? Are you referring to Host Headers in the HTTP/HTTPS request? Also, what kind of data are you trying to "Post"? Is this HTML form data?HTTP content matching is string only. I'd love to see RegEx. It's something my users request frequently.
HTTP/HTTPS monitoring - We have many requests for the ability to add headers and POST data to the request.
That's correct, content matching is string only but this is the same behavior as APM 4.0.2 and not something new to APM 4.2. I've added this to the list of feature requests to be considered in a future release.
Thanks for adding it to the feature requests. I knew this was the same as before, but it doesn't seem like an overly complicated change, and would go a long way to moving more people to APM in my org.
What exactly do you mean when you say "add headers"? Are you referring to Host Headers in the HTTP/HTTPS request? Also, what kind of data are you trying to "Post"? Is this HTML form data?
For headers, I'm speaking about Host and HTTP headers. POST data we would use are JSON blobs, SOAP envelopes and HTML form data to name a few.