]> git.pld-linux.org Git - packages/monitoring-plugin-check_mysql-heartbeat.git/commitdiff
v1.1 auto/th/monitoring-plugin-check_mysql-heartbeat-1.1-1
authorElan Ruusamäe <glen@delfi.ee>
Tue, 22 Mar 2016 11:39:24 +0000 (13:39 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 22 Mar 2016 11:39:24 +0000 (13:39 +0200)
check_mysql-heartbeat.sh
monitoring-plugin-check_mysql-heartbeat.spec

index 43a1ea241a88921d72e920af008e5b4b763ba983..e687031b09491be3e75a9d05c7340849abd9a5d6 100755 (executable)
@@ -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)
index 4a886e7cec0e8b37d1e32e177db4500aa8753a30..f1d94ae91802fa6a4a80d916329863acef99999c 100644 (file)
@@ -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
This page took 0.059177 seconds and 4 git commands to generate.