Skip to main content

The simplest tool for lightweight monitoring over SSH, compatible with all your favorite messengers.

Project description

🔥 Fikkie

The easiest tool for lightweight monitoring over SSH, compatible with all your favorite messengers!

CI/CD Coverage Status PyPI license PyPi version Downloads Docker pulls Code style: black Python versions Checked with mypy

Quick links

Introduction

Why use fikkie?

  • Fikkie is easy to set up
  • Fikkie is lightweight
  • Fikkie is flexible and could be used to monitor any service
  • Fikkie notifies you using your favorite messaging service (e.g. e-mail, Discord or Telegram)

You just need one single YAML file to configure fikkie, so 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 and initialize fikkie:

pip install fikkie
fikkie init

Or use Docker!

docker run \
  --mount type=bind,source=${PWD}/config.yaml,target=/root/.fikkie/config.yaml \
  nootr/fikkie

Config example

The fikkie configuration file is placed at ~/.fikkie/config.yaml by default and could look something like this:

servers:
  primary.foo.com:
    - description: 'MariaDB status'
      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'

notifiers:
  - type: telegram
    token: '1234:abcd'
    chat_id: 1234

Contributing

Contributions to fikkie are more than welcome! :heart:

Please visit the contribution guidelines for more info. Also, the Developer's guide might be useful if you want to contribute code.

Project details


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.5.4.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

fikkie-0.5.4-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file fikkie-0.5.4.tar.gz.

File metadata

  • Download URL: fikkie-0.5.4.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for fikkie-0.5.4.tar.gz
Algorithm Hash digest
SHA256 80ba260256eceaf88a72d9b65da9a5dfc097a268c39f44232cf75607e5f872e4
MD5 c5a7d7c018072b388db5043e0fb3683c
BLAKE2b-256 92d34870bf3ec402ac5817fc7531e969c95d7ac5dd8ef73f95a77c7c2d61c43d

See more details on using hashes here.

File details

Details for the file fikkie-0.5.4-py3-none-any.whl.

File metadata

  • Download URL: fikkie-0.5.4-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for fikkie-0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 604e03c2261d3be687f6ecaebd8fe94afe29c5c64755396c57dc9ecc17615634
MD5 17cac814e6eb5f80513440b3ac39ee06
BLAKE2b-256 45515316eb5aff852f752b728b7a75692e8bca40c29474e25c0ac1462848157e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page