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


边栏推荐
- When JDBC connects to es query, is there a God who meets the following situation?
- L1-025 positive integer a+b (15 points)
- Experience installing VMware esxi 6.7 under VMware Workstation 16
- Flask 常用组件
- User login function: simple but difficult
- tornado之目录
- Jianmu continuous integration platform v2.2.2 release
- Electronic Association C language level 1 35, bank interest
- socket inet_ pton() inet_ Ntop() function (a new network address translation function, which converts the expression format and numerical format to each other. The old ones are inet_aton(), INET_ ntoa
- [FreeRTOS] FreeRTOS learning notes (7) - handwritten FreeRTOS two-way linked list / source code analysis
猜你喜欢

Chain ide -- the infrastructure of the metauniverse

Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool

Flask 常用组件

A real penetration test

Linear algebra 1.1

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

The cloud native programming challenge ended, and Alibaba cloud launched the first white paper on application liveliness technology in the field of cloud native

Rhcsa the next day

Transition technology from IPv4 to IPv6

Amd RX 7000 Series graphics card product line exposure: two generations of core and process mix and match
随机推荐
MySQL error resolution - error 1261 (01000): row 1 doesn't contain data for all columns
果果带你写链表,小学生看了都说好
University stage summary
在所有SwiftUI版本(1.0-4.0)中原生实现Charts图表视图之思路
Basic DOS commands
大学阶段总结
Zabbix agent主动模式的实现
User login function: simple but difficult
21个战略性目标实例,推动你的公司快速发展
BibTex中参考文献种类
人生规划(Flag)
Zephyr 学习笔记2,Scheduling
This monitoring system can monitor the turnover intention and fishing all, and the product page has 404 after the dispute appears
When JDBC connects to es query, is there a God who meets the following situation?
PCIe knowledge points -010: where to get PCIe hot plug data
Relations courantes de la fiche de données d'exploitation pour les activités
How to buy financial products in 2022?
JVM中堆概念
Activiti常見操作數據錶關系
[untitled] notice on holding "2022 traditional fermented food and modern brewing technology"