Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_git_branch_checkout.pl (Advanced Nagios Plugins Collection)
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios XI
29343
Part of the Advanced Nagios Plugins Collection, download it here:
https://github.com/harisekhon/nagios-plugins
./check_git_branch_checkout.pl --help
Nagios Plugin to check a Git working copy is in the right branch.
Primarily written for puppetmasters to make sure prod and staging
environment dirs had the right branches checked out in them
usage: check_git_branch_checkout.pl [ options ]
-d --directory Directory path to git working copy
-b --branch Branch to expect working copy checkout to be
--git-binary Path to git binary. Defaults to 'git'
-h --help Print description and usage options
-t --timeout Timeout in secs (default: 10)
-v --verbose Verbose mode
-V --version Print version and exit
https://github.com/harisekhon/nagios-plugins
./check_git_branch_checkout.pl --help
Nagios Plugin to check a Git working copy is in the right branch.
Primarily written for puppetmasters to make sure prod and staging
environment dirs had the right branches checked out in them
usage: check_git_branch_checkout.pl [ options ]
-d --directory Directory path to git working copy
-b --branch Branch to expect working copy checkout to be
--git-binary Path to git binary. Defaults to 'git'
-h --help Print description and usage options
-t --timeout Timeout in secs (default: 10)
-v --verbose Verbose mode
-V --version Print version and exit
Reviews (0)
Be the first to review this listing!