Reply
Expert Contributor
Posts: 139
Registered: ‎07-21-2014

How to setup custom email alerts?

I would like to setup some hourly email alerts for some services (Flume, Impala, etc) with the  summary of the hours metrics. For example, put successes or failures in the part hour of Flume service channels, etc.

 

Is there a way to set these up? Any documentation on what all metrics are available for each service?

 

Thanks!

Explorer
Posts: 11
Registered: ‎09-09-2015

Re: How to setup custom email alerts?

I am looking for similar solution. Any luck in your case?

New Contributor
Posts: 3
Registered: ‎09-11-2016

Re: How to setup custom email alerts?

You can create custom trigger in CM which involves some qyery writing. alerts will be generated for this trigger. I am not so sure whether you can set time in this query. you can give it a try.

 

Thanks

Debi

Posts: 1,000
Topics: 1
Kudos: 249
Solutions: 126
Registered: ‎04-22-2014

Re: How to setup custom email alerts?

Alerts only come from alertable events that transition state from non-alertable to alertable.   Cloudera Manager does not provide any means by which to schedule regular reports.

 

In order to pull metrics to for use in other tools that may be able to do the sort of metrics emails you want, you could look into leveraging the Cloudera Manager API:

http://www.cloudera.com/documentation/enterprise/latest/topics/cm_dg_chart_time_series_data.html#con...

 

Here is a list of metrics for the services:

https://www.cloudera.com/documentation/enterprise/latest/topics/cm_metrics.html

 

Depending on your needs, you may also be able to leverage hadoop metrics2 that can be used in Ganglia and other tools:

 

https://www.cloudera.com/documentation/enterprise/latest/topics/cm_mc_metrics_ganglia.html

Announcements