help-cfengine
[Top][All Lists]
Advanced

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

Re: requried warnings don't seem to be working


From: Mark . Burgess
Subject: Re: requried warnings don't seem to be working
Date: Tue, 24 Sep 2002 12:46:56 +0200 (MET DST)

Could somebody write a FAQ on this??

People are asking all the time.

M

On 24 Sep, Bas van der Vlies wrote:
> Allen,
> 
>  Is your /var a different filesystem then your root filesystem? If yes
>  then try:
>        /var freespace=25% force=true
> 
> The force option disable some checks that cfengine does before calculating
> the freespace.
> 
> 
> On 20 Sep 2002 11:05:01 -0600
> "Bettilyon, Allen" <allen@about-inc.com> wrote:
> 
>> Hello,
>> 
>> I'm trying to use cfengine to warn me if key local disk points fill up. 
>> I'm using the required directive, and it looks like this:
>> 
>> required:
>> 
>>    any::
>>         /       freespace=25%
>>         /var    freespace=25% 
>>         /home   freespace=25%
>> 
>> 
>> 
>> However, it doesn't seem to be doing anything.  I forcibly filled /var
>> to over 80% on one my servers, and I've never seen any warnings issued. 
>> I've also tried doing:
>> 
>>         /var    freespace=25% define=var_almost_full
>> 
>>      ....
>> 
>>      shellcommands:
>> 
>>         var_almost_full::
>>              "/bin/echo var is almost full"
>> 
>> 
>> And still, never saw the shellcommand run.
>> 
>> 
>> I am running the latest 2.0.4 release on linux.
>> 
>> - Allen
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Help-cfengine mailing list
>> Help-cfengine@gnu.org
>> http://mail.gnu.org/mailman/listinfo/help-cfengine
> 
> 
> --
> ********************************************************************
> *                                                                  *
> *  Bas van der Vlies                     e-mail: basv@sara.nl      *
> *  SARA - Academic Computing Services    phone:  +31 20 592 8012   *
> *  Kruislaan 415                         fax:    +31 20 6683167    *
> *  1098 SJ Amsterdam                                               *
> *                                                                  *
> ********************************************************************
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-cfengine



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~






reply via email to

[Prev in Thread] Current Thread [Next in Thread]