Nagios plugin to check cluster synchronization process

Benjamin Renard 9eea772713 Initial commit 1 year ago
.gitignore 9eea772713 Initial commit 1 year ago
README.md 9eea772713 Initial commit 1 year ago
check_sync_cluster 9eea772713 Initial commit 1 year ago

README.md

Nagios plugin to check cluster synchronization process

Usage

Usage : ./check_sync_cluster [-f files_path_format] [-wcWC]
	-h			Show this help message
	-f [files path format]	Specify files path template (default : /var/run/sync_cluster)
	-w [minutes]		Specify WARNING time in minutes for status file (default : 5)
	-c [minutes]		Specify CRITICAL time in minutes for status file (default : 10)
	-W [minutes]		Specify WARNING time in minutes for PID file (default : 5)
	-C [minutes]		Specify CRITICAL time in minutes for PID file (default : 10)

Copyright

Copyright (c) 2018 Benjamin Renard

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 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.