网站建设资讯

NEWS

网站建设资讯

Naigosnpre.cfgcommand

近日为了满足客户做性能测试,我与同事沟通,并配置nrpe client后,发现监控状态异常,漫长的排查后,我们发现nrpe.cfg  command 路径存在异常,然后进行修改并添加后恢复正常,详细信息如下:

成都创新互联公司-专业网站定制、快速模板网站建设、高性价比昆明网站开发、企业建站全套包干低至880元,成熟完善的模板库,直接使用。一站式昆明网站制作公司更省心,省钱,快速模板网站建设找我们,业务覆盖昆明地区。费用合理售后完善,十载实体公司更值得信赖。

  

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


文章名称:Naigosnpre.cfgcommand
分享路径:http://cdweb.net/article/ihjsid.html