34 lines
2.5 KiB
INI
34 lines
2.5 KiB
INI
################################################################################
|
|
#
|
|
# __ __ ______ __
|
|
# / | / | / \ / |
|
|
# _$$ |_ $$/ ______ _______ ______ /$$$$$$ | _____ ____ $$/ _______ ______
|
|
# / $$ | / | / \ / |______ / \ $$ |_ $$/______ / \/ \ / |/ \ / \
|
|
# $$$$$$/ $$ |/$$$$$$ |/$$$$$$$// |/$$$$$$ |$$ | / |$$$$$$ $$$$ |$$ |$$$$$$$ |/$$$$$$ |
|
|
# $$ | __ $$ |$$ | $$ |$$ \$$$$$$/ $$ | $$ |$$$$/ $$$$$$/ $$ | $$ | $$ |$$ |$$ | $$ |$$ $$ |
|
|
# $$ |/ |$$ |$$ |__$$ | $$$$$$ | $$ \__$$ |$$ | $$ | $$ | $$ |$$ |$$ | $$ |$$$$$$$$/
|
|
# $$ $$/ $$ |$$ $$/ / $$/ $$ $$/ $$ | $$ | $$ | $$ |$$ |$$ | $$ |$$ |
|
|
# $$$$/ $$/ $$$$$$$/ $$$$$$$/ $$$$$$/ $$/ $$/ $$/ $$/ $$/ $$/ $$/ $$$$$$$/
|
|
# $$ |
|
|
# $$ |
|
|
# $$/
|
|
#
|
|
################################################################################
|
|
# COMMAND DEFINITIONS
|
|
# Syntax:
|
|
# command[]=
|
|
#
|
|
command[users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10
|
|
command[load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20
|
|
command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20
|
|
command[swap]=/usr/lib64/nagios/plugins/check_swap -w 20% -c 10%
|
|
command[root_disk]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p / -m
|
|
command[usr_disk]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /usr -m
|
|
command[var_disk]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /var -m
|
|
command[zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 -s Z
|
|
command[total_procs]=/usr/lib64/nagios/plugins/check_procs -w 190 -c 200
|
|
command[proc_named]=/usr/lib64/nagios/plugins/check_procs -w 1: -c 1:2 -C named
|
|
command[proc_crond]=/usr/lib64/nagios/plugins/check_procs -w 1: -c 1:5 -C crond
|
|
command[proc_syslogd]=/usr/lib64/nagios/plugins/check_procs -w 1: -c 1:2 -C syslog-ng
|
|
command[proc_rsyslogd]=/usr/lib64/nagios/plugins/check_procs -w 1: -c 1:2 -C rsyslogd
|
|
command[check_yum]=/usr/lib64/nagios/plugins/check_yum.py -t 60 |