Added riemann module + conf
Change-Id: I79a64703f18ac444be974659d1fd9a2633ac1b11
This commit is contained in:
parent
566f60e597
commit
ecb509ff93
tools/test_env
@ -17,6 +17,7 @@ RUN shinken install webui
|
||||
RUN shinken install auth-cfg-password
|
||||
RUN pip install influxdb && shinken install mod-influxdb
|
||||
RUN shinken install ws-arbiter
|
||||
RUN pip install riemann-client && shinken install mod-riemann
|
||||
|
||||
## plugins
|
||||
RUN apt-get install -y nagios-plugins
|
||||
|
@ -14,12 +14,8 @@
|
||||
(periodically-expire 5)
|
||||
|
||||
(let [index (index)]
|
||||
; Inbound events will be passed to these streams:
|
||||
(streams
|
||||
(default :ttl 60
|
||||
; Index all events immediately.
|
||||
index
|
||||
|
||||
; Log expired events.
|
||||
(expired
|
||||
(fn [event] (info "expired" event))))))
|
||||
(streams
|
||||
(expired #(prn "Expired" %))
|
||||
(where (not (service #"^riemann "))
|
||||
index
|
||||
#(info "received event" %))))
|
||||
|
@ -37,7 +37,7 @@ define broker {
|
||||
# - graphite = Use a Graphite time series DB for perfdata
|
||||
# - webui = Shinken Web interface
|
||||
# - glpidb = Save data in GLPI MySQL database
|
||||
modules WebUI,mod-influxdb
|
||||
modules WebUI,mod-influxdb,mod-riemann
|
||||
|
||||
# Enable https or not
|
||||
use_ssl 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user