URI: 
       Fix description to desc variable in alerts - 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 c3f594da02f5b2a394be84fc115677d22cf75fbf
   DIR parent 16929b695dcc87ef30b7a86a225c9d06cd332335
  HTML Author: solene rapenne <solene@dataswamp.org>
       Date:   Mon, 10 Oct 2016 20:35:24 +0200
       
       Fix description to desc variable in alerts
       
       Diffstat:
         M config.lisp.sample                  |       2 +-
         M example.lisp                        |       6 +++---
       
       2 files changed, 4 insertions(+), 4 deletions(-)
       ---
   DIR diff --git a/config.lisp.sample b/config.lisp.sample
       @@ -1,6 +1,6 @@
        (defvar *alerts*
          (list
       -   '(dont-use-it ("REMINDER" function params date hostname description level os newline _ space result))
       +   '(dont-use-it ("REMINDER" function params date hostname desc level os newline _ space result))
           '(void nil)))
        
        (load "functions.lisp")
   DIR diff --git a/example.lisp b/example.lisp
       @@ -1,13 +1,13 @@
        (defvar *alerts*
          (list
       -   '(dont-use-it ("REMINDER" function params date hostname description level os newline _ space result))
       +   '(dont-use-it ("REMINDER" function params date hostname desc level os newline _ space result))
           '(void nil)
           '(mail nil)
           '(sms ("echo -n '" date _ function " CRITICAL " hostname "' | curl http://somewebservice"))
           '(mail ("echo -n '" date _ hostname " had problem on " function newline params _ " values " result newline
       -           description "' | mail -s '[Error] " function  " - " hostname "' foo@bar.com"))
       +           desc "' | mail -s '[Error] " function  " - " hostname "' foo@bar.com"))
           '(with-plus ("echo -n '" + date + _ + hostname + " had problem on " + function + newline + params + newline
       -                + description + "' | mail -s '[Error] " + function +  " - " + hostname + "' foo@bar.com"))))
       +                + desc + "' | mail -s '[Error] " + function +  " - " + hostname + "' foo@bar.com"))))
        
        (load "functions.lisp")