This is Naglite3 rewrite for Icinga2 using Icinga2 API.
Python3.6+, Icinga2API, Flask, humanize.
Create icinga2-api.ini
from provided example.
To silence warning on certificates, provide CA certificate
to INI file. The certificate can be found on Icinga2 host
at /var/lib/icinga2/ca/ca.crt
.
FLASK_APP=main FLASK_DEBUG=1 pipenv run flask run
Use gunicorn
to start WSGI object main:app
APACHE 2