随笔分类 -  监控

摘要:发件人 收 阅读全文
posted @ 2020-03-24 16:50 Le1543 阅读(87) 评论(0) 推荐(0)
摘要:选表达式构造器测试触发(略) 选添加启用 linux那边开多两个窗口 仪表板 开启消息,(这里没有勾前端,勾了才显示) 阅读全文
posted @ 2020-03-24 15:39 Le1543 阅读(155) 评论(0) 推荐(0)
摘要:被监控主机的/etc/zabbix/zabbix_agentd.d中新建被监控模块 比如磁盘的io 需要用到iostat命令(yum install -y sysstat) 平时操作iostat awk '/^sda/ {print $2}'可以看到tps的数据 做成模块 vim /etc/zabb 阅读全文
posted @ 2020-03-24 15:05 Le1543 阅读(161) 评论(0) 推荐(0)
摘要:centos7.5+mariadb 进入数据库 mysql -p123qwe 创建库 create database zabbix; 创建用户并设置权限 grant all privileges on zabbix.* to 'zabbix'@'172.16.0.%' identified by ' 阅读全文
posted @ 2020-03-23 13:02 Le1543 阅读(256) 评论(0) 推荐(0)
摘要:https://oapi.dingtalk.com/robot/send?access_token=02f6ba03e133beb0e62499a6e7550b64f03a1120e47c4922a2db80f981834697 cd /usr/lib/zabbix/alertscripts cat 阅读全文
posted @ 2020-01-03 13:59 Le1543 阅读(153) 评论(0) 推荐(0)
摘要:字体目录 zabbix 4.2:/usr/share/zabbix/assets/fonts/ zabbix 4.0:/usr/share/zabbix/fonts/ win下找到对应字体 C:\Windows\Fonts rz传文件过去server上 chmod 777 ./simkai.ttf 阅读全文
posted @ 2020-01-03 13:26 Le1543 阅读(296) 评论(0) 推荐(0)
摘要:自定义告警 yum install -y mailx dos2unix vim /etc/mail.rc 最后添加下面3行 set from=luo-jia-le@163.com smtp=smtp.163.comset smtp-auth-user=luo-jia-le@163.com smtp- 阅读全文
posted @ 2020-01-03 11:42 Le1543 阅读(135) 评论(0) 推荐(0)
摘要:配置 rpm -ivh https://repo.zabbix.com/zabbix/4.2/rhel/7/x86_64/zabbix-release-4.2-2.el7.noarch.rpm 安装 yum install -y zabbix-agent 修改配置文件 vim /etc/zabbix 阅读全文
posted @ 2019-12-19 22:00 Le1543 阅读(544) 评论(0) 推荐(0)
摘要:centos7.5+mariadb 进入数据库 mysql -p 创建库 create database zabbix; 创建用户 create user 'zabbix'@'%' identified by 'zabbix'; 设置权限 grant all privileges on zabbix 阅读全文
posted @ 2019-12-19 15:12 Le1543 阅读(187) 评论(0) 推荐(0)