fix(package): rename to xo-server-transport-nagios

This commit is contained in:
Julien Fontanet 2016-12-20 11:49:57 +01:00
parent 12de0ca463
commit 74f060b309
2 changed files with 9 additions and 9 deletions

View File

@ -1,13 +1,13 @@
# xo-server-nagios [![Build Status](https://travis-ci.org/vatesfr/xo-server-nagios.png?branch=master)](https://travis-ci.org/vatesfr/xo-server-nagios) # xo-server-transport-nagios [![Build Status](https://travis-ci.org/vatesfr/xo-server-transport-nagios.png?branch=master)](https://travis-ci.org/vatesfr/xo-server-transport-nagios)
> ${pkg.description} > ${pkg.description}
## Install ## Install
Installation of the [npm package](https://npmjs.org/package/xo-server-nagios): Installation of the [npm package](https://npmjs.org/package/xo-server-transport-nagios):
``` ```
> npm install --global xo-server-nagios > npm install --global xo-server-transport-nagios
``` ```
## Usage ## Usage
@ -19,7 +19,7 @@ the web interface, see [the plugin documentation](https://xen-orchestra.com/docs
### `Xo#sendPassiveCheck( { status, message }) ` ### `Xo#sendPassiveCheck( { status, message }) `
This xo method is called to send a passive check to nagios and change the status of a service. This xo method is called to send a passive check to nagios and change the status of a service.
It has two parameters: It has two parameters:
- status: it's the service status in Nagios (0: OK | 1: WARNING | 2: CRITICAL). - status: it's the service status in Nagios (0: OK | 1: WARNING | 2: CRITICAL).
- message: it's the status information in Nagios. - message: it's the status information in Nagios.
@ -48,7 +48,7 @@ the code.
You may: You may:
- report any [issue](https://github.com/vatesfr/xo-server-nagios/issues) - report any [issue](https://github.com/vatesfr/xo-server-transport-nagios/issues)
you've encountered; you've encountered;
- fork and create a pull request. - fork and create a pull request.

View File

@ -1,5 +1,5 @@
{ {
"name": "xo-server-nagios", "name": "xo-server-transport-nagios",
"version": "0.1.0", "version": "0.1.0",
"license": "ISC", "license": "ISC",
"description": "", "description": "",
@ -11,11 +11,11 @@
"xen-orchestra", "xen-orchestra",
"xo-server" "xo-server"
], ],
"homepage": "https://github.com/vatesfr/xo-server-nagios", "homepage": "https://github.com/vatesfr/xo-server-transport-nagios",
"bugs": "https://github.com/vatesfr/xo-server-nagios/issues", "bugs": "https://github.com/vatesfr/xo-server-transport-nagios/issues",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/vatesfr/xo-server-nagios.git" "url": "https://github.com/vatesfr/xo-server-transport-nagios.git"
}, },
"author": { "author": {
"name": "Badr Azizbi", "name": "Badr Azizbi",