Nagios NRPE client

如果只需安裝NRPE那建議安裝時指令要改一下,不然會裝一堆有的沒有的:
apt-get install --no-install-recommends nagios-nrpe-server nagios-plugins

之後改
預設會用的有如下:
command[check_users]=/usr/lib/nagios/plugins/check_users -w 5 -c 10
command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20
command[check_disk]=/usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /dev/mapper/debian-root
command[check_zombie_procs]=/usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z
command[check_total_procs]=/usr/lib/nagios/plugins/check_procs -w 150 -c 200
command[check_ssh]=/usr/lib/nagios/plugins/check_ssh -4 127.0.0.1
command[check_nrpe]=/usr/lib/nagios/plugins/check_nrpe -H 127.0.0.1
command[check_mysql]=/usr/lib/nagios/plugins/check_tcp -H 127.0.0.1 -p 3306
command[check_swap]=/usr/lib/nagios/plugins/check_swap -w 30% -c 10%
command[check_ping]=/usr/lib/nagios/plugins/check_ping -H xxx.xxx.xxx.xxx -w 3000.0,80% -c 5000.0,100% -p 5
#command[check_http]=/usr/lib/nagios/plugins/check_http -H 127.0.0.1 -w 5 -c 10

留言

熱門文章