您好,登錄后才能下訂單哦!
近日為了滿足客戶做性能測試,我與同事溝通,并配置nrpe client后,發現監控狀態異常,漫長的排查后,我們發現nrpe.cfg command 路徑存在異常,然后進行修改并添加后恢復正常,詳細信息如下:
command[check_appserver]=/usr/local/nagios/libexec/check_http -Hlocalhost -p9000 -u /health/check -s ok
command[check_disk]=/usr/local/nagios/libexec/check_disk -w 15 -c 10
command[check_clamav]=/usr/local/nagios/libexec/check_clamd -Hlocalhost -p 3310 -w 2 -c 5
command[check_dns]=/usr/local/nagios/libexec/check_dns -H mh.nokia.com -w 0.5 -c 1 -t 7
command[check_intrusion]=/usr/local/nagios/libexec/check_http -Hlocalhost -p9000 -u'/health/attack?threshold=30' -s ok
command[check_load]=/usr/local/nagios/libexec/check_cpu_usage.sh
command[check_local_mysql]=/usr/local/nagios/libexec/check_mysql -umediahub -p mediahub
command[check_local_mysql_hit_buffer_size]=/usr/local/nagios/libexec/check_mysql_query -q "select count(*) fromhit" -d mediahub -u mediahub -p mediahub -w 30000 -c 100000
command[check_memory]=/usr/local/nagios/libexec/check_mem.pl -w 90 -c 100
command[check_netacuity]=/usr/local/nagios/check_netacuity localhost
command[check_ntp]=/usr/local/nagios/libexec/check_ntp -H localhost -w 0.0005 -c 1.0
command[check_openfiles]=/usr/local/nagios/libexec/check_open_files.pl -w 800 -c 1000
command[check_ping]=/usr/local/nagios/libexec/check_ping -H localhost -w 3 10 -c 5 20
command[check_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z
command[check_swap]=/usr/local/nagios/libexec/check_swap -w 10 - c 5
command[check_users]=/usr/local/nagios/libexec/check_users -w 15 -c 20
command[check_varnish_http]=/usr/local/nagios/libexec/check_http -Hlocalhost -p80 -u /health/check -s ok
command[check_varnish_https]=/usr/local/nagios/libexec/check_http -Hlocalhost -p81 -u /health/check -s ok
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。