A simple wrapper to make implementing Nagios/Icinga checks in Python simple
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
LEdoian 570f3d0426 Be REUSE compliant
https://reuse.software
2 years ago
LICENSES Be REUSE compliant 2 years ago
.editorconfig Be REUSE compliant 2 years ago
.gitignore Be REUSE compliant 2 years ago
README.md Be REUSE compliant 2 years ago
TODO Be REUSE compliant 2 years ago
checklib.py Be REUSE compliant 2 years ago
example.py Be REUSE compliant 2 years ago
test.py Be REUSE compliant 2 years ago

README.md

CheckLib: A simple wrapper to make implementing Nagios/Icinga checks in Python simple

TODO: Write a reasonable Readme :-)

Documentation

Probably only as a part of source code. Currently it is short and aimed at Python developers anyway.

The primary target are plugins for Icinga 2.

The plugin API is documented at monitoring-plugins.org and in Icinga 2 documentation.

Project goals (and non-goals)

The aim is to make writing simple Python checks really easy, and also to be lightweight. Therefore, only basic and common features will likely be implemented. (And last but not least, it mainly depends on my time :-))

If you need a fully-featured library, feel free to use Nagiosplugin.

I would like to keep this as a pure vanilla Python code. It lowers the barrier to code inspection and contribution and does not add dependencies, so that this can be used in very limited environments.

The exact scope is currently not rigorously defined, feel free to contact me if you are not sure.

Bugs, feedback, ideas, patches, contact &c.

Please send anything you have on your mind to checklib@pokemon.ledoian.cz.

I currently want to know if anyone else has tried to use the code :-)

For patches you can use git send-email. For more info, see git-send-email.io (or put "git send-email" into your favourite search engine).

(Emails sent there are currently not public, because I'm lazy. If anyone would like that, let me know, I might find a bit of time to set something up.)

Licence

See the respective SPDX comments. Most of the code is WTFPL, with uncopyrightable config files being under CC0. (Currently the code is just dumb implementation of the plugin spec, so there is little creative value.)

I might decide to change the licence later. Also, if any contributor comes by, they can steer the direction. I want to keep this as Free Software, though (wrote I when this project was marked as private :-)).