From 74f060b309947e0e6a69390ed1552a573412ec51 Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Tue, 20 Dec 2016 11:49:57 +0100 Subject: [PATCH] fix(package): rename to xo-server-transport-nagios --- packages/xo-server-transport-nagios/README.md | 10 +++++----- packages/xo-server-transport-nagios/package.json | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/xo-server-transport-nagios/README.md b/packages/xo-server-transport-nagios/README.md index 6ed9cf200..15f7d21e1 100644 --- a/packages/xo-server-transport-nagios/README.md +++ b/packages/xo-server-transport-nagios/README.md @@ -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} ## 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. diff --git a/packages/xo-server-transport-nagios/package.json b/packages/xo-server-transport-nagios/package.json index 8678660f6..af76326e5 100644 --- a/packages/xo-server-transport-nagios/package.json +++ b/packages/xo-server-transport-nagios/package.json @@ -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",