AppD Archive

Generate Email for Custom Action

CommunityUser
Splunk Employee
Splunk Employee

Hi,

I am using Eevnt Publisher Extension to monitor my processes and it gives me whether the processes are running or not.

I am gettting Events for process status with type Custom but I am not able to generate the mail when process changes its state and goes down.

Can anybody please help me to set mail action for Custom events.

Reagards,

Prathamesh

0 Karma

Mike_McFarland
New Member

When you say " I am not able to generate the mail", is because the option is not there, or is the option there, but nothing happens?

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Mike,

As I am using EventPublisherExtension for monitoring processes it generates Custom Event for process status no custom metrics are generated for the same.

I want to send mail alert  when the custom event occurs.

Regards,

Prathamesh

0 Karma

Mike_McFarland
New Member

OK, this should not be too hard.  First, you want to create an 'Action' that will send an e-mail to the desired list of recipiants.  Take a look here for how to do this:

https://docs.appdynamics.com/display/PRO40/Actions

Then all you need to do is to create a 'Policy' that responds to the Custom Event, and triggers your new e-mail Action that you just created.  Take a look here to see how a Policy works:

https://docs.appdynamics.com/display/PRO40/Policies

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 ...