02-08-2016 12:11 PM
Is there a way to configure Cloudera manager to send out aggregated statisitc reports ,like weekly or monthly usage reports to email recipients? Basically looking a way to send out monthly hdfs disk space usage, CPU usage and other stats to hadoop admins.
02-08-2016 12:52 PM
Cloudera Manager does not have a reports emailing feature at this time. A couple options you might consider:
Retrieve reports via the API
Use curl or some other tool to dowwnload the report CSV/XLS. For instance:
The report info could then be assembled into the desired format and sent by a custom script/app
07-10-2017 07:07 AM
I have the very same problem.
At the end, were you able to solve this in any way?
I tried both suggestions mentioned by @bgooley but with no success until now.
In the first case (API call) I get a HTTP 403 error code (forbidden).
In the second case (wget) it seems not working unless managing properly the session (i.e. If I logged into the CM console, and later I download the CSV url, then it's working. When trying to do it programmatically, no way...)
08-28-2018 05:04 PM
Did you try this?
Fetch the HDFS usage report:
It worls for me:
You notice I use for ClusterName the chars %20 that represents a blank (my ClusterName is "Production US"), so I mahe the URL understand that is a blank