Files
xen-orchestra/packages/xo-server-transport-nagios
2018-08-31 14:30:59 +02:00
..
2018-08-19 16:46:34 +02:00
2016-10-28 11:48:06 +02:00

xo-server-transport-nagios Build Status

${pkg.description}

Install

Installation of the npm package:

> npm install --global xo-server-transport-nagios

Usage

Like all other xo-server plugins, it can be configured directly via the web interface, see the plugin documentation.

Development

### Xo#sendPassiveCheck( { status, message })

This xo method is called to send a passive check to nagios and change the status of a service. It has two parameters:

  • status: it's the service status in Nagios (0: OK | 1: WARNING | 2: CRITICAL).
  • message: it's the status information in Nagios.
# Install dependencies
> npm install

# Run the tests
> npm test

# Continuously compile
> npm run dev

# Continuously run the tests
> npm run dev-test

# Build for production (automatically called by npm install)
> npm run build

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

AGPL3 © Vates SAS