From 64e9e35076fa934145bcddaa15e285f084678969 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Thu, 30 Mar 2023 16:30:57 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'README.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index ca86744..afd2fad 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,17 @@ -Nagios plugin to check cluster synchronization process -====================================================== +# Nagios plugin to check cluster synchronization process + +## Installation + +```bash +git clone https://gitea.zionetrix.net/bn8/check_sync_cluster.git /usr/local/src/check_sync_cluster +mkdir -p /usr/local/lib/nagios/plugins +ln -s /usr/local/src/check_sync_cluster/check_sync_cluster /usr/local/lib/nagios/plugins/ +echo "command[check_sync_cluster]=/usr/local/lib/nagios/plugins/check_sync_cluster" > /etc/nagios/nrpe.d/sync-cluster.cfg +service nagios-nrpe-server reload +``` + +## Usage -Usage ------ ``` Usage : ./check_sync_cluster [-f files_path_format] [-wcWC] @@ -14,13 +23,11 @@ Usage : ./check_sync_cluster [-f files_path_format] [-wcWC] -C [minutes] Specify CRITICAL time in minutes for PID file (default : 10) ``` -Copyright ---------- +## Copyright -Copyright (c) 2018 Benjamin Renard +Copyright (c) 2018-2023 Benjamin Renard -License -------- +## License This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3