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.
python3 -m pip install virtualenv
virtualenv .
source bin/activate
python3 -m pip install -r requirements.txt
$ bin/hy riemann-reporter.hy localhost 5555 --config config.conf
The configuration file format is a csv file. The format is: service name, executable, arg1, arg2, …
For 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"