.. | ||
src | ||
.babelrc.js | ||
.eslintrc.js | ||
.npmignore | ||
.USAGE.md | ||
package.json | ||
README.md |
xo-server-transport-icinga2
Sends backup runs statuses to icinga2 server
Usage
Like all other xo-server plugins, it can be configured directly via the web interface, see the plugin documentation.
### Xo#sendIcinga2Status({ status, message })
This xo method is called to send a passive check to icinga2 and change the status of a service. It has two parameters:
- status: it's the service status in icinga2 (0: OK | 1: WARNING | 2: CRITICAL | 3: UNKNOWN).
- message: it's the status information in icinga2.
Contributions
Contributions are very welcomed, either on the documentation or on the code.
You may:
- report any issue you've encountered;
- fork and create a pull request.