Zabbix agentd 命令
Posted nodchen
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Zabbix agentd 命令相关的知识,希望对你有一定的参考价值。
#zabbix_agentd -p 查看zabbix所有的内置监控项
[[email protected] 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]
[email protected] zabbix_agentd.d]# zabbix_agentd -p | grep packages
#环境说明10.0.0.34为server 10.0.0.33为agent
#zabbix服务端安装10.0.0.34
[[email protected] ~]# yum -y install zabbix-get
[[email protected] ~]# zabbix_get -s 10.0.0.33 -k ‘system.uptime‘
28598
[[email protected] ~]# zabbix_get -s 10.0.0.33 -k ‘tps‘
0.55
[[email protected] ~]# zabbix_get -s 10.0.0.33 -k ‘estab‘
3
以上是关于Zabbix agentd 命令的主要内容,如果未能解决你的问题,请参考以下文章