This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository mum. See http://git.chorem.org/mum.git commit df5cb6c2e6ebad6ab980efb410b71f9ecd41549f Author: Alexis Guilbaud <guilbaud@codelutin.com> Date: Wed Jul 8 16:49:15 2015 +0200 removed LANG=C on ssh commands (does not work), must find another way to use env variables with Paramiko --- app/modules/monitoring_modules/cpu_ssh_linux.py | 2 +- app/modules/monitoring_modules/disk_ssh_linux.py | 2 +- app/modules/monitoring_modules/swap_ssh_linux.py | 2 +- app/modules/monitoring_modules/updated_packages_ssh_linux.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/modules/monitoring_modules/cpu_ssh_linux.py b/app/modules/monitoring_modules/cpu_ssh_linux.py index 6382064..71e169a 100644 --- a/app/modules/monitoring_modules/cpu_ssh_linux.py +++ b/app/modules/monitoring_modules/cpu_ssh_linux.py @@ -30,7 +30,7 @@ def check(conn, mnce, subparts): """ Returns the greatest between the user and system CPU charge """ - cmd = "LANG=C top -b -n 1" + cmd = "top -b -n 1" stdout = conn.exec_command(cmd) # output example: diff --git a/app/modules/monitoring_modules/disk_ssh_linux.py b/app/modules/monitoring_modules/disk_ssh_linux.py index df02802..74895c6 100644 --- a/app/modules/monitoring_modules/disk_ssh_linux.py +++ b/app/modules/monitoring_modules/disk_ssh_linux.py @@ -30,7 +30,7 @@ connection = "ssh" def check(conn, mnce, subparts): - cmd = "LANG=C df -h" + cmd = "df -h" stdout = conn.exec_command(cmd) # output example: diff --git a/app/modules/monitoring_modules/swap_ssh_linux.py b/app/modules/monitoring_modules/swap_ssh_linux.py index 6330b81..f0db360 100644 --- a/app/modules/monitoring_modules/swap_ssh_linux.py +++ b/app/modules/monitoring_modules/swap_ssh_linux.py @@ -27,7 +27,7 @@ connection = "ssh" def check(conn, mnce, subparts): - cmd = "LANG=C free -m" + cmd = "free -m" stdout = conn.exec_command(cmd) # output example: diff --git a/app/modules/monitoring_modules/updated_packages_ssh_linux.py b/app/modules/monitoring_modules/updated_packages_ssh_linux.py index 359fe22..db75af0 100644 --- a/app/modules/monitoring_modules/updated_packages_ssh_linux.py +++ b/app/modules/monitoring_modules/updated_packages_ssh_linux.py @@ -30,7 +30,7 @@ connection = "ssh" def check(conn, mnce, subparts): - cmd = "LANG=C apt-get upgrade -s" + cmd = "apt-get upgrade -s" stdout = conn.exec_command(cmd) # Output example: -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.