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