2017-01-25 05:24:55 -05:00
|
|
|
<a id="Installation"></a>Installation
|
|
|
|
|
=====================================
|
2017-01-24 19:04:06 -05:00
|
|
|
|
|
|
|
|
Requirements
|
|
|
|
|
------------
|
|
|
|
|
|
2021-12-15 10:00:49 -05:00
|
|
|
* Icinga Web 2 (>= 2.9)
|
2022-03-15 05:50:33 -04:00
|
|
|
* PHP (>= 7.0)
|
2021-12-17 07:40:58 -05:00
|
|
|
* Icinga Web 2 libraries:
|
|
|
|
|
* [Icinga PHP Library (ipl)](https://github.com/Icinga/icinga-php-library) (>= 0.8)
|
|
|
|
|
* [Icinga PHP Thirdparty](https://github.com/Icinga/icinga-php-thirdparty) (>= 0.11)
|
2019-02-06 03:29:12 -05:00
|
|
|
* Icinga Web 2 modules:
|
2022-02-15 04:30:52 -05:00
|
|
|
* The `monitoring` or `icingadb` module needs to be configured and enabled.
|
2017-01-26 05:41:31 -05:00
|
|
|
|
2017-01-24 19:04:06 -05:00
|
|
|
Installation from .tar.gz
|
|
|
|
|
-------------------------
|
|
|
|
|
|
|
|
|
|
Download the latest version and extract it to a folder named `businessprocess`
|
|
|
|
|
in one of your Icinga Web 2 module path directories.
|
|
|
|
|
|
|
|
|
|
You might want to use a script as follows for this task:
|
|
|
|
|
```sh
|
|
|
|
|
ICINGAWEB_MODULEPATH="/usr/share/icingaweb2/modules"
|
|
|
|
|
REPO_URL="https://github.com/Icinga/icingaweb2-module-businessprocess"
|
|
|
|
|
TARGET_DIR="${ICINGAWEB_MODULEPATH}/businessprocess"
|
2019-03-01 06:43:35 -05:00
|
|
|
MODULE_VERSION="2.2.0"
|
2017-01-24 19:04:06 -05:00
|
|
|
URL="${REPO_URL}/archive/v${MODULE_VERSION}.tar.gz"
|
|
|
|
|
install -d -m 0755 "${TARGET_DIR}"
|
|
|
|
|
wget -q -O - "$URL" | tar xfz - -C "${TARGET_DIR}" --strip-components 1
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Installation from GIT repository
|
|
|
|
|
--------------------------------
|
|
|
|
|
|
|
|
|
|
Another convenient method is the installation directly from our GIT repository.
|
|
|
|
|
Just clone the repository to one of your Icinga Web 2 module path directories.
|
|
|
|
|
It will be immediately ready for use:
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
ICINGAWEB_MODULEPATH="/usr/share/icingaweb2/modules"
|
|
|
|
|
REPO_URL="https://github.com/Icinga/icingaweb2-module-businessprocess"
|
|
|
|
|
TARGET_DIR="${ICINGAWEB_MODULEPATH}/businessprocess"
|
|
|
|
|
git clone "${REPO_URL}" "${TARGET_DIR}"
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
You can now directly use our current GIT master or check out a specific version.
|
|
|
|
|
|
|
|
|
|
Enable the newly installed module
|
|
|
|
|
---------------------------------
|
|
|
|
|
|
|
|
|
|
Enable the `businessprocess` module either on the CLI by running
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
icingacli module enable businessprocess
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Or go to your Icinga Web 2 frontend, choose `Configuration` -> `Modules`...
|
|
|
|
|
|
2020-05-11 08:26:36 -04:00
|
|
|

|
2017-01-24 19:04:06 -05:00
|
|
|
|
|
|
|
|
...choose the `businessprocess` module and `enable` it:
|
|
|
|
|
|
2020-05-11 08:26:36 -04:00
|
|
|

|
2017-01-24 19:04:06 -05:00
|
|
|
|
|
|
|
|
It might afterwards be necessary to refresh your web browser to be sure that
|
|
|
|
|
newly provided styling is loaded.
|
|
|
|
|
|
|
|
|
|
Create your first Business Process definition
|
|
|
|
|
---------------------------------------------
|
|
|
|
|
|
2020-05-11 08:26:36 -04:00
|
|
|
That's it, *Business Process* is now ready for use. Please read more on [how to get started](03-Getting-Started.md).
|