当前位置:网站首页>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


边栏推荐
- Book list | as the technical support Party of the Winter Olympics, Alibaba cloud's technology is written in these books!
- Is l1-029 too fat (5 points)
- Handwritten easy version flexible JS and source code analysis
- Implementation of ZABBIX agent active mode
- 大学阶段总结
- Recursive Fusion and Deformable Spatiotemporal Attention for Video Compression Artifact Reduction
- The number of patent applications in China has again surpassed that of the United States and Japan, ranking first in the world for 11 consecutive years
- Life planning (flag)
- Enter the year, month, and determine the number of days
- [web security] nodejs prototype chain pollution analysis
猜你喜欢

博客停更声明

Two years ago, the United States was reluctant to sell chips, but now there are mountains of chips begging China for help

Devops Practice Guide - reading notes (long text alarm)

Solution of running crash caused by node error

Take you to master the formatter of visual studio code

谷歌官方回应:我们没有放弃TensorFlow,未来与JAX并肩发展
![[web security] nodejs prototype chain pollution analysis](/img/b6/8eddc9cbe343f2439da92bf342b0dc.jpg)
[web security] nodejs prototype chain pollution analysis

BasicVSR++: Improving Video Super-Resolutionwith Enhanced Propagation and Alignment

This article is enough for learning advanced mysql

Practice (9-12 Lectures)
随机推荐
[Flink] temporal semantics and watermark
大学阶段总结
2022-021ARTS:下半年開始
With excellent strength, wangchain technology, together with IBM and Huawei, has entered the annual contribution list of "super ledger"!
输入年份、月份,确定天数
线性代数1.1
It's healthy to drink medicinal wine like this. Are you drinking it right
Detailed introduction to the big changes of Xcode 14
Project 1 household accounting software (goal + demand description + code explanation + basic fund and revenue and expenditure details record + realization of keyboard access)
Google's official response: we have not given up tensorflow and will develop side by side with Jax in the future
大厂技术专家:架构设计中常用的思维模型
JVM中堆概念
tornado项目之路由装饰器
Activiti常見操作數據錶關系
Activiti常见操作数据表关系
Activiti common operation data table relationship
[untitled] notice on holding "2022 traditional fermented food and modern brewing technology"
Zephyr study notes 2, scheduling
Rapidjson reading and writing JSON files
[C language] open the door of C