Splunk AppDynamics

Generate an alert depends on the Data Collector response

Teja_Tatini
Explorer

Hi,

I am using data collectors to collect specific response data from a method . Now I am looking to generate an alert based on the result . Is that possible.

e.g : Data collector method returns : Totalrecoverable= 31 ; I am looking to setup an alert if the return value is more than 10.

Thanks,

Teja

Labels (1)
Tags (2)
0 Karma

Brian_Wheeldon
Contributor

Hi Teja,

To configure a Health Rule, you must specify a metric to compare. The Method Invocation Data Collector (MIDC) you defined adds the observation to snapshots, but does not produce a metric you can use in a Health Rule.

To produce a metric, you need to configure an Information Point. The Information Point configuration is very similar to the MIDC.

Information Point metrics are automatically baselined, and can be used in Health Rules, Dashboards and Reports.

Regards,

Brian Wheeldon

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Am looking to pass data collector information to an action. How can I do that.

Ex: A pojo transaction is violating the health rule and I need to pass on the data of this business transaction to a response (Either to a script or a http service)

0 Karma

Teja_Tatini
Explorer

Thank you Brain. Its working. Thank you much.

Creation of information points for the same class and method which i used in data collector wont impact any MIDC metrics, right?

Thanks,

Teja

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...