zabbix 通过key 获取

时间:2022-06-01 21:32:05
zabbix:/root# zabbix_get -s 192.168.2.224 -k  "perf_counter[\Processor(_Total)\% Processor Time]"
63.146868
zabbix:/root# zabbix_get -s 192.168.2.224 -k "vm.memory.size[free]"
16163495936
zabbix:/root# zabbix_get -s 192.168.2.224 -k "vm.memory.size[total]"
34312073216
zabbix:/root# zabbix_get -s 192.168.2.224 -k "system.uname"
Windows USER-9ULO0VAQ2U 6.1.7601 Microsoft Windows Server 2008 R2 Enterprise Edition Service Pack 1 x64
zabbix:/root# zabbix_get -s 192.168.2.224 -k "vfs.fs.size[{#FSNAME},total]"
ZBX_NOTSUPPORTED
zabbix:/root# zabbix_get -s 192.168.2.224 -k "vfs.fs.size[{#FSNAME},used]"
ZBX_NOTSUPPORTED
zabbix:/root# zabbix_get -s 192.168.2.224 -k "system.uptime"
29474180