1 平台支持的监控项
下表列出了不同平台支持的Zabbix Agent items 监控项:
- 标记为 “X“ 的监控项代表支持, 标记为”-“ 的监控项代表不支持.
- 如果监控项标记为 “?“, 不确定是否被支持.
- 如果监控项标记为 “r“, 代表该监控项需要 root 权限.
- 中括号 <like_this>中的参数为可选项.
只支持Windows Zabbix agent items不在该表中.
NetBSD | ▼▼ | |||||||||||
OpenBSD | ▼▼ | |||||||||||
Mac OS X | ▼▼ | |||||||||||
Tru64 | ▼▼ | |||||||||||
AIX | ▼▼ | |||||||||||
HP-UX | ▼▼ | |||||||||||
Solaris | ▼▼ | |||||||||||
FreeBSD | ▼▼ | |||||||||||
Linux 2.6 (and later) | ▼▼ | |||||||||||
Linux 2.4 | ▼▼ | |||||||||||
Windows | ▼▼ | |||||||||||
▼ Item ▼ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | |
agent.hostmetadata | X | X | X | X | X | X | X | X | X | X | X | |
agent.hostname | X | X | X | X | X | X | X | X | X | X | X | |
agent.ping | X | X | X | X | X | X | X | X | X | X | X | |
agent.variant | X | X | X | X | X | X | X | X | X | X | X | |
agent.version | X | X | X | X | X | X | X | X | X | X | X | |
kernel.maxfiles | - | X | X | X | - | - | - | ? | X | X | X | |
kernel.maxproc | - | - | X | X | X | - | - | ? | X | X | X | |
kernel.openfiles | - | X | X | ? | ? | ? | ? | ? | ? | ? | ? | |
log[file,<regexp>,<encoding>,<maxlines>,<mode>,<output>,<maxdelay>,<persistent_dir>] | X4 | X | X | X | X | X | X | X | X | X | X | |
persistent_dir ▲ | - | X | X | X | X | X | X | X | X | X | X | |
log.count[file,<regexp>,<encoding>,<maxproclines>,<mode>,<maxdelay>,<persistent_dir>] | X4 | X | X | X | X | X | X | X | X | X | X | |
persistent_dir ▲ | - | X | X | X | X | X | X | X | X | X | X | |
logrt[file_regexp,<regexp>,<encoding>,<maxlines>,<mode>,<output>,<maxdelay>,<options>,<persistent_dir>] | X4 | X | X | X | X | X | X | X | X | X | X | |
persistent_dir ▲ | - | X | X | X | X | X | X | X | X | X | X | |
logrt.count[file_regexp,<regexp>,<encoding>,<maxproclines>,<mode>,<maxdelay>,<options>,<persistent_dir>] | X4 | X | X | X | X | X | X | X | X | X | X | |
persistent_dir ▲ | - | X | X | X | X | X | X | X | X | X | X | |
modbus.get[endpoint,<slave id>,<function>,<address>,<count>,<type>,<endianness>,<offset>] | X | X | X | - | - | - | - | - | - | - | - | |
net.dns[<ip>,zone,<type>,<timeout>,<count>] | X | X | X | X | X | X | X | X | X | X | X | |
net.dns.record[<ip>,zone,<type>,<timeout>,<count>] | X | X | X | X | X | X | X | X | X | X | X | |
net.if.collisions[if] | - | X | X | X | X | - | X | - | X | X | r | |
net.if.discovery | X | X | X | X | X | X | X | - | - | X | X | |
net.if.in[if,<mode>] | X | X | X | X | X | X 1 | X | - | X | X | r | |
mode ▲ | bytes (default) | X | X | X | X | X 2 | X | X | - | X | X | r |
packets | X | X | X | X | X | X | X | - | X | X | r | |
errors | X | X | X | X | X 2 | X | X | - | X | X | r | |
dropped | X | X | X | X | - | X | - | - | X | X | r | |
overruns | - | X | X | - | - | - | - | - | - | - | - | |
frame | - | X | X | - | - | - | - | - | - | - | - | |
compressed | - | X | X | - | - | - | - | - | - | - | - | |
multicast | - | X | X | - | - | - | - | - | - | - | - | |
net.if.out[if,<mode>] | X | X | X | X | X | X 1 | X | - | X | X | r | |
mode ▲ | bytes (default) | X | X | X | X | X 2 | X | X | - | X | X | r |
packets | X | X | X | X | X | X | X | - | X | X | r | |
errors | X | X | X | X | X 2 | X | X | - | X | X | r | |
dropped | X | X | X | - | - | X | - | - | - | - | - | |
overruns | - | X | X | - | - | - | - | - | - | - | - | |
collision | - | X | X | - | - | - | - | - | - | - | - | |
carrier | - | X | X | - | - | - | - | - | - | - | - | |
compressed | - | X | X | - | - | - | - | - | - | - | - | |
net.if.total[if,<mode>] | X | X | X | X | X | X 1 | X | - | X | X | r | |
mode ▲ | bytes (default) | X | X | X | X | X 2 | X | X | - | X | X | r |
packets | X | X | X | X | X | X | X | - | X | X | r | |
errors | X | X | X | X | X 2 | X | X | - | X | X | r | |
dropped | X | X | X | - | - | X | - | - | - | - | - | |
overruns | - | X | X | - | - | - | - | - | - | - | - | |
compressed | - | X | X | - | - | - | - | - | - | - | - | |
net.tcp.listen[port] | X | X | X | X | X | - | - | - | X | - | - | |
net.tcp.port[<ip>,port] | X | X | X | X | X | X | X | X | X | X | X | |
net.tcp.service[service,<ip>,<port>] | X | X | X | X | X | X | X | X | X | X | X | |
net.tcp.service.perf[service,<ip>,<port>] | X | X | X | X | X | X | X | X | X | X | X | |
net.tcp.socket.count[<laddr>,<lport>,<raddr>,<rport>,<state>] | X7 | X | X | - | - | - | - | - | - | - | - | |
net.udp.listen[port] | - | X | X | X | X | - | - | - | X | - | - | |
net.udp.service[service,<ip>,<port>] | X | X | X | X | X | X | X | X | X | X | X | |
net.udp.service.perf[service,<ip>,<port>] | X | X | X | X | X | X | X | X | X | X | X | |
net.udp.socket.count[<laddr>,<lport>,<raddr>,<rport>,<state>] | X7 | X | X | - | - | - | - | - | - | - | - | |
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | ||
proc.cpu.util[<name>,<user>,<type>,<cmdline>,<mode>,<zone>] | - | X | X | - | X 3 | - | - | - | - | - | - | |
type ▲ | total (default) | - | X | X | - | X | - | - | - | - | - | - |
user | - | X | X | - | X | - | - | - | - | - | - | |
system | - | X | X | - | X | - | - | - | - | - | - | |
mode ▲ | avg1 (default) | - | X | X | - | X | - | - | - | - | - | - |
avg5 | - | X | X | - | X | - | - | - | - | - | - | |
avg15 | - | X | X | - | X | - | - | - | - | - | - | |
zone ▲ | current (default) | - | - | - | - | X | - | - | - | - | - | - |
all | - | - | - | - | X | - | - | - | - | - | - | |
proc.mem[<name>,<user>,<mode>,<cmdline><memtype>] | - | X | X | X | X 3 | - | X | X | - | X | X | |
mode ▲ | sum (default) | - | X | X | X | X | - | X | X | - | X | X |
avg | - | X | X | X | X | - | X | X | - | X | X | |
max | - | X | X | X | X | - | X | X | - | X | X | |
min | - | X | X | X | X | - | X | X | - | X | X | |
memtype ▲ | - | X | X | X | X | - | X | - | - | - | - | |
proc.num[<name>,<user>,<state>,<cmdline>,<zone>] | X | X | X | X | X 3 | X | X | X | - | X | X | |
state ▲ | all (default) | - | X | X | X | X | X | X | X | - | X | X |
disk | - | X | X | X | - | - | - | - | - | X | X | |
sleep | - | X | X | X | X | X | X | X | - | X | X | |
zomb | - | X | X | X | X | X | X | X | - | X | X | |
run | - | X | X | X | X | X | X | X | - | X | X | |
trace | - | X | X | X | - | - | - | - | - | X | X | |
cmdline ▲ | - | X | X | X | X | X | X | X | - | X | X | |
zone ▲ | current (default) | - | - | - | - | X | - | - | - | - | - | - |
all | - | - | - | - | X | - | - | - | - | - | - | |
sensor[device,sensor,<mode>] | - | X | X | - | - | - | - | - | - | X | - | |
system.boottime | - | X | X | X | X | - | - | - | X | X | X | |
system.cpu.discovery | X | X | X | X | X | X | X | X | X | X | X | |
system.cpu.intr | - | X | X | X | X | - | X | - | - | X | X | |
system.cpu.load[<cpu>,<mode>] | X | X | X | X | X | X | X | X | X | X | X | |
cpu ▲ | all (default) | X | X | X | X | X | X | X | X | X | X | X |
percpu | X | X | X | X | X | X | X | - | X | X | X | |
mode ▲ | avg1 (default) | X | X | X | X | X | X | X | X | X | X | X |
avg5 | X | X | X | X | X | X | X | X | X | X | X | |
avg15 | X | X | X | X | X | X | X | X | X | X | X | |
system.cpu.num[<type>] | X | X | X | X | X | X | X | - | X | X | X | |
type ▲ | online (default) | X | X | X | X | X | X | X | - | X | X | X |
max | - | X | X | X | X | - | - | - | X | - | - | |
system.cpu.switches | - | X | X | X | X | - | X | - | - | X | X | |
system.cpu.util[<cpu>,<type>,<mode>,<logical_or_physical>] | X | X | X | X | X | X | X | X | - | X | X | |
type ▲ | user (default) | - | X | X | X | X | X | X | X | - | X | X |
nice | - | X | X | X | - | X | - | X | - | X | X | |
idle | - | X | X | X | X | X | X | X | - | X | X | |
system (default for Windows) | X | X | X | X | X | X | X | X | - | X | X | |
iowait | - | - | X | - | X | - | X | - | - | - | - | |
interrupt | - | - | X | X | - | - | - | - | - | X | - | |
softirq | - | - | X | - | - | - | - | - | - | - | - | |
steal | - | - | X | - | - | - | - | - | - | - | - | |
guest | - | - | X | - | - | - | - | - | - | - | - | |
guest_nice | - | - | X | - | - | - | - | - | - | - | - | |
mode ▲ | avg1 (default) | X | X | X | X | X | X | X | X | - | X | X |
avg5 | X | X | X | X | X | X | X | - | - | X | X | |
avg15 | X | X | X | X | X | X | X | - | - | X | X | |
logical_or_physical ▲ | logical (default) | - | - | - | - | - | - | X | - | - | - | - |
physical | - | - | - | - | - | - | X | - | - | - | - | |
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | ||
system.hostname[<type>,<transform>] | X | X | X | X | X | X | X | X | X | X | X | |
system.hw.chassis[<info>] | - | X | X | - | - | - | - | - | - | - | - | |
system.hw.cpu[<cpu>,<info>] | - | X | X | - | - | - | - | - | - | - | - | |
system.hw.devices[<type>] | - | X | X | - | - | - | - | - | - | - | - | |
system.hw.macaddr[<interface>,<format>] | - | X | X | - | - | - | - | - | - | - | - | |
system.localtime[<type>] | X | X | X | X | X | X | X | X | X | X | X | |
type ▲ | utc (default) | X | X | X | X | X | X | X | X | X | X | X |
local | X | X | X | X | X | X | X | X | X | X | X | |
system.run[command,<mode>] | X | X | X | X | X | X | X | X | X | X | X | |
mode ▲ | wait (default) | X | X | X | X | X | X | X | X | X | X | X |
nowait | X | X | X | X | X | X | X | X | X | X | X | |
system.stat[resource,<type>] | - | - | - | - | - | - | X | - | - | - | - | |
system.sw.arch | X | X | X | X | X | X | X | X | X | X | X | |
system.sw.os[<info>] | - | X | X | - | - | - | - | - | - | - | - | |
system.sw.packages[<package>,<manager>,<format>] | - | X | X | - | - | - | - | - | - | - | - | |
system.swap.in[<device>,<type>] (specifying a device is only supported under Linux) | - | X | X | - | X | - | - | - | - | X | - | |
type ▲ (pages will only work if device was not specified) | count (default under all except Linux) | - | X | X | - | X | - | - | - | - | X | - |
sectors | - | X | X | - | - | - | - | - | - | - | - | |
pages (default under Linux) | - | X | X | - | X | - | - | - | - | X | - | |
system.swap.out[<device>,<type>] (specifying a device is only supported under Linux) | - | X | X | - | X | - | - | - | - | X | - | |
type ▲ (pages will only work if device was not specified) | count (default under all except Linux) | - | X | X | - | X | - | - | - | - | X | - |
sectors | - | X | X | - | - | - | - | - | - | - | - | |
pages (default under Linux) | - | X | X | - | X | - | - | - | - | X | - | |
system.swap.size[<device>,<type>] (specifying a device is only supported under FreeBSD, for other platforms must be empty or “all”) | X | X | X | X | X | - | X | X | - | X | - | |
type ▲ | free (default) | X | X | X | X | X | - | X | X | - | X | - |
total | X | X | X | X | X | - | X | X | - | X | - | |
used | X | X | X | X | X | - | X | X | - | X | - | |
pfree | X | X | X | X | X | - | X | X | - | X | - | |
pused | X 6 | X | X | X | X | - | X | X | - | X | - | |
system.uname | X | X | X | X | X | X | X | X | X | X | X | |
system.uptime | X | X | X | X | X | - | X | ? | X | X | X | |
system.users.num | - | X | X | X | X | X | X | X | X | X | X | |
systemd.unit.discovery | - | X | X | - | - | - | - | - | - | - | - | |
systemd.unit.get | - | X | X | - | - | - | - | - | - | - | - | |
systemd.unit.info | - | X | X | - | - | - | - | - | - | - | - | |
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | ||
vfs.dev.discovery | - | X | X | - | - | - | - | - | - | - | - | |
vfs.dev.read[<device>,<type>,<mode>] | - | X | X | X | X | - | X | - | - | X | - | |
type ▲ | sectors | - | X | X | - | - | - | - | - | - | - | - |
operations (default for OpenBSD, AIX) | - | X | X | X | X | - | X | - | - | X | - | |
bytes (default for Solaris) | - | - | - | X | X | - | X | - | - | X | - | |
sps (default for Linux) | - | X | X | - | - | - | - | - | - | - | - | |
ops | - | X | X | X | - | - | - | - | - | - | - | |
bps (default for FreeBSD) | - | - | - | X | - | - | - | - | - | - | - | |
mode ▲ (compatible only with type in: sps, ops, bps) | avg1 (default) | - | X | X | X | - | - | - | - | - | - | - |
avg5 | - | X | X | X | - | - | - | - | - | - | - | |
avg15 | - | X | X | X | - | - | - | - | - | - | - | |
vfs.dev.write[<device>,<type>,<mode>] | - | X | X | X | X | - | X | - | - | X | - | |
type ▲ | sectors | - | X | X | - | - | - | - | - | - | - | - |
operations (default for OpenBSD, AIX) | - | X | X | X | X | - | X | - | - | X | - | |
bytes (default for Solaris) | - | - | - | X | X | - | X | - | - | X | - | |
sps (default for Linux) | - | X | X | - | - | - | - | - | - | - | - | |
ops | - | X | X | X | - | - | - | - | - | - | - | |
bps (default for FreeBSD) | - | - | - | X | - | - | - | - | - | - | - | |
mode ▲ (compatible only with type in: sps, ops, bps) | avg1 (default) | - | X | X | X | - | - | - | - | - | - | - |
avg5 | - | X | X | X | - | - | - | - | - | - | - | |
avg15 | - | X | X | X | - | - | - | - | - | - | - | |
vfs.dir.count[dir,<regex_incl>,<regex_excl>,<types_incl>,<types_excl>,<max_depth>,<min_size>,<max_size>,<min_age>,<max_age>,<regex_excl_dir>] | X | X | X | X | X | X | X | X | X | X | X | |
vfs.dir.get[dir,<regex_incl>,<regex_excl>,<types_incl>,<types_excl>,<max_depth>,<min_size>,<max_size>,<min_age>,<max_age>,<regex_excl_dir>] | X | X | X | X | X | X | X | X | X | X | X | |
vfs.dir.size[dir,<regex_incl>,<regex_excl>,<mode>,<max_depth>,<regex_excl_dir>] | X | X | X | ? | ? | ? | ? | ? | ? | ? | ? | |
vfs.file.cksum[file,<mode>] | X | X | X | X | X | X | X | X | X | X | X | |
vfs.file.contents[file,<encoding>] | X | X | X | X | X | X | X | X | X | X | X | |
vfs.file.exists[file,<types_incl>,<types_excl>] | X | X | X | X | X | X | X | X | X | X | X | |
vfs.file.get[file] | X | X | X | X | X | X | X | X | X | X | X | |
vfs.file.md5sum[file] | X | X | X | X | X | X | X | X | X | X | X | |
vfs.file.owner[file,<ownertype>,<resulttype>] | X | X | X | X | X | X | X | X | X | X | X | |
vfs.file.permissions[file] | - | X | X | ? | ? | ? | ? | ? | ? | ? | ? | |
vfs.file.regexp[file,regexp,<encoding>,<output>] | X | X | X | X | X | X | X | X | X | X | X | |
vfs.file.regmatch[file,regexp,<encoding>] | X | X | X | X | X | X | X | X | X | X | X | |
vfs.file.size[file,<mode>] | X | X | X | X | X | X | X | X | X | X | X | |
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | ||
vfs.file.time[file,<mode>] | X | X | X | X | X | X | X | X | X | X | X | |
mode ▲ | modify (default) | X | X | X | X | X | X | X | X | X | X | X |
access | X | X | X | X | X | X | X | X | X | X | X | |
change | X5 | X | X | X | X | X | X | X | X | X | X | |
vfs.fs.discovery | X | X | X | X | X | X | X | - | X | X | X | |
vfs.fs.get | X | X | X | X | X | X | X | - | X | X | X | |
vfs.fs.inode[fs,<mode>] | - | X | X | X | X | X | X | X | X | X | X | |
mode ▲ | total (default) | - | X | X | X | X | X | X | X | X | X | X |
free | - | X | X | X | X | X | X | X | X | X | X | |
used | - | X | X | X | X | X | X | X | X | X | X | |
pfree | - | X | X | X | X | X | X | X | X | X | X | |
pused | - | X | X | X | X | X | X | X | X | X | X | |
vfs.fs.size[fs,<mode>] | X | X | X | X | X | X | X | X | X | X | X | |
mode ▲ | total (default) | X | X | X | X | X | X | X | X | X | X | X |
free | X | X | X | X | X | X | X | X | X | X | X | |
used | X | X | X | X | X | X | X | X | X | X | X | |
pfree | X | X | X | X | X | X | X | X | X | X | X | |
pused | X | X | X | X | X | X | X | X | X | X | X | |
vm.memory.size[<mode>] | X | X | X | X | X | X | X | X | X | X | X | |
mode ▲ | total (default) | X | X | X | X | X | X | X | X | X | X | X |
active | - | - | - | X | - | X | - | - | X | X | X | |
anon | - | - | - | - | - | - | - | - | - | - | X | |
buffers | - | X | X | X | - | - | - | - | - | X | X | |
cached | X | X | X | X | - | - | X | - | - | X | X | |
exec | - | - | - | - | - | - | - | - | - | - | X | |
file | - | - | - | - | - | - | - | - | - | - | X | |
free | X | X | X | X | X | X | X | X | X | X | X | |
inactive | - | - | - | X | - | - | - | - | X | X | X | |
pinned | - | - | - | - | - | - | X | - | - | - | - | |
shared | - | X | - | X | - | - | - | - | - | X | X | |
wired | - | - | - | X | - | - | - | - | X | X | X | |
used | X | X | X | X | X | X | X | X | X | X | X | |
pused | X | X | X | X | X | X | X | X | X | X | X | |
available | X | X | X | X | X | X | X | X | X | X | X | |
pavailable | X | X | X | X | X | X | X | X | X | X | X | |
web.page.get[host,<path>,<port>] | X | X | X | X | X | X | X | X | X | X | X | |
web.page.perf[host,<path>,<port>] | X | X | X | X | X | X | X | X | X | X | X | |
web.page.regexp[host,<path>,<port>,regexp,<length>,<output>] | X | X | X | X | X | X | X | X | X | X | X | |
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
另请参见 vm.memory.size 参数说明
脚注
1 net.if.in,net.if.out和net.if.total监控项不提供环回接口的统计信息 (e.g. lo0).
2 这些监控项的这些值不支持Solaris系统上的环回接口(包括Solaris 10 6/06)作为字节,错误和利用率统计信息不会由内核存储和/或报告。但是,如果您通过net snmp监视Solaris系统,返回值可能是net-snmp携带遗留代码,但是,如果要通过net-snmp监视Solaris系统,则可能会返回net-snmp携带从1997年开始的cmu-snmp的旧代码,即在读取接口统计信息字节值之后,返回后分组计数器(它存在于环回接口上)乘以任意值308。 这假设分组的平均长度为308个八位字节,这是非常粗略的估计,因为用于环回接口的Solaris系统上的MTU限制为8892字节。
这些值不应该被认为是正确的,更不应该被认为是非常准确的。 他们是推测值。Zabbix agent 不会做任何猜测的工作, 但是 net-snmp会返回这些字段的一个值。
3 Solaris系统中, /proc/pid/psinfo 获得的命令行限制为80 字节 而且在进程启动时包含命令行。
4 Windows 事件日志不支持。
5 在 Windows XP 上 vfs.file.time[file,change] 可能是 等于 vfs.file.time[file,access]。
6 仅 Zabbix agent 2 支持; Zabbix agent 不支持
7 仅在 64 位 Windows 上被 Zabbix agent 2 支持;不是 由 Zabbix agent 支持。