当前位置:网站首页>ZABBIX agent creates monitoring items
ZABBIX agent creates monitoring items
2022-07-23 08:01:00 【Xu's shy male god is a madman】
zabbix agent Create monitor item
Get into zabbix agent Configuration file for
[[email protected] ~]# w
14:43:55 up 17:00, 2 users, load average: 0.01, 0.04, 0.05
USER TTY FROM [email protected] IDLE JCPU PCPU WHAT
root :0 :0 3、 ... and 10 ?xdm? 5:34 0.27s /usr/libexec/gnome-session-binary --session gnome-classic
root pts/0 192.168.1.4 13:57 3.00s 0.13s 0.00s w
[[email protected] ~]# w |awk 'NR==1{print $4}'
2
We will create a to check the number of logged in users , If more than a few, call the police
[[email protected] ~]# vi /etc/zabbix/zabbix_agentd.conf

# After creating in the configuration file , Test it
[[email protected] ~]# yum install zabbix-get
[[email protected] ~]# zabbix_get -s 192.168.1.129 -k User_num
zabbix_get [12602]: Check access restrictions in Zabbix agent configuration
# Wrong report , see log journal
[[email protected] ~]# vim /var/log/zabbix/zabbix_agentd.log
# See the figure below for error reporting
# Get into zabbix_agent Configuration file for
take Server = The server ip,192.168.1.129( Is your current agent Host address )
Restart the service !!! Make sure you reboot , Otherwise, the configuration file will not take effect
[[email protected] ~]# systemctl restart zabbix-agent.service
[[email protected] ~]# zabbix_get -s 192.168.1.129 -k User_num
2

Testing is completed , Go to web Page configuration monitoring item




边栏推荐
- VMware virtual machine changes static IP and reports an error unit network Service entered failed state solution
- Scala 获取指定目录下的所有文件
- 开幕在即 | “万物互联,使能千行百业”2022开放原子全球开源峰会OpenAtom OpenHarmony分论坛
- squid代理服务+ip代理池
- 毕业设计-----基于STM32的物联网环境检测系统
- 21 -- 除自身以外数组的乘积
- golang--module
- 实验四 DPCM
- JVM监控工具介绍jstack, jconsole, jinfo, jmap, jdb, jstat
- @Transactional transaction methods contain multiple transaction methods of the same kind. These transaction methods themselves are set to fail. There are two solutions
猜你喜欢

ProSci LAG3抗体:改善体外研究,助力癌症免疫治疗

I use the factory mode in jd.com and explain the factory mode clearly

VMware 中搭建 SylixOS 环境

php可不可以拆分数组

Patrick McHardy事件对开源社区的影响

实验六 MPEG

It can't be true? Nailing has been downloaded. Don't you know you can play like this?

Scala generic generic class details - t

Storage structure and method of graph (I)

目标检测之锚点与锚框
随机推荐
[record of question brushing] 18. Sum of four numbers
Etcdv3 · watch operation implementation and relevant key instructions
Amazon's zoox passed the safety test and applied for a test drive in California
Ftxui basic notes (Hello World)
Qt文档阅读笔记-QAudioInput&QAudioFormat解析与实例
Worthington溶菌酶技术说明及文献参考
[original dry goods] found a useful tool for data analysis
ASP.Net Core创建MVC项目上传多个文件(流方式)
HCIP --- BGP综合实验
Scala 获取指定目录下的所有文件
SLAAC 无状态地址自动配置
如何在 PHP 应用程序中预防SQL 注入
如何保护 JDBC 应用程序免受 SQL 注入
Fastapi learning (II) -- fastapi+jinjia2 template rendering web page (jump back to the rendering page)
Scala when used Performance problems of contains().Exists()
我为OpenHarmony 写代码,战“码”先锋第二期正式开启!
SQL报错盲注实例分析
Scala main constructor_ Scala main constructor depth
算法面试高频题解指南【一】
组蛋白研究丨Worthington小牛胸腺组蛋白的特征及文献参考