当前位置:网站首页>ZABBIX monitoring system custom monitoring content
ZABBIX monitoring system custom monitoring content
2022-07-04 07:40:00 【Embrace cloud primordial】
zabbix Custom monitoring content
The number of people logging in to the user-defined monitoring server
demand : Limit the number of login to no more than three , More than three will send alarm messages
zabbix Customize key( Command line )
1.zabbix By default, the host monitoring comes with some key( Monitoring item )
Server view :
[[email protected] ~]# zabbix_get -s '192.168.10.51' -p 10050 -k 'system.hostname'
zabbix-agent1
[[email protected] ~]# zabbix_get -s '192.168.10.51' -p 10050 -k 'system.uname'
Linux zabbix-agent1 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64
2. But there are some contents that we want to monitor but do not monitor by default , We go through key Can't check
[[email protected] ~]# zabbix_get -s '192.168.10.51' -p 10050 -k 'login.user'
ZBX_NOTSUPPORTED: Unknown metric login.agent
3. So we can customize key( Customize the content of monitoring )
Client add key:
[[email protected] ~]# cat /etc/zabbix/zabbix_agent2.d/login_agent.conf
UserParameter=login.user,who|wc -l
4. After creation , Restart the service 、
[[email protected] ~]# systemctl restart zabbix-agent2
5. The server tests again whether it can use this key
[[email protected] ~]# zabbix_get -s '192.168.10.51' -p 10050 -k 'login.user'
1
Add... To the page zabbix-server Custom monitor item template for
Add process :
- Create a template
- Create application set ( It's like a folder , A pile of monitoring items are stored inside )
- Create monitor item , Customize item( What you want to monitor )
- Create trigger , When the monitor gets a value , Compare with trigger 、 Judge 、 Decide whether to call the police
- Create graphics
- Connect the specific host to the template , relation


Find the template just created , Click on 






After all the above are created , Associate with host


边栏推荐
- Leetcode (215) -- the kth largest element in the array
- Xcode 14之大变化详细介绍
- JVM -- class loading process and runtime data area
- Unity 从Inspector界面打开资源管理器选择并记录文件路径
- 2022-021ARTS:下半年開始
- BUUCTF(4)
- Zephyr study notes 2, scheduling
- 在所有SwiftUI版本(1.0-4.0)中原生实现Charts图表视图之思路
- Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
- 如何用MOS管来实现电源防反接电路
猜你喜欢

Boosting the Performance of Video Compression Artifact Reduction with Reference Frame Proposals and

Rhcsa day 3

tornado项目之路由装饰器

This article is enough for learning advanced mysql

线性代数1.1

Implementation of ZABBIX agent active mode

Handwritten easy version flexible JS and source code analysis

The idea of implementing charts chart view in all swiftui versions (1.0-4.0) was born

What are the work contents of operation and maintenance engineers? Can you list it in detail?

Easy to understand: understand the time series database incluxdb
随机推荐
Introduction to sap commerce cloud B2B organization function
Implementation of ZABBIX agent active mode
SQL注入测试工具之Sqli-labs下载安装重置数据库报错解决办法之一(#0{main}thrown in D:\Software\phpstudy_pro\WWW\sqli-labs-……)
[Android reverse] function interception (use cache_flush system function to refresh CPU cache | refresh CPU cache disadvantages | recommended time for function interception)
PCIE知识点-010:PCIE 热插拔资料从哪获取
NLP literature reading summary
Text processing function sorting in mysql, quick search of collection
Oracle stored procedures and functions
Valentine's Day is coming! Without 50W bride price, my girlfriend was forcibly dragged away...
Preliminary study on temporal database incluxdb 2.2
JVM -- class loading process and runtime data area
Flask 常用组件
How to use MOS tube to realize the anti reverse connection circuit of power supply
L1-022 odd even split (10 points)
Experience installing VMware esxi 6.7 under VMware Workstation 16
How to send mail with Jianmu Ci
Amd RX 7000 Series graphics card product line exposure: two generations of core and process mix and match
"Sword finger offer" 2nd Edition - force button brush question
输入年份、月份,确定天数
果果带你写链表,小学生看了都说好