您好,登錄后才能下訂單哦!
近日為了滿足客戶做性能測(cè)試,我與同事溝通,并配置nrpe client后,發(fā)現(xiàn)監(jiān)控狀態(tài)異常,漫長(zhǎng)的排查后,我們發(fā)現(xiàn)nrpe.cfg command 路徑存在異常,然后進(jìn)行修改并添加后恢復(fù)正常,詳細(xì)信息如下:
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
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。