From ffd634334475ea2a94f1404e2cef6a3e2ccd1114 Mon Sep 17 00:00:00 2001 From: Alexey Plekhanov Date: Fri, 6 Jan 2017 22:56:09 +0100 Subject: [PATCH] Add readme, styleci and license --- .styleci.yml | 4 ++++ LICENSE | 21 +++++++++++++++++++++ README.md | 21 +++++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 .styleci.yml create mode 100644 LICENSE create mode 100644 README.md diff --git a/.styleci.yml b/.styleci.yml new file mode 100644 index 0000000..ab29500 --- /dev/null +++ b/.styleci.yml @@ -0,0 +1,4 @@ +preset: psr-2 + +enabled: + - length_ordered_imports \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..bf15de1 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2017 Alexey Plekhanov + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..0447451 --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# Munin plugin for Beanstalkd + +This plugin lets you get munin graphs with all Beanstalkd jobs counts. + +## Contents + +- [Usage](#usage) + +## Usage + +Go to the [latest release page](https://github.com/alexsoft/munin-beanstalk/releases/latest), download phar-archive of into munin plugins directory. + +For example (phar file URL might be different): + +```sh + wget https://github.com/alexsoft/munin-beanstalk/releases/download/v0.0.1/munin-beanstalk.phar + chmod a+x munin-beanstalk.phar + sudo mv munin-beanstalk.phar /etc/munin/plugins/beanstalk +``` + +Then restart `munin-node` service and in 5 minutes you will get first counts.