这是原厂英文文档的翻译页面. 欢迎帮助我们 完善文档.

1 不同平台支持的监控项

下表列出了不同平台支持的Zabbix agent监控项目:

  • 标记为 "X" 的监控项代表支持, 标记为"-" 的监控项代表不支持.
  • 如果监控项标记为 "?", 不确定是否被支持.
  • 如果监控项标记为 "r", 代表该监控项需要 root 权限.
  • 中括号 <like_this>中的参数为可选项.

Windows的Zabbix agent监控项 不在该表中.

NetBSD
OpenBSD ▼▼
Mac OS X ▼▼
Tru64 ▼▼
AIX ▼▼
HP-UX ▼▼
Solaris ▼▼
FreeBSD ▼▼
Linux 2.6 (and later) ▼▼
Linux 2.4 ▼▼
Windows ▼▼
Parameter / system ▼▼
▼▼ 1 2 3 4 5 6 7 8 9 10 11
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.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
log[file,<regexp>,<encoding>,<maxlines>,<mode>,<output>,<maxdelay>] X4 X X X X X X X X X X
log.count[file,<regexp>,<encoding>,<maxproclines>,<mode>,<maxdelay>] X4 X X X X X X X X X X
logrt[file_regexp,<regexp>,<encoding>,<maxlines>,<mode>,<output>,<maxdelay>,<options>] X4 X X X X X X X X X X
logrt.count[file_regexp,<regexp>,<encoding>,<maxproclines>,<mode>,<maxdelay>,<options>] X4 X X X X X X X 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.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
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
(since Zabbix 5.0.3)
logical (default) - - - - - - Х - - - -
physical - - - - - - Х - - - -
1 2 3 4 5 6 7 8 9 10 11
system.hostname[<type>] 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.size[dir,<regex_incl>,<regex_excl>,<mode>,<max_depth>,<regex_excl_dir>] X X X ? ? ? ? ? ? ? ?
vfs.file.cksum[file] 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.md5sum[file] X X X X X X X X X 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] 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

<note tip>另请参见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 会返回这些字段的一个值。

这些值不能当做准确值. 它们是临时的, 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 5.0.5开始只支持Zabbix agent 2不支持Zabbix agent。