From 272b5c54c3ab0f3c7117feec2bfdeb5d62cfdead Mon Sep 17 00:00:00 2001 From: "Bala.FA" Date: Wed, 16 Apr 2014 17:07:34 +0530 Subject: network: show only interfaces having IP addresses Network plugin for Nagios provides status and performance data of network interfaces. By default, it provides details of all the interfaces having IP addresses The plugin can be used to get status of specific interface: $ python network.py -i em1 get status except specific interface: $ python network.py -e em1 get status of all interfaces: $ python network.py -a Change-Id: If3cc2e4c00c866ce1a3c839a643d63b1e23ff8ea Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1085237 Signed-off-by: Bala.FA Reviewed-on: http://review.gluster.org/7588 Reviewed-by: Sahina Bose Tested-by: Sahina Bose --- rfc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rfc.sh') diff --git a/rfc.sh b/rfc.sh index dfbfde0..28d24c5 100755 --- a/rfc.sh +++ b/rfc.sh @@ -112,7 +112,7 @@ add_hook_commit_msg() assert_python_check() { - pyfiles=$(git diff --name-only origin/$branch..HEAD 2>/dev/null | grep -e '\.py$' -e '\.py\.in$') + pyfiles=$(git diff --diff-filter=ACMRT --name-only origin/$branch..HEAD 2>/dev/null | grep -e '\.py$' -e '\.py\.in$') if [ -z "$pyfiles" ]; then return fi -- cgit