一线上nagios监控参数

一线上nagios监控参数
command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10
command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20
command[check_/]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/sda2
command[check_/data]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/sda5
command[check_swap]=/usr/local/nagios/libexec/check_swap -w 20% -c 10%
command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z
command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 400 -c 500
command[check_tcp]=/usr/local/nagios/libexec/check_tcp -H 127.0.0.1 -p 9000 -w 1 -c 0.1

默认
command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10
command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20
command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/hda1
command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z
command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c 200


http://os.51cto.com/art/201103/251453.htm



本文转自 ppabc  51CTO博客,原文链接:http://blog.51cto.com/ppabc/776424

上一篇:apache与nmon监控服务器


下一篇:用Nginx+Lua(OpenResty)开发高性能Web应用