温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

Naigos npre.cfg command

发布时间:2020-05-29 04:36:44 来源:网络 阅读:685 作者:邱月涛 栏目:移动开发

近日为了满足客户做性能测试,我与同事沟通,并配置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


向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI