1 不同平台支持的监控项

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

  • 标记为 "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 ▼▼
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>] X X X X X X X X X X X
logrt[file_format,<regexp>,<encoding>,<maxlines>,<mode>,<output>] X 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
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 - - - - -
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 - - - - -
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>] X X X X X 3 X X X - X X
state all (default) - X X X X 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
cmdline - X X X X X X X - X 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>] 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 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
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 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
1 2 3 4 5 6 7 8 9 10 11
vfs.dev.read[<device>,<type>,<mode>] - X X X X - X - - X -
type

(defaults are different
under various OSes)
sectors - X X - - - - - - - -
operations - X X X X - X - - X -
bytes - - - X X - X - - X -
sps - X X - - - - - - - -
ops - X X X - - - - - - -
bps - - - 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

(defaults are different
under various OSes)
sectors - X X - - - - - - - -
operations - X X X X - X - - X -
bytes - - - X X - X - - X -
sps - X X - - - - - - - -
ops - X X X - - - - - - -
bps - - - X - - - - - - -
mode
(compatible only with
type in: sps, ops, bps)
avg1 (default) - X X X - - - - - - -
avg5 - X X X - - - - - - -
avg15 - 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] 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 X 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.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 会返回这些字段的一个值。

3 Solaris系统中, /proc/pid/psinfo 获得的命令行限制为80 字节 而且在进程启动时包含命令行。

1 Items supported by platform

The table displays support for Zabbix agent items on various platforms:

  • Items marked with "X" are supported, the ones marked with "-" are not supported.
  • If an item is marked with "?", it is not known whether it is supported or not.
  • If an item is marked with "r", it means that it requires root privileges.
  • Parameters that are included in angle brackets <like_this> are optional.

Windows-only Zabbix agent items are not included in this table.

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>] X X X X X X X X X X X
logrt[file_format,<regexp>,<encoding>,<maxlines>,<mode>,<output>] X 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
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 - - - - -
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 - - - - -
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>] 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
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>] 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 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
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 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
1 2 3 4 5 6 7 8 9 10 11
vfs.dev.read[<device>,<type>,<mode>] - X X X X - X - - X -
type

(defaults are different
under various OSes)
sectors - X X - - - - - - - -
operations - X X X X - X - - X -
bytes - - - X X - X - - X -
sps - X X - - - - - - - -
ops - X X X - - - - - - -
bps - - - 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

(defaults are different
under various OSes)
sectors - X X - - - - - - - -
operations - X X X X - X - - X -
bytes - - - X X - X - - X -
sps - X X - - - - - - - -
ops - X X X - - - - - - -
bps - - - 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.size[dir,<regex_incl>,<regex_excl>,<mode>,<max_depth>] 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] 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 X 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.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

See also a description of vm.memory.size parameters.

Footnotes

1 net.if.in, net.if.out and net.if.total items do not provide statistics of loopback interfaces (e.g. lo0).

2 These values for these items are not supported for loopback interfaces on Solaris systems up to and including Solaris 10 6/06 as byte, error and utilisation statistics are not stored and/or reported by the kernel. However, if you're monitoring a Solaris system via net-snmp, values may be returned as net-snmp carries legacy code from the cmu-snmp dated as old as 1997 that, upon failing to read byte values from the interface statistics returns the packet counter (which does exist on loopback interfaces) multiplied by an arbitrary value of 308. This makes the assumption that the average length of a packet is 308 octets, which is a very rough estimation as the MTU limit on Solaris systems for loopback interfaces is 8892 bytes.

These values should not be assumed to be correct or even closely accurate. They are guestimates. The Zabbix agent does not do any guess work, but net-snmp will return a value for these fields.

3 The command line on Solaris, obtained from /proc/pid/psinfo, is limited to 80 bytes and contains the command line as it was when the process was started.