There is currently no way to change the directories which are checked by this 
alert. The alert is mostly concerned with the free space where stack components 
are installed (either /usr/hdp or /usr/lib).

You can easily create another alert script to check a different directory if 
desired.

On Oct 12, 2015, at 4:16 AM, Vijaya Narayana Reddy Bhoomi Reddy 
<vijaya.bhoomire...@whishworks.com<mailto:vijaya.bhoomire...@whishworks.com>> 
wrote:

Hi,

Good Morning!!

I am as well facing same issue where Ambari alerts with the disk usage alert. 
However, I would want to understand on the process much before the alerting 
process i.e. the allocation of disk space itself. Suppose I had 2 volumes 
mounted /dev/sda1 which is 50GB and /dev/sda2 which is 1TB.

Now when I install HDP with these two volumes, HDFS space is correctly 
allocated i.e. /dev/sda2 is given for HDFS. However, I believe /dev/sda1 is 
used by Ambari for its internal storage. As in my case /dev/sda1 has other data 
as well, including OS, it is obviously less in disk space.

Can anyone please let me know how to configure Ambari to use disk space of my 
choice rather than auto selecting the smaller partition?

Thanks & Regards
Vijay

On 9 Oct 2015, at 12:44, Jeffrey Sposetti 
<j...@hortonworks.com<mailto:j...@hortonworks.com>> wrote:

The Ambari Agent Disk Usage Alert is a SCRIPT type alert.

https://github.com/apache/ambari/blob/branch-2.1/ambari-server/src/main/resources/alerts.json#L31-L70

It's thresholds are not configurable in the Ambari Web UI you can modify via 
the API.


________________________________
From: Shaik M <munna.had...@gmail.com<mailto:munna.had...@gmail.com>>
Sent: Thursday, October 08, 2015 11:41 PM
To: user@ambari.apache.org<mailto:user@ambari.apache.org>
Subject: Change Ambari Agent Disk Usage alert Threshold Limit

Hi,

I am looking for change the Ambari Agent Disk Usage alert Threshold Limit. But, 
I couldn't find that kind of option.

I saw only description and time interval.

Please let us know how to change the  Ambari Agent Disk Usage alert Threshold 
Limit as per our need.

Thanks,
Shaik


The contents of this e-mail are confidential and for the exclusive use of the 
intended recipient. If you receive this e-mail in error please delete it from 
your system immediately and notify us either by e-mail or telephone. You should 
not copy, forward or otherwise disclose the content of the e-mail. The views 
expressed in this communication may not necessarily be the view held by 
WHISHWORKS.

Reply via email to