An open API service indexing awesome lists of open source software.

https://github.com/furiel/riemann-reporter

Framework to ease sending reports to riemann. Works well with monitoring-tools.
https://github.com/furiel/riemann-reporter

hy lisp python riemann

Last synced: 7 months ago
JSON representation

Framework to ease sending reports to riemann. Works well with monitoring-tools.

Awesome Lists containing this project

README

          

* riemann-reporter

This script can be used to periodically send status report about various services to Riemann. Note: monitoring-plugins contains quite a few scripts that can be used with riemann-reporter.

** Setup
#+BEGIN_SRC bash
python3 -m pip install virtualenv
virtualenv .
source bin/activate
python3 -m pip install -r requirements.txt
#+END_SRC

** Example
#+BEGIN_SRC bash
$ bin/hy riemann-reporter.hy localhost 5555 --config config.conf
#+END_SRC

The configuration file format is a csv file. The format is: service name, executable, arg1, arg2, ...

For example
#+BEGIN_EXAMPLE
- name: ssh1
executable: /usr/lib/monitoring-plugins/check_ssh
args:
- "-H"
- "host2"
- "-p"
- "22"

- name: ssh2
executable: /usr/lib/monitoring-plugins/check_ssh
args:
- "-H"
- "host2"
- "-p"
- "22"
#+END_EXAMPLE