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


边栏推荐
- Oracle stored procedures and functions
- Zephyr Learning note 2, Scheduling
- [untitled] notice on holding "2022 traditional fermented food and modern brewing technology"
- Take you to master the formatter of visual studio code
- Handwritten easy version flexible JS and source code analysis
- "Sword finger offer" 2nd Edition - force button brush question
- How to reset IntelliSense in vs Code- How to reset intellisense in VS Code?
- Directory of tornado
- Leetcode(215)——数组中的第K个最大元素
- Relations courantes de la fiche de données d'exploitation pour les activités
猜你喜欢

A real penetration test

Rhcsa the next day

How to use MOS tube to realize the anti reverse connection circuit of power supply
![[C language] open the door of C](/img/e0/2f107966423d6492c39995c77a445e.jpg)
[C language] open the door of C

Unity 从Inspector界面打开资源管理器选择并记录文件路径

User login function: simple but difficult

MySQL中的文本处理函数整理,收藏速查

Linear algebra 1.1

Zabbix agent主动模式的实现

The IP bound to the socket is inaddr_ The meaning of any htonl (inaddr_any) (0.0.0.0 all addresses, uncertain addresses, arbitrary addresses)
随机推荐
JVM -- class loading process and runtime data area
One of the general document service practice series
Thesis learning -- time series similarity query method based on extreme point characteristics
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
Take you to master the formatter of visual studio code
The IP bound to the socket is inaddr_ The meaning of any htonl (inaddr_any) (0.0.0.0 all addresses, uncertain addresses, arbitrary addresses)
2022-021rts: from the second half of the year
人生规划(Flag)
2022-021ARTS:下半年開始
There is no Chinese prompt below when inputting text in win10 Microsoft Pinyin input method
Computer connects raspberry pie remotely through putty
Project 1 household accounting software (goal + demand description + code explanation + basic fund and revenue and expenditure details record + realization of keyboard access)
The frost peel off the purple dragon scale, and the xiariba people will talk about database SQL optimization and the principle of indexing (primary / secondary / clustered / non clustered)
手写简易版flexible.js以及源码分析
NLP literature reading summary
谷歌官方回应:我们没有放弃TensorFlow,未来与JAX并肩发展
Pangu open source: multi support and promotion, the wave of chip industry
Node foundation ~ node operation
Solution of running crash caused by node error
This monitoring system can monitor the turnover intention and fishing all, and the product page has 404 after the dispute appears