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.hostnameX X X X X X X X X X X
agent.pingX X X X X X X X X X X
agent.versionX 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.discoveryX X X X X X X - - X X
net.if.in[if,<mode>]X X X X X X 1X - X X r
modebytes (default)X X X X X 2X X - X X r
packets X X X X X X X - X X r
errors X X X X X 2X X - X X r
dropped X X X X - X - - X X r
net.if.out[if,<mode>]X X X X X X 1X - X X r
modebytes (default)X X X X X 2X X - X X r
packets X X X X X X X - X X r
errors X X X X X 2X X - X X r
dropped X X X - - X - - - - -
net.if.total[if,<mode>]X X X X X X 1X - X X r
modebytes (default)X X X X X 2X X - X X r
packets X X X X X X X - X X r
errors X X X X X 2X 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- - - - - -
typetotal (default)- X X - X - - - - - -
user - X X - X - - - - - -
system - X X - X - - - - - -
modeavg1 (default)- X X - X - - - - - -
avg5 - X X - X - - - - - -
avg15 - X X - X - - - - - -
zonecurrent (default)- - - - X - - - - - -
all - - - - X - - - - - -
proc.mem[<name>,<user>,<mode>,<cmdline><memtype>]- X X X X 3- X X - X X
modesum (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 3X X X - X X
stateall (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.discoveryX 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
cpuall (default)X X X X X X X X X X X
percpu X X X X X X X - X X X
modeavg1 (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
typeonline (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
typeuser (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 - - - - - - - -
guestnice - - 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
typeutc (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
modewait (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.archX 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 ifdevice 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 ifdevice 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 -
typefree (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.unameX X X X X X X X X X X
system.uptimeX 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
modemodify (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.discoveryX X X X X X X - X X X
vfs.fs.inode[fs,<mode>]- X X X X X X X X X X
modetotal (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
modetotal (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
modetotal (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 字节 而且在进程启动时包含命令行。