commit 1e4e0308b503453e713d946f561dc61029726738
Author: Elan Ruusamäe <[email protected]>
Date:   Tue Mar 22 13:39:24 2016 +0200

    v1.1

 check_mysql-heartbeat.sh                     |  4 ++--
 monitoring-plugin-check_mysql-heartbeat.spec | 12 ++++++------
 2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/monitoring-plugin-check_mysql-heartbeat.spec 
b/monitoring-plugin-check_mysql-heartbeat.spec
index 4a886e7..f1d94ae 100644
--- a/monitoring-plugin-check_mysql-heartbeat.spec
+++ b/monitoring-plugin-check_mysql-heartbeat.spec
@@ -1,14 +1,14 @@
 %define                plugin  check_mysql-heartbeat
 %define                php_min_version 5.0.0
 %include       /usr/lib/rpm/macros.php
-Summary:       Nagios plugin to check MySQL heartbeat
+Summary:       Nagios/Icinga plugin to check MySQL heartbeat
 Name:          monitoring-plugin-%{plugin}
-Version:       1.0
-Release:       2
+Version:       1.1
+Release:       1
 License:       GPL v2
 Group:         Networking
-Source0:       check_mysql-heartbeat.sh
-Source1:       check_mysql-heartbeat.cfg
+Source0:       %{plugin}.sh
+Source1:       %{plugin}.cfg
 BuildRequires: rpm-php-pearprov >= 4.4.2-11
 Requires:      nagios-common
 Requires:      nagios-plugins-libs
@@ -19,7 +19,7 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                plugindir       %{_prefix}/lib/nagios/plugins
 
 %description
-Nagios plugin to check MySQL heartbeat with maatkit or
+Nagios/Icinga plugin to check MySQL heartbeat with maatkit or
 percona-toolkit.
 
 %prep
diff --git a/check_mysql-heartbeat.sh b/check_mysql-heartbeat.sh
index 43a1ea2..e687031 100755
--- a/check_mysql-heartbeat.sh
+++ b/check_mysql-heartbeat.sh
@@ -6,7 +6,7 @@
 #
 
 PROGRAM=${0##*/}
-REVISION=$(echo '$Revision$' | sed -e 's/[^0-9.]//g')
+VERSION=1.1
 PROGPATH=${0%/*}
 . $PROGPATH/utils.sh
 
@@ -61,7 +61,7 @@ while :; do
                exit 0
                ;;
        -V|--version)
-               echo $PROGRAM $REVISION
+               echo "$PROGRAM $VERSION"
                exit 0
                ;;
        --mk|--maatkit)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/monitoring-plugin-check_mysql-heartbeat.git/commitdiff/1e4e0308b503453e713d946f561dc61029726738

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to