0.1.0 • Published 7 years ago

xo-server-transport-nagios v0.1.0

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

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