2. grafana插件安装并接入zabbix

embedded/2025/2/21 7:21:24/

一、在线安装

如果不指定安装位置,则默认安装位置为/var/lib/grafana/plugins 插件安装完成之后需要重启grafana

命令在上一篇讲到过

//查看相关帮助
[root@localhost ~]# grafana-cli plugins --help
//从列举中的插件过滤zabbix插件
[root@localhost ~]# grafana-cli plugins  list-remote |grep zabbix 
id: alexanderzobnin-zabbix-app version: 3.12.4
//依据id安装插件
[root@localhost ~]# grafana-cli plugins install alexanderzobnin-zabbix-appinstalling alexanderzobnin-zabbix-app @ 3.12.4
from: https://grafana.com/api/plugins/alexanderzobnin-zabbix-app/versions/3.12.4/download
into: /var/lib/grafana/plugins✔ Installed alexanderzobnin-zabbix-app successfully Restart grafana after installing plugins . <service grafana-server restar

二、离线安装

访问https://grafana.com/grafana/plugins/all-plugins/

1. 搜索需要的插件,选好与grafana版本匹配的版本。

2. 点击installtion然后下拉选择与服务器匹配的安装包

 3. 下载好后上传到服务器解压并移动到插件目录

 # 解压 
[root@localhost ~]# unzip alexanderzobnin-zabbix-app-5.0.0.gpx_zabbix-datasource_linux_amd64.zip
# 移动到plugins 文件夹中 
[root@localhost ~]# mv alexanderzobnin-zabbix-app  /var/lib/grafana/plugins
# 重启grafana-server使生效。 
[root@localhost ~]# systemctl restart grafana-server

三、配置zabbix数据源

先要enable才能看的到,一次点击 管理 - 插件 -  zabbix

在 连接 - 数据 - 添加数据源 - 选择zabbix

url写zabbix的api接口

http://192.168.199.123:80/api_jsonrpc.php

这边只填写登录zabbix的账号密码即可(一般都是给一个只读用户就好)

 下拉到最后保存测试(绿色装填为成功)


http://www.ppmy.cn/embedded/162306.html

相关文章

yum报错 Could not resolve host: mirrorlist.centos.org

检查dns 使用ping www.baidu.com &#xff0c;如果ping不通&#xff0c;检查/etc/resolv.conf文件中是否有&#xff1a; nameserver 8.8.8.8 nameserver 8.8.4.4 替换yum源 1.备份原始的 YUM 源配置文件&#xff1a; sudo cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.r…

StableDiffusion学习笔记——2、界面介绍

目录   大家好&#xff0c;我是阿赵。   继续来学习StableDiffusion的使用。上次讲到了WebUI的使用&#xff0c;下面会继续使用B站秋叶大神的WebUI来学习。 一、 启动WebUI 通过秋叶大神的绘世启动器&#xff0c;点击一键启动按钮&#xff1a; 在控制台可以看到运行的情况…

LINUX——内核

引言 Linux 内核&#xff08;Kernel&#xff09;是操作系统的核心&#xff0c;负责管理计算机的硬件资源并为用户空间程序提供基础服务。它是 Linux 生态的“心脏”&#xff0c;驱动着从嵌入式设备到超级计算机的各类系统。理解 Linux 内核的设计原理和核心机制&#xff0c;是…

Vue全流程--Vue3组合一ref与reactive(实现响应式)

ref&#xff1a;定义基本类型的响应式数据 先看ref使用的位置 <script > import {ref} from vue export default {name: App,setup(){//数据let name ref(张三)let age ref(18)//方法function changeInfo(){// name 李四// age 48console.log(name,age)}//返回一个…

KaiOS 4.0 APN List 界面加载debug

问题背景 在列表选中APN进入编辑后,退出返回列表界面时无法焦点选中编辑的APN。 代码分析 路径:gaia/apps/settings/js/panels/apn_list/panel.js 分析SettingsPanel界面加载的步骤逻辑 onBeforeShow -> onShow -> onBeforeHide -> onHide return SettingsPanel(…

Unity-Mirror网络框架-从入门到精通之PickupsDropsChilds示例

文章目录 前言示例介绍PickupsDropsChildsSceneObject最后前言 在现代游戏开发中,网络功能日益成为提升游戏体验的关键组成部分。本系列文章将为读者提供对Mirror网络框架的深入了解,涵盖从基础到高级的多个主题。Mirror是一个用于Unity的开源网络框架,专为多人游戏开发设计…

Github 2025-02-12 C开源项目日报 Top7

根据Github Trendings的统计,今日(2025-02-12统计)共有7个项目上榜。根据开发语言中项目的数量,汇总情况如下: 开发语言项目数量C项目7Python项目2OpenSSL - 强大的开源加密工具包 创建周期:4012 天开发语言:C协议类型:Apache License 2.0Star数量:23449 个Fork数量:10…

DeepSeek模型架构及优化内容

DeepSeek v1版本 模型结构 DeepSeek LLM基本上遵循LLaMA的设计&#xff1a; 采⽤Pre-Norm结构&#xff0c;并使⽤RMSNorm函数. 利⽤SwiGLU作为Feed-Forward Network&#xff08;FFN&#xff09;的激活函数&#xff0c;中间层维度为8/3. 去除绝对位置编码&#xff0c;采⽤了…