当前位置:网站首页>Système de surveillance zabbix contenu de surveillance personnalisé
Système de surveillance zabbix contenu de surveillance personnalisé
2022-07-04 07:39:00 【Embrasser le nuage primitif】
zabbixPersonnaliser le contenu du moniteur
Personnaliser le nombre de connexions du serveur de surveillance
Besoins:Limiter les débarquements à trois,Plus de trois déclenchent un message d'alarme
zabbixPersonnalisationkey(Ligne de commande)
1.zabbixPar défaut, la surveillance de l'hôte est fournie avec un modèlekey(Points de contrôle)
Vue du serveur:
[[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.Mais il y a quelque chose que nous voulons surveiller sans surveillance par défaut,Nous passonskeyJe ne peux pas le voir.
[[email protected] ~]# zabbix_get -s '192.168.10.51' -p 10050 -k 'login.user'
ZBX_NOTSUPPORTED: Unknown metric login.agent
3.Pour que nous puissions personnaliserkey( Personnaliser le contenu de la surveillance )
Client ajouterkey:
[[email protected] ~]# cat /etc/zabbix/zabbix_agent2.d/login_agent.conf
UserParameter=login.user,who|wc -l
4.Une fois la création terminée,Redémarrer le service、
[[email protected] ~]# systemctl restart zabbix-agent2
5. Le serveur teste à nouveau si key
[[email protected] ~]# zabbix_get -s '192.168.10.51' -p 10050 -k 'login.user'
1
Ajouter à la pagezabbix-server Modèle d'élément de surveillance personnalisé pour
Ajouter un processus:
- Créer un modèle
- Créer un ensemble d'applications( C'est comme un dossier , Il y a un tas d'articles de surveillance dedans )
- Créer un élément de surveillance,Personnalisationitem( Le contenu spécifique à surveiller )
- Créer un déclencheur, Quand l'élément de surveillance obtient la valeur , Comparer avec le déclencheur 、Jugement、 Décider d'appeler la police ou non
- Créer un dessin
- Connectez l'hôte spécifique au modèle ,Liens


Trouver le modèle que vous venez de créer ,Cliquez sur






Une fois que tout ce qui précède a été créé , Associer à l'hôte


边栏推荐
- Is l1-029 too fat (5 points)
- Introduction to rce in attack and defense world
- 神经网络入门(下)
- Would you like to go? Go! Don't hesitate if you like it
- Zhanrui tankbang | jointly build, cooperate and win-win zhanrui core ecology
- BUUCTF(3)
- OKR vs. KPI figure out these two concepts at once!
- Literature collation and thesis reading methods
- Detailed introduction to the big changes of Xcode 14
- Routing decorator of tornado project
猜你喜欢

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

Pangu open source: multi support and promotion, the wave of chip industry

Google's official response: we have not given up tensorflow and will develop side by side with Jax in the future
![[Android reverse] function interception (use cache_flush system function to refresh CPU cache | refresh CPU cache disadvantages | recommended time for function interception)](/img/5c/afb0d43665a8b46579dc604d983790.jpg)
[Android reverse] function interception (use cache_flush system function to refresh CPU cache | refresh CPU cache disadvantages | recommended time for function interception)

MySQL中的文本處理函數整理,收藏速查

Zabbix agent主动模式的实现
![[Mori city] random talk on GIS data (I)](/img/e4/2a2ceb10a2c0285cdd0c922f827930.png)
[Mori city] random talk on GIS data (I)

提升复杂场景三维重建精度 | 基于PaddleSeg分割无人机遥感影像

Thesis learning -- time series similarity query method based on extreme point characteristics

Oracle stored procedures and functions
随机推荐
L1-030 one gang one (15 points)
Transition technology from IPv4 to IPv6
Leetcode(215)——数组中的第K个最大元素
L1-023 output gplt (20 points)
Two years ago, the United States was reluctant to sell chips, but now there are mountains of chips begging China for help
Activiti常見操作數據錶關系
【森城市】GIS数据漫谈(一)
Flask 常用组件
Unity opens the explorer from the inspector interface, selects and records the file path
[Chongqing Guangdong education] National Open University spring 2019 770 real estate appraisal reference questions
Book list | as the technical support Party of the Winter Olympics, Alibaba cloud's technology is written in these books!
Linear algebra 1.1
Google's official response: we have not given up tensorflow and will develop side by side with Jax in the future
Devops Practice Guide - reading notes (long text alarm)
Go learning notes - constants
Computer connects raspberry pie remotely through putty
Zabbix agent主动模式的实现
提升复杂场景三维重建精度 | 基于PaddleSeg分割无人机遥感影像
SQL foundation 9 [grouping data]
The idea of implementing charts chart view in all swiftui versions (1.0-4.0) was born