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.
- Host: GitHub
- URL: https://github.com/furiel/riemann-reporter
- Owner: furiel
- Created: 2018-03-03T05:20:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-09-08T13:52:42.000Z (about 3 years ago)
- Last Synced: 2025-01-21T06:28:47.305Z (9 months ago)
- Topics: hy, lisp, python, riemann
- Language: Hy
- Size: 9.77 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
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_SRCThe 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