当前位置:网站首页>Zabbix6.0新功能Geomap 地图标记 你会用吗?
Zabbix6.0新功能Geomap 地图标记 你会用吗?
2022-06-12 03:58:00 【Zabbix_China】
张宇 | Zabbix高级认证专家(ZCP)
需要准备的环境:
需要有Zabbix6.0 环境
Dashboard上创建Geomap的组件:

在 Initial View 里填写坐标:
31.230416,121.473701,11
(中国上海地区经纬度和缩放等级)
解释:<31.230416>为地区纬度(可以根据实际情况填写) ,<121.473701>为地区的经度(可以根据实际情况填写) ,<11> 为地图缩放比例(其中每个不同的地图源所支持的缩放等级是不同,具体需要到前端设置里查看General->Geograhpical maps)

设置主机资产

想要将告警机器地理位置标记在地图上,那么这个主机必须要有地理位置记录,而Geomap的使用就是和Zabbix里面的主机资产的经纬度关联使用。
将需要显示告警地理位置的主机设置一个经纬度资产。
为了显示位置分别开,这里做了两个主机,经纬度坐标分别是中国上海徐汇区和中国上海浦东新区。

然后将两个主机分别打上标签 (标签的value可以是中文的)

模拟告警然后查看地图显示
分别在这两台主机上模拟各模拟一条告警,然后查看map地图变化。

标签过滤使用
当我只需要显示某个地理位置的主机告警标记时,一种办法就是使用主机过滤或者主机组过滤,另一种就是tag过滤。
上面我们已经将主机打上tag了。

使用标签过滤:LOCATION 浦东

到这里Zabbix 6.0 Geomap的简单使用功能操作已经完成。
目前Zabbix6.0 自带的几款在线map地图源都可以使用,风格可以自行切换。
如果环境无法连接外网可以在局域网内搭建一套离线版本的中国、世界地图,Zabbix 6.0 支持用户自定义的map源。
如何设置自定义的map源操作参考这里:
往期推荐:
边栏推荐
- Cloud native overview
- Mosaïque d'images basée sur la matrice de transformation
- 顺序表与链表-----进阶
- (idea)the file size(2.85M) exceeds configured limit(2.56M). Code insight features are not available
- 【clickhouse专栏】新建库角色用户初始化
- [fpga+fft] design and implementation of FFT frequency meter based on FPGA
- mysql/oracle 以唯一时间为分界,小于等于该时间求和,大于该时间求和
- In 2022, don't you know the difference between arrow function and ordinary function?
- 动规(15)-最低通行费
- R语言plotly可视化:使用plotly可视化简单线性回归模型的回归线(simple regression model linear regression plots)
猜你喜欢

成功解决:WARNING: There was an error checking the latest version of pip.
![[C language] encapsulation interface (addition, subtraction, multiplication and division)](/img/8f/1351826a6f7e83ce90d32d7615adc1.png)
[C language] encapsulation interface (addition, subtraction, multiplication and division)

魏武帝 太祖知不可匡正,遂不复献言
![[Clickhouse column] user initialization of new library role](/img/00/a11fb1a8e38ed4e0634839160c8ead.png)
[Clickhouse column] user initialization of new library role

In 2022, don't you know the difference between arrow function and ordinary function?

Unity脚本出现missing时的解决方法

Goodbye to excel and PPT, I found a better visual fool software

Smart Panel wifi Linkage Technology, esp32 wireless chip module, Internet of Things WiFi Communication Application

数据库精选 60 道面试题

Hudi of data Lake (14): basic concepts of Apache Hudi
随机推荐
根据变换矩阵进行图像拼接
Function realization and application of trait
Emperor Wu of Wei knew that he could not correct it, so he stopped offering his words
[软件工具][原创]voc数据集类别名批量修改工具使用教程
What is the difference between FOB, CIF and CFR?
路灯照明物联网技术方案,ESP32-S3芯片通信应用,智能WiFi远程控制
【C语言】程序的内存四区模型
R语言plotly可视化:plotly可视化基础二维直方图、自定义设置二维直方图的颜色、二维直方图是二元分布的直方图可视化(Basic 2D Histogram)
2.28 (defect filling) data type conversion exception handling part multi threading
认真工作对自己到底意味着什么?
[C language] dynamic memory allocation
The road of global evolution of vivo global mall -- multilingual solution
hash function
怎样拥有心灵的平和?获得一颗全新的心灵
[C language] encapsulation interface (addition, subtraction, multiplication and division)
Drop down menu dropdown yyds dry inventory of semantic UI
Is there a row limit for a single MySQL table
What does kotlin collaboration scope and coroutinescope mainscope globalscope viewmodelscope lifecyclescope represent respectively
【clickhouse专栏】新建库角色用户初始化
Double objective learning materials sorting