- use some virtual machine
- Download riemann
wget http://aphyr.com/riemann/riemann-0.2.4.tar.bz2
tar xvfj riemann-0.2.4.tar.bz2
cd riemann-0.2.4
- learn
clojure
:)
gem install riemann-tools --no-rdoc
gem install riemann-dash --no-rdoc
riemann-dash
in the command line will start the dashboard on the default Sinatra
port and bind to 127.0.0.1 .
To change that behaviour, in the directory you are running the command, make a config.rb
file with:
set :port, <PORT>
set :bind, "<IP>"
the config file will be used automaticly as long as it in the working directory.
- Download and extract ...
- I the created directory run
bin/riemann
The server will start on 127.0.0.1:5555
port. (netstat -nltp
for validation)
To change the address:
In the file etc/riemann.config
change the [host "<IP>"]
...
; Listen on the local interface over TCP (5555), UDP (5555), and websockets
; (5556)
(let [host "0.0.0.0"]
(tcp-server :host host)
(udp-server :host host)
(ws-server :host host))
...
riemann-health -t linux-health -h <RIEMANN_SERVER>
looks like riemann-dash not working with newer thin-2.0.0pre so you might want to downgrade it if you have issues running riemann-dash