xen-orchestra/packages/xo-server-transport-icinga2
2023-02-28 14:14:59 +01:00
..
src chore: use http-request-plus@1 2023-02-17 10:51:28 +01:00
.babelrc.js chore: enforce strict mode for CJS files 2022-02-22 12:34:41 +01:00
.eslintrc.js chore(eslint): only use @babel/eslint-parser for pkgs using Babel 2021-04-23 14:47:34 +02:00
.npmignore feat: unified .npmignore for all packages 2021-04-07 13:58:14 +02:00
.USAGE.md chore: hide USAGE.md 2022-02-18 17:11:52 +01:00
package.json feat(xo-server-transport-icinga2): 0.1.2 2023-02-28 14:14:59 +01:00
README.md feat(*/README.md): better badges 2020-06-01 14:41:52 +02:00

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.

License

AGPL-3.0-or-later © Vates SAS