xen-orchestra/packages/xo-server-transport-icinga2/.USAGE.md
Julien Fontanet 471fbef6ef chore: hide USAGE.md
This highlight the fact that it's not designed for direct consumption and it no longer needs a special handling in `npmignore`.
2022-02-18 17:11:52 +01:00

480 B

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.