icinga2-checks/README.md

829 B

icinga2-checks

My custom Icinga2 checks.

Useful: https://nagios-plugins.org/doc/guidelines.html#AEN200 https://icinga.com/docs/icinga-2/latest/doc/05-service-monitoring/#performance-data-metrics

requirements-everybody.txt: pip requirements for all Python 3 versions and Linux and BSD hosts. Should be easy to install on all hosts.

requirements-difficult.txt: pip requirements that are easy to install on normal Debian hosts but complicated when there are wheels available.

These scripts have varying levels of code quality.

Fix dbus Issues

ln -s /usr/lib/python3/dist-packages/_dbus_* ./venv/lib/python3.*/site-packages
ln -s /usr/lib/python3/dist-packages/dbus ./venv/lib/python3.*/site-packages

Import dbus

sys.path.insert(0, "/usr/lib/python3/dist-packages")
import dbus