A web application for managing automated Host object configuration that integrates with Icinga2 through a shared host management database.
python3.7 -m venv ihmvenv
source ihmvenv/bin/activate
LDFLAGS=-L/usr/local/opt/openssl/lib pip install -r requirements.txt
cp six.py <yourvenv>/lib/pythonX.Y/site-packages/django/utils/six.py
Create a config.py file in this directory (same as manage.py) that contains the following variables that point to
DBNAME=xxx
DBHOST=xxx
DBPASSWORD=xxx
DBUSER=xxx
DBPORT=xxx
If you want to add custom fields or edit the name/required/description of existing fields, you can find them in fields.json
[api]
ICINGA_MASTER_URL = http[s]://youricingaurl[:optionalport]
ICINGA_API_USER = "<apiuser> # Configured in the /etc/icinga2/api-users.conf file on your Icinga server(s)
ICINGA_API_PASSWORD = "<apipassword>" # Same location as above
python manage.py compress