Added riemann module + conf

Change-Id: I79a64703f18ac444be974659d1fd9a2633ac1b11
This commit is contained in:
aviau 2014-08-11 15:41:12 -04:00 committed by Alexandre Viau
parent 566f60e597
commit ecb509ff93
3 changed files with 7 additions and 10 deletions
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