We have created multiple domains in our environment but when i am trying to create a metric grouping from Investigator for Connection Status, I am unable to find the domain.
If I put it in any Domain present inside the Super domain then I am able to see the data.
When I am trying to create this from Management Module editor and put the Metric Grouping Agent Expression and Metric Expression Manually then the MG is getting created but I am not able to see the data.I do understand that Connection Status Metric is only available in Super Domain.
Would you kindly let me know how to make it possible.
Attaching a screen grab for your reference.
Hope that helps
As I have different domain so this MM is under this domain. I want create different ConnectionStatus MG for each JVM. So this MG will be present inside the MM present which in turn present inside the domain.
But I am unable to make it work.
I tried the suggested method by creating a AppServer JVM calculator. But it is working for 1 JVM present inside one server.
I want to monitor all the JVMS present inside all the server under all the different domains.
Using a metric grouping will not keep your alert from generating a false alert when the agent disconnects from one collector to another. It's best to use a JS calc like the one I have to monitor connections.
I did use the java script calculator .But it’s a very crude way of getting the jvm availability. As I need to add one expression for each domain in agentclusters.xml file.
and this will add some resource overhead on the MoM server as well.
I just want to know is there any alternative way/metric available in APM to cater this requirement apart from EP Agent as well.
Let me give you an example which may not true in this context.Like if heap memory utilization is equal to zero. Then we can say the JVM is not available.
You have to create a virtual agent to get metrics from superdomain to your specific domain's MM. you have to tune the following metrics expression in agentcluster.xml file
<agent-cluster name="Custom Metric Host" domain="SuperDomain" tgtDomain="Production"><agent-specifier>(.*)\|(.*)\|Custom Metric Agent\(Virtual\)(.*)</agent-specifier>
I've fought and fought with trying to use agent connection status for JVM availability, but there are a bunch of caveats.
As mentioned above, cross domain groupings and you have to use agent clusters, that leads to even more issues. Agent load-balancing and now your collectors are having to run java script calculators to try to determine if the agent was there in the previous time slice. In my experience, not a good use of the APM.
After beating my head against the APM versus Infrastructure rock enough, we started to move all of the availability type questions to SiteScope. Basically saying that if the answer is on/off, up/down, present/not present then that is an infrastructure monitor. If it is how well, how much, how long, trending, performance style questions, that is the APM.
There is no sense in pounding a square peg into the round hole.