Either I don't understand or the agent is calculating incorrectly.

"/" volume => min_free_space("250M");

ettin:~/inputs# cf-agent -b monitoring -f ./promises.cf
  !! Disk space under 262144000 kB for volume containing / (5171748 kB
  free)
  I: Made in version 'not specified' of './policies.cf' near line 82

  ettin:~/inputs# df -k /
  Filesystem           1K-blocks      Used Available Use% Mounted on
  /dev/mapper/vg-root   10321208   4625188   5171732  48% /

This is community 3.0.4.

-- 
Neil Watson
Linux/UNIX Consultant
http://watson-wilson.ca
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to