Home Directory Plugins Others check_git_clean (nrpe)

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

check_git_clean (nrpe)

Rating
0 votes
Favoured:
0
Last Release Date
2015-04-24
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
License
GPL
Hits
3454
Files:
FileDescription
check_git_clean.shplugin
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Plugin to check that git repo is clean.
Used by me with /etc-like directories to be version controled.

Usage:
./check_git_clean.sh -C <path_to_tree>

returns OK if the tree is clean
returns CRITICAL if there are uncommited changes
returns WARNING if there are unpushed commits
returns UNKNOWN if isn't a git repo