Icinga2 configuration file generator for hosts, commands, checks, ... in python
Project description
Icinga2 configuration generator
Icinga2 configuration file generator for hosts, commands, checks, ... in python
Copyright (c) 2020 Fabian Fröhlich mail@icinga2.confgen.org https://icinga2.confgen.org
Full License Information see LICENSE file in root directory of this source code and License section of this File.
Donate
This project needs donations. Please check out https://icinga2.confgen.org/Donate for details.
Quick setup
See our documentation for details.
Prerequisite
- install check plugins, that you need e.g. https://github.com/f-froehlich/monitoring-plugins, https://www.monitoring-plugins.org or https://github.com/harisekhon/nagios-plugins
- install icinga2
- install icingaweb2
Required
- install python 3.7 (other versions may also work)
- install python3-pip
pip3 install icinga2confgen
Optional
If you want to use our monitoring plugins, it is recommended to create a group on all your server and grant the permission to it. See our documentation for details.
- create group
monitorpermissions
and add usericinga2
to the group (usermod -aG monitorpermissions icinga2
). Note that the username, who runs icinga2 daemon, may be different.
Install our Plugins
Just copy or link the plugins into your plugindir
. A few plugins need other libaries as curl
or dig
. See our documentation for details.
Notice
Because there are many different check plugin libraries we sort our commands and checks into different modules. Therefore we using the parameter description of the Plugins itself, so you can lookup the documentation of the plugins on there project page.
License
This section contains the additional terms of the AGPLv3 license agreement, a copy of the AGPLv3 is included in the LICENSE file.
-
Adaptation of the README.md is prohibited. The file must also be included with each copy without any modification.
-
Adjustments of any kind must be listed in the attached CHANGELOG.md file. It is sufficient to name the change and the reason for the change here and to give appropriate references to the processing in the source code at the appropriate place.
-
All edited copies must be made available on github. You have to fork the original repository or use a fork from the original repository.
-
You have to place the following link on your Homepage in a suitable place, if you using this software not only for your own Servers, Applications, ...:
We using monitoring tools from <a href="https://icinga2.confgen.org">Fabian Fröhlich</a>
The wording is decisive here, so another language may be used. Attributes of the link may also be adjusted, but the link must be followable by web crawlers (e.g. Googlebot).
Furthermore, the imprint has to include a clear reference to the original github repository https://github.com/f-froehlich/icinga2-config-generator as well as the link mentioned above in the body text.
-
You are not allowed to earn money with this tool.
-
The usage of legacy files are only allowed for migration purposes and configurations for your own closed-source applications, as long as there is no interest from third parties for the configuration or underlining checks. If the check itself is open-source or there is an interest of third parties, then you have to publish the check command and check configuration file as python code in this repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file icinga2confgen-0.0.8.post2-py3-none-any.whl
.
File metadata
- Download URL: icinga2confgen-0.0.8.post2-py3-none-any.whl
- Upload date:
- Size: 509.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89321fa585c3bc1da1f9f16cc5e75960d1076c8f8869ae997814af828b1ab8ca |
|
MD5 | 5796cede2bdf9fd68857017bc0ea2836 |
|
BLAKE2b-256 | 3973f6341e996ec139f9a048bf4dd20747cf91d6fec9550e320225f5cac5b685 |