首页 > 其他 > 详细

Zabbix agentd 命令

时间:2018-08-07 00:14:23      阅读:221      评论:0      收藏:0      [点我收藏+]

#zabbix_agentd -p 查看zabbix所有的内置监控项

[root@nod01 zabbix_agentd.d]# zabbix_agentd -p
agent.hostname [s|Zabbix server]
agent.ping [u|1]
agent.version [s|3.0.20]
system.localtime[utc] [u|1533566990]
system.run[echo test] [m|ZBX_NOTSUPPORTED] [Remote commands are not enabled.]
web.page.get[localhost,,80] [m|ZBX_NOTSUPPORTED] [HTTP get error: cannot connect to [[localhost]:80]: [111] Connection refused]
web.page.perf[localhost,,80] [m|ZBX_NOTSUPPORTED] [HTTP get error: cannot connect to [[localhost]:80]: [111] Connection refused]
web.page.regexp[localhost,,80,OK] [m|ZBX_NOTSUPPORTED] [HTTP get error: cannot connect to [[localhost]:80]: [111] Connection refused]
vfs.file.size[/etc/passwd] [u|1080]

root@nod01 zabbix_agentd.d]# zabbix_agentd -p | grep packages

 

#环境说明10.0.0.34为server 10.0.0.33为agent

#zabbix服务端安装10.0.0.34

[root@zabbixserver ~]# yum -y install zabbix-get

[root@zabbixserver ~]# zabbix_get -s 10.0.0.33 -k ‘system.uptime‘
28598

[root@zabbixserver ~]# zabbix_get -s 10.0.0.33 -k ‘tps‘
0.55

技术分享图片

[root@zabbixserver ~]# zabbix_get -s 10.0.0.33 -k ‘estab‘
3

技术分享图片

 

Zabbix agentd 命令

原文:https://www.cnblogs.com/nodchen/p/9434133.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!