不给电脑,我用手机敲命令十分钟完成了zabbix监控,面试官当场下offer_互联网老辛的博客-CSDN博客
2.2继续配置action、发现是linux主机后做哪些动作
2.3配置完成自动发现、等两分钟确认ZBX为绿色
2.4配置zabbix自启
- [root@node01 ~]# systemctl start zabbix-agent
- [root@node01 ~]# systemctl enable zabbix-agent
1.安装Grafana软件包
- yum install https://mirrors.tuna.tsinghua.edu.cn/grafana/yum/rpm/grafana-8.4.4-1.x86_64.rpm -y
-
- #查看版本
- grafana-server -v
-
- #设置开机自启
- systemctl restart grafana-server.service
- systemctl enable grafana-server.service
- systemctl start grafana-server
-
- #查看端口是否开启---默认端口3000
- netstat -luntp|grep 3000
2.登录Grafana界面---3000端口
1.在线安装插件:
- #列出可用插件
- grafana-cli plugins list-remote |more
-
- ##安装zabbix插件
- grafana-cli plugins install alexanderzobnin-zabbix-app
-
- #测试安装
- [root@node01 grafana]# grafana-cli plugins install alexandra-trackmap-panel
- installing alexandra-trackmap-panel @ 1.2.6
- from: https://grafana.com/api/plugins/alexandra-trackmap-panel/versions/1.2.6/download
- into: /var/lib/grafana/plugins
-
- ✔ Installed alexandra-trackmap-panel successfully
-
- Restart grafana after installing plugins .
-
- #查看是否安装成功
- grafana-cli plugins ls
1.2常用插件安装:
- #常用插件下载 ------最后一个太慢了就离线下载,解压后拷贝到 /var/lib/grafana/plugins
- grafana-cli plugins install grafana-piechart-panel
- grafana-cli plugins install grafana-clock-panel
- grafana-cli plugins install agenty-flowcharting-panel
- grafana-cli plugins install grafana-clock-panel
- grafana-cli plugins install pierosavi-imageit-panel
- grafana-cli plugins install jdbranham-diagram-panel
- grafana-cli plugins install agenty-flowcharting-panel
- grafana-cli plugins install alexanderzobnin-zabbix-app
点击enable
继续添加
zabbix设置报警发邮件你都学会了?_小爱人的博客-CSDN博客_zabbix 发送邮件
4.1配置触发器
4.2配置发件邮件:
4.3 配置接收邮箱
5.2配置监控项、触发器、动作、应用模板