A library to send alerts to sensu-client.
'(require [sensu-client.core :as sensu])
(sensu/send-alert :critical "host2 is down"
:host "sensu.company.com"
:port 3030
:name "host2-uptime-check"
:refresh 60
:occurrences 1
:proto :udp)
'(require [sensu-client.core :as sensu])
(sensu/send-alert-sensu-go :critical "host2 is down"
:host "sensu.company.com"
:port 3031
:name "host2-uptime-check"
:labels {:contacts "team"})
Please refer this for more details.
Copyright © 2014 Helpshift Inc.
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.