Adding some test - reed-alert - Lightweight agentless alerting system for server HTML git clone git://bitreich.org/reed-alert/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/reed-alert/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit a98fb0c772193a5b2bda84c49dbf51d140c6b89e DIR parent 121e59664b4e2a1852fd95abbac82689d3f7d7b6 HTML Author: Solene Rapenne <solene@perso.pw> Date: Tue, 15 Jan 2019 17:20:42 +0100 Adding some test Diffstat: A test/test.lisp | 8 ++++++++ 1 file changed, 8 insertions(+), 0 deletions(-) --- DIR diff --git a/test/test.lisp b/test/test.lisp @@ -0,0 +1,8 @@ +(setf *tries* 2) +(setf *reminder* 1) + +(alert notification "env DISPLAY=:0.0 notify-send -u critical '%state% %function%' '%params% %result%'") + +;; check for /tmp/ disk usage +;; create a big file to increase size +(=> notification disk-usage :path "/tmp" :limit 5 :reminder 2)