Giter Club home page Giter Club logo

mownitoring's Introduction

Mownitoring

'My own monitoring'. Which is also a mix between 'monitoring', 'chown.me' (the domain I rent) and it kinda sounds like 'moan'.

Usage

Copy mownitoring.toml in /etc/ and configure your machines and their checks. Add the script in your crontab(1) if it suits your needs.

If you don't want to use the default path, you can call the script with your config file as an argument: /path/to/mownitoring.py /path/to/mownitoring.toml

FAQ

What are the requirements?

Python 3.6 and the following libraries: requests and toml. You also need check_nrpe (nrpe package on OpenBSD).

What is the use case?

I don't have many machines to monitor nor I want a complex monitoring system. It just runs checks and sends notification if needed. Nothing more.

How does it work?

It parses the configuration and then for each service of each host, the script calls check_nrpe to get the return code and the message. If the return code is not 0 it sends a notification and stores the return code in a sqlite database. If the return code is different than the one stored, it sends a notification. It abides by the rule: You only notify once.

What are the supported notification systems?

It also logs to syslog what is happening (but that's not really a notification system per se).

How do I 'acknowledge' an alert?

You don't. You only get a notification when the service status changes.

Can I have pretty graphs?

Nope.

mownitoring's People

Contributors

danieljakots avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

juanfra684

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.