« Previous 1 2 3
Proactive Monitoring
Good for You!
Frugal
Riemann takes an interesting approach, but definitely has its weaknesses. The configuration Clojure syntax is likely the biggest obstacle; if you are not familiar with it, you will need to allow for a longer training period. Thanks to the documentation on the project site and the examples, this task can be mastered.
Another issue is certainly the client design – one process per metric is not very smart; in fact, it can even distort the acquired values depending on the scope of the setup. Therefore, a setup that bundles Riemann with a statistics daemon like Collectd [18], which collects the metrics and then sends them to Riemann, makes sense.
High availability (e.g., synchronization between multiple nodes, failover, or load balancing) is not addressed. If you do not want to follow the example here, with multiple servers that report to a central instance, you can follow the developer's recommendation. In the how-to, they suggest using two servers with a floating IP. The evaluation is then based on events that are sent to one of the two servers depending on the floating IP status.
One genuine benefit is that Riemann outsources threshold values to the clients to handle, which simplifies the deployment of new systems – and not just in large organizations. For the notification problem during a nightly backup, mentioned in the first paragraph of this article, the backup software could report to Riemann via its internal metrics and temporarily adapt thresholds to the changed situation.
Infos
- Riemann: http://riemann.io
- How Riemann works: http://riemann.io/concepts.html
- Bug report for the initscript on Cent OS 7: https://github.com/riemann/riemann/issues/453
- Riemann data types: https://groups.google.com/forum/#!searchin/riemann-users/metric_f/riemann-users/hd5pC7rWrUE/c70QVrnA5esJ
- Clojure: http://clojure.org
- "Clojure" by Jan Stepien, Linux Pro Magazine , issue 163, pg. 26, http://www.linuxpromagazine.com/Issues/2014/163/Clojure
- Introduction to Clojure: https://purelyfunctional.tv/courses/intro-to-clojure/
- Securing Riemann with TLS: http://riemann.io/howto.html#securing-traffic-using-tls
- Postal: https://github.com/drewr/postal
- Riemann API: http://riemann.io/api
- How to: http://riemann.io/howto.html
- Clojure namespaces: http://www.braveclojure.com/organization
- Clients: http://riemann.io/clients.html
- Riemann on OS X: http://macappstore.org/riemann
- Configuration file for the dash: https://github.com/riemann/riemann-dash/blob/master/example/config.rb
- Graphite: https://graphiteapp.org
- "How to Install and Use Graphite" by Konstantin Ivanov: http://www.linux-admins.net/2012/02/how-to-install-and-use-graphite.html
- Collectd: https://collectd.org
« Previous 1 2 3
Buy this article as PDF
(incl. VAT)