Re: How can I set the warning level?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/10/2014 08:11 AM, Karan Singh wrote:
Hello Greg

Where can we find this config option , any command for this.

Many Thanks
Karan Singh

'--mon-data-avail-warn X' and '--mon-data-avail-crit Y'. That would take the form

  mon data avail warn = X
  mon data avail crit = Y

on ceph.conf.

By default, X = 30, Y = 5. Those values are integers and are assumed as percentages.

You can inject those on live monitors, or adjust them on ceph.conf as you so desire. You may find their definitions in src/common/config_opts.h

  -Joao



----- Original Message -----
From: "Gregory Farnum" <greg@xxxxxxxxxxx>
To: vernon1987@xxxxxxx
Cc: "ceph-users" <ceph-users@xxxxxxxxxxxxxx>
Sent: Monday, 6 January, 2014 9:49:22 PM
Subject:  How can I set the warning level?

On Wed, Dec 25, 2013 at 6:13 PM, vernon1987@xxxxxxx <vernon1987@xxxxxxx> wrote:
Hello,  my Mon's always HEALTH_WARN, and I run ceph health detail, it show
me like this:

HEALTH_WARN
mon.2 addr 192.168.0.7:6789/0 has 30% avail disk space -- low disk space!

I want to know how to set this warning level? I have to made it give out the
alarm with the space remaining no more than 10%.

There's not any option to disable specific "ceph health" warnings. You
can change the threshold at which that warning occurs with the "mon
data avail [warn|crit]" config options, though (default to 30 and 5).
-Greg
Software Engineer #42 @ http://inktank.com | http://ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



--
Joao Eduardo Luis
Software Engineer | http://inktank.com | http://ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux