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.
Can you improve this documentation? These fine people already did:
Baishampayan Ghose, Vineet Naik, Cartmanishere & Pradeep JindalEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close