fix(package): rename to xo-server-transport-nagios
This commit is contained in:
parent
12de0ca463
commit
74f060b309
@ -1,13 +1,13 @@
|
||||
# xo-server-nagios [](https://travis-ci.org/vatesfr/xo-server-nagios)
|
||||
# xo-server-transport-nagios [](https://travis-ci.org/vatesfr/xo-server-transport-nagios)
|
||||
|
||||
> ${pkg.description}
|
||||
|
||||
## 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
|
||||
@ -19,7 +19,7 @@ the web interface, see [the plugin documentation](https://xen-orchestra.com/docs
|
||||
|
||||
### `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:
|
||||
- status: it's the service status in Nagios (0: OK | 1: WARNING | 2: CRITICAL).
|
||||
- message: it's the status information in Nagios.
|
||||
@ -48,7 +48,7 @@ the code.
|
||||
|
||||
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;
|
||||
- fork and create a pull request.
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "xo-server-nagios",
|
||||
"name": "xo-server-transport-nagios",
|
||||
"version": "0.1.0",
|
||||
"license": "ISC",
|
||||
"description": "",
|
||||
@ -11,11 +11,11 @@
|
||||
"xen-orchestra",
|
||||
"xo-server"
|
||||
],
|
||||
"homepage": "https://github.com/vatesfr/xo-server-nagios",
|
||||
"bugs": "https://github.com/vatesfr/xo-server-nagios/issues",
|
||||
"homepage": "https://github.com/vatesfr/xo-server-transport-nagios",
|
||||
"bugs": "https://github.com/vatesfr/xo-server-transport-nagios/issues",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/vatesfr/xo-server-nagios.git"
|
||||
"url": "https://github.com/vatesfr/xo-server-transport-nagios.git"
|
||||
},
|
||||
"author": {
|
||||
"name": "Badr Azizbi",
|
||||
|
Loading…
Reference in New Issue
Block a user