随笔分类 -  zabbix

摘要:系统环境: centos7.2 zabbix-3.4 一、原理 通过以下命令查看mongodb的状态: echo "db.serverStatus()" | mongo admin echo "db.serverStatus().opcounters" | mongo admin 二、配置过程 1. 阅读全文
posted @ 2017-10-26 13:47 浆糊jun 阅读(5977) 评论(3) 推荐(0)
摘要:设置主机名: vi /etc/hosts 10.0.0.252 zabbix-server hostnamectl set-hostname 关闭防火墙: systemctl stop firewalld.service systemctl disable firewalld.service 关闭s 阅读全文
posted @ 2017-09-22 18:31 浆糊jun 阅读(2233) 评论(0) 推荐(0)
摘要:1.在agent端查看配置: nginx -V //查看编辑时是否加入状态监控模块:--with-http_stub_status_module --with-http_gzip_static_module 2.vim /etc/nginx/nginx.conf location ~ /nginx_ 阅读全文
posted @ 2017-09-22 18:28 浆糊jun 阅读(298) 评论(0) 推荐(0)
摘要:Zabbix3.0自带了MySQL插件来监控mysql数据库的模板,只需要配置好agent客户端,然后在web端给主机增加模板就行了。 参考:http://www.cnblogs.com/kevingrace/p/5618342.html 主要是三点: 1.agent端添加/etc/zabbix/. 阅读全文
posted @ 2017-09-22 18:25 浆糊jun 阅读(371) 评论(0) 推荐(0)