码迷,mamicode.com
首页 > 其他好文 > 详细

Items 常用 Key

时间:2017-09-23 20:26:13      阅读:225      评论:0      收藏:0      [点我收藏+]

标签:targe   manual   listen   log   https   line   ref   node   content   

items  key  用法参考官网:https://www.zabbix.com/documentation/2.2/manual/config/items/itemtypes/zabbix_agent

zabbix 默认的 items key :http://xiaodongge.blog.51cto.com/11636589/1920899

监控网卡流量的 Key :

net.if.in[if,<mode>]
net.if.out[if,<mode>]
net.if.collisions[if]
net.if.discovery
net.if.total[if,<mode>]

监控端口的 Key :

net.tcp.listen[port]
net.tcp.port[<ip>,port]
net.tcp.service[service,<ip>,<port>]
net.tcp.service.perf[service,<ip>,<port>]
net.udp.listen[port]

监控进程的 Key :

kernel.maxfiles
kernel.maxproc
proc.mem[<name>,<user>,<mode>,<cmdline>]
proc.num[<name>,<user>,<state>,<cmdline>]

监控 CPU 的 Key :

system.cpu.intr
system.cpu.load[<cpu>,<mode>]
system.cpu.num[<type>]
system.cpu.switches
system.cpu.util[<cpu>,<type>,<mode>]

监控内存的 Key :

vm.memory.size[<mode>]
system.swap.in[<device>,<type>]
system.swap.out[<device>,<type>]
system.swap.size[<device>,<type>]

监控 I/O 的 Key :

vfs.dev.read[<device>,<type>,<mode>]
vfs.dev.write[<device>,<type>,<mode>]
vfs.fs.inode[fs,<mode>]

监控文件的 Key :

vfs.file.cksum[file]
vfs.file.contents[file,<encoding>]
vfs.file.exists[file]
vfs.file.md5sum[file]
vfs.file.regexp[fie,regexp,<encoding>,<start line>,<end line>,<output>]
vfs.file.regmatch[file,regexp,<encoding>,<start line>,<end line>]
vfs.file.size[file]
vfs.file.time[file,<mode>]
vfs.fs.discovery
vfs.fs.size[fs,<mode>]

监控日志的 Key :

log[file,<regexp>,<encoding>,<maxlines>,<mode>,<output>]
logrt[file_pattern,<regexp>,<encoding>,<maxlines>,<mode>,<output>]

监控 Windows 的 Key :

eventlog[name,<regexp>,<severity>,<source>,<eventid>,<maxlines>,<mode>]
net.if.list
perf_counter[counter,<interval>]
proc_info[<process>,<attribute>,<type>]
service_state[*]
services[<type>,<state>,<exclude>]
wmi.get[<namespace>,<query>]

 

 

 

 

 

           

 

Items 常用 Key

标签:targe   manual   listen   log   https   line   ref   node   content   

原文地址:http://www.cnblogs.com/pzk7788/p/7581967.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!