mirror of git://bitreich.org/reed-alert
Fix examples using new launch system
This commit is contained in:
parent
39af88e2f0
commit
ae4e9ea4a3
|
@ -1,5 +1,3 @@
|
|||
(load "functions.lisp")
|
||||
|
||||
(alert dont-use-it "REMINDER %state% %function% %params% %date% %hostname% %desc% %level% %os% %newline% _ %space% %result%")
|
||||
(alert empty "")
|
||||
(alert mail "")
|
||||
|
@ -71,4 +69,3 @@
|
|||
(=> empty check-http-pattern :url "http://127.0.0.1/" :pattern "HTML")
|
||||
(=> empty check-http-pattern :url "http://google.fr/" :pattern "hello") ;; error
|
||||
|
||||
(quit)
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
(load "functions.lisp")
|
||||
|
||||
(alert mail "echo -n '[%state%] Problem with %function% %date% %params%' | mail -s '[%state%] alarm' mail@isp.net")
|
||||
(alert sms "/home/user/sms.sh '%date% %state% %function% %params% %hostname%")
|
||||
(alert available-variables "REMINDER : %function% %params% %date% %hostname% %desc% %level% %os% %newline% %result% %state%")
|
||||
|
|
Loading…
Reference in New Issue