# 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
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