[packages/percona-monitoring-plugins] fix nc command
glen
glen at pld-linux.org
Sun Mar 23 15:13:49 CET 2014
commit f7dfab72fe0400f1beb5e370888c977d52657436
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Mar 23 11:38:15 2014 +0200
fix nc command
paths.patch | 10 +++++-----
percona-monitoring-plugins.spec | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/percona-monitoring-plugins.spec b/percona-monitoring-plugins.spec
index 77a42b2..00014d1 100644
--- a/percona-monitoring-plugins.spec
+++ b/percona-monitoring-plugins.spec
@@ -11,7 +11,7 @@
Summary: MySQL cacti templates
Name: percona-monitoring-plugins
Version: 1.1.3
-Release: 0.4
+Release: 0.5
License: GPL v2
Group: Applications/WWW
Source0: http://www.percona.com/redir/downloads/percona-monitoring-plugins/LATEST/%{name}-%{version}.tar.gz
diff --git a/paths.patch b/paths.patch
index 20a1c50..16b9e08 100644
--- a/paths.patch
+++ b/paths.patch
@@ -1,5 +1,5 @@
---- percona-monitoring-plugins-1.1.3/cacti/scripts/ss_get_by_ssh.php~ 2014-03-22 23:22:46.000000000 +0200
-+++ percona-monitoring-plugins-1.1.3/cacti/scripts/ss_get_by_ssh.php 2014-03-22 23:23:34.063515968 +0200
+--- percona-monitoring-plugins-1.1.3/cacti/scripts/ss_get_by_ssh.php 2014-03-22 23:23:34.063515968 +0200
++++ percona-monitoring-plugins-1.1.3/cacti/scripts/ss_get_by_ssh.php 2014-03-23 11:36:56.339213406 +0200
@@ -26,7 +26,7 @@
# ============================================================================
$ssh_user = 'cacti'; # SSH username
@@ -9,15 +9,15 @@
$ssh_tout = 10; # SSH connect timeout
# You can enable SSH remote command timeout by prepending 'timeout $cmd_tout'
# to the actual command, i.e. `ssh HOST timeout 10 CMD`
-@@ -34,7 +34,7 @@
+@@ -35,6 +35,6 @@
$remote_cmd_tout = FALSE;
$cmd_tout = 10; # Command exec timeout (ssh itself or local cmd)
- $nc_cmd = 'nc -C'; # How to invoke netcat. NOTE, for Debian set 'nc -q1'.
+-$nc_cmd = 'nc -C'; # How to invoke netcat. NOTE, for Debian set 'nc -q1'.
-$cache_dir = '/tmp'; # If set, this uses caching to avoid multiple calls.
++$nc_cmd = 'nc'; # How to invoke netcat. Default 'nc -C'. NOTE, for Debian set 'nc -q1'.
+$cache_dir = '/var/cache/cacti/mysql_stats'; # If set, this uses caching to avoid multiple calls.
$poll_time = 300; # Adjust to match your polling interval.
$timezone = null; # If not set, uses the system default. Example: "UTC"
- $use_ss = FALSE; # Whether to use the script server or not
--- percona-monitoring-plugins-1.1.3/cacti/scripts/ss_get_mysql_stats.php~ 2014-03-22 23:22:46.000000000 +0200
+++ percona-monitoring-plugins-1.1.3/cacti/scripts/ss_get_mysql_stats.php 2014-03-22 23:24:11.981851325 +0200
@@ -40,7 +40,7 @@
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/percona-monitoring-plugins.git/commitdiff/c9674fde8681b19bd395557e39382e77c7bf7b07
More information about the pld-cvs-commit
mailing list