A simple remote service watchdog.
Project description
🔥 Fikkie
A simple lightweight watchdog which monitors external services over SSH.
Quick links
Introduction
Why use fikkie?
- Fikkie is easy to set up
- Fikkie is lightweight
- Fikkie is flexible enough to be used for any service
Simply specify which commands should be run on which servers and what output is expected, and fikkie will let you know when something's wrong.
Installation
Install fikkie using pip:
pip install fikkie
Config example
The fikkie configuration file is placed at ~/.fikkie/config.yaml
by default
and could look something like this:
---
ssh:
username: fikkie
servers:
primary.foo.com:
- description: 'MariaDB'
command: 'sudo systemctl status mariadb | grep "Active: active" -c'
expected: '1'
- description: 'HTTP code foo.com'
command: 'curl -s -o /dev/null -w "%{http_code}" foo.com'
expected: '200'
notifier:
- type: telegram
token: '1234:abcd'
chat_id: 1234
Contributing
Contributions to fikkie are welcome!
- Fork this repository and create a new branch for your feature or bugfix.
- Make your changes.
- Make sure to add the necessary tests.
- Send a pull request!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fikkie-0.1.0.tar.gz
(5.9 kB
view hashes)
Built Distribution
fikkie-0.1.0-py3-none-any.whl
(7.6 kB
view hashes)