[packages/monitoring-plugin-check_mem] rename check to mem, not to conflict; add default args
glen
glen at pld-linux.org
Wed Mar 23 15:00:16 CET 2016
commit 4cc8f47a7f42e722e54edea1dc2ea8f15791c587
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Mar 23 16:00:11 2016 +0200
rename check to mem, not to conflict; add default args
check_mem.cfg | 6 +++---
monitoring-plugin-check_mem.spec | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/monitoring-plugin-check_mem.spec b/monitoring-plugin-check_mem.spec
index 364f800..75aad9c 100644
--- a/monitoring-plugin-check_mem.spec
+++ b/monitoring-plugin-check_mem.spec
@@ -3,7 +3,7 @@
Summary: Improved check_mem.pl Nagios Plugin
Name: monitoring-plugin-%{plugin}
Version: 1.0
-Release: 1
+Release: 2
License: MIT
Group: Networking
Source0: https://github.com/justintime/nagios-plugins/archive/master/%{plugin}.tar.gz
diff --git a/check_mem.cfg b/check_mem.cfg
index 2b4ef50..394d4d5 100644
--- a/check_mem.cfg
+++ b/check_mem.cfg
@@ -2,13 +2,13 @@
# check_mem
define command {
command_name check_mem
- command_line /usr/lib/nagios/plugins/check_mem -H $HOSTADDRESS$ $ARG1$
+ command_line /usr/lib/nagios/plugins/check_mem -f -C -w 30 -c 20 $ARG1$
}
define service {
use generic-service
- name memory
- service_description memory
+ name mem
+ service_description mem
register 0
normal_check_interval 30
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/monitoring-plugin-check_mem.git/commitdiff/4cc8f47a7f42e722e54edea1dc2ea8f15791c587
More information about the pld-cvs-commit
mailing list