nagios监控nginx
2014-03-17 14:58
429 查看
监控NGINX 进程是否运行(所有进程都适用哦。很有用)在被监控机(10.1.1.2)上运行,可以测试是否有进程运行
/usr/local/nagios/libexec/check_procs -c 1:30 -C nginx在被监控机上编辑 /usr/local/nagios/etc/nrpe_local.cfg
加入:
command[check_nginx]=/usr/local/nagios/libexec/check_procs -c 1:30 -C nginx 进入监控机
/usr/local/nagios/etc/services.cfgdefine service {
host_name nginx1.dog.com
service_description CHECK_NGINX
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 3
contact_groups sagroup
notification_interval 480
notification_period 24x7
notification_options w,u,c,r
check_command check_nrpe!check_nginx
notifications_enabled 1
}重启nagios服务
/usr/local/nagios/libexec/check_procs -c 1:30 -C nginx在被监控机上编辑 /usr/local/nagios/etc/nrpe_local.cfg
加入:
command[check_nginx]=/usr/local/nagios/libexec/check_procs -c 1:30 -C nginx 进入监控机
/usr/local/nagios/etc/services.cfgdefine service {
host_name nginx1.dog.com
service_description CHECK_NGINX
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 3
contact_groups sagroup
notification_interval 480
notification_period 24x7
notification_options w,u,c,r
check_command check_nrpe!check_nginx
notifications_enabled 1
}重启nagios服务
相关文章推荐
- nagios 监控 nginx
- 使用nagios+python监控nginx进程数
- nginx平台架设nagios监控
- 在Nginx中搭建Nagios监控平台
- Nginx下搭建Nagios监控平台(转载)
- 搭建基于nginx环境的nagios监控系统
- 生产环境监控系统Nginx+Nagios+Cacti+Nconf大整合(最新源码安装)【转载】
- Nginx平台安装Nagios监控服务(0608更新) 推荐
- nagios监控mysql主机,nginx,cpu,网卡流量
- 在Nginx中搭建Nagios监控平台
- Linux下nginx+nagios 监控平台搭建
- nagios自定义监控nginx php和ip_conn
- nagios监控nginx状态(check_nginx.sh)
- nagios监控nginx状态(check_nginx_status.pl)
- 基于Nginx平台部署Nagios监控系统
- 在Nginx中搭建Nagios监控平台
- nagios监控mysql主机,nginx,磁盘IO,网卡流量
- 搭建基于nginx环境的nagios监控系统 推荐
- Nagios监控nginx服务详细过程
- nagios监控mysql主机,nginx,磁盘IO,网卡流量