nagios日志報(bào)錯(cuò):
在松溪等地區(qū),都構(gòu)建了全面的區(qū)域性戰(zhàn)略布局,加強(qiáng)發(fā)展的系統(tǒng)性、市場(chǎng)前瞻性、產(chǎn)品創(chuàng)新能力,以專注、極致的服務(wù)理念,為客戶提供成都網(wǎng)站設(shè)計(jì)、成都網(wǎng)站建設(shè) 網(wǎng)站設(shè)計(jì)制作定制網(wǎng)站制作,公司網(wǎng)站建設(shè),企業(yè)網(wǎng)站建設(shè),高端網(wǎng)站設(shè)計(jì),成都全網(wǎng)營(yíng)銷推廣,外貿(mào)網(wǎng)站建設(shè),松溪網(wǎng)站建設(shè)費(fèi)用合理。
NPCD ERROR: Executed command exits with return code '7'
查看perfdata.log日志:
tail -n 50 /usr/local/pnp4nagios/var/perfdata.log
2014-10-08 17:13:29 [331] [0] *** TIMEOUT: Timeout after 15 secs. ***
2014-10-08 17:13:29 [331] [0] *** TIMEOUT: Deleting current file to avoid NPCD loops
2014-10-08 17:13:29 [331] [0] *** TIMEOUT: Please check your process_perfdata.cfg
2014-10-08 17:13:29 [331] [0] *** TIMEOUT: /usr/local/pnp4nagios/var/spool/service-perfdata.1412759592-PID-331 deleted
2014-10-08 17:13:29 [331] [0] *** Timeout while processing Host: "NGINX" Service: "TCP_Connections"
2014-10-08 17:13:29 [331] [0] *** process_perfdata.pl terminated on signal ALRM
解決方法:
修改process_perfdata.cfg 文件
vi /usr/local/pnp4nagios/etc/process_perfdata.cfg
change:
# process_perfdata.pl timeout in seconds
#
TIMEOUT = 15
to:
# process_perfdata.pl timeout in seconds
#
TIMEOUT = 30