zabbix监控项整理Items-key

agent.hostname:hostname,字符串

agent.ping:可用性检查,可用返回1;不可用返回空

agent.version:agent程序的版本,返回字符串

kernel.maxfiles:查询内核参数,系统中允许的文件描述符的最大数量。每个打开的文件、 套接字和管道, 都会占用一个文件描述符,返回整数

kernel.maxproc:系统支持的最大进程数量,返回整数

net.dns[<ip>,name,<type>,<timeout>,<count>,<protocol>]:检查DNS服务是否正常,正常返回1,异常返回0

net.dns.record[<ip>,name,<type>,<timeout>,<count>,<protocol>]:进行DNS查询并返回查询记录,返回字符串

net.if.in[if,<mode>]:网卡入口流量,返回整数

net.if.list:网卡接口信息,返回txt文本

net.if.out[if,<mode>]:网卡出口流量,返回整数

net.if.total[if,<mode>]:网卡进出流量和,返回整数

net.tcp.listen[port]:检查指定TCP端口是否开启,1开启;0关闭

net.tcp.port[<ip>,port]:检查是否可连接到指定TCP端口,1可连接;0不可连接

net.tcp.service[service,<ip>,<port>]:检查TCP服务及端口是否运行中,sshntpldapsmtpftphttppopnntp,imaptcphttpstelnet 等服务,1运行,0没运行

net.tcp.service.perf[service,<ip>,<port>]:检测连接到TCP服务的性能,sshntpldapsmtpftphttppopnntp,imaptcphttpstelnet 等服务,0没运行,其他:连接到服务耗时

net.udp.listen[port]:检测UDP端口是否在监听,0没监听,1在监听

net.udp.service[service,<ip>,<port>]:检查UDP服务及端口是否运行,1运行,0没运行

net.udp.service.perf[service,<ip>,<port>]:检测连接到UDP服务的性能,0没运行,其他:连接到服务耗时

perf_counter[counter,<interval>]:windows性能计数,如CPU占用率、I/O;根据需要可返回整数、浮点数、字符串

proc.cpu.util[<name>,<user>,<type>,<cmdline>,<mode>,<zone>]:返回CPU利用率;返回浮点数

proc.mem[<name>,<user>,<mode>,<cmdline>,<memtype>]:查询指定进程占用的内存;返回整数

proc.num[<name>,<user>,<state>,<cmdline>]:查询进程数量;返回整数

proc_info[process,<attribute>,<type>]:查询指定进程内存、虚拟内存使用清空;返回浮点数

sensor[device,sensor,<mode>]:读取硬件传感器的值,如CPU温度;返回浮点数

service.info[service,<param>]:查询指定服务的信息,如state、displayname、path、user、startup和description;根据需要返回数字或字符串

services[<type>,<state>,<exclude>];查询都有那些服务;没有的话返回0,有的话返回txt

system.boottime:系统时间戳;返回整数

system.cpu.intr:每秒中断数;返回整数

system.cpu.load[<cpu>,<mode>]:CPU负载;返回浮点数

system.cpu.num[<type>]:CPU个数;返回整数

system.cpu.switches:上下文切换数(CPU进程与线程的切换);返回整数

system.cpu.util[<cpu>,<type>,<mode>]:CPU利用率;返回浮点数

system.hostname[<type>]:主机名;字符串

system.hw.chassis[<info>]:服务器主板信息;字符串

system.hw.cpu[<cpu>,<info>]:CPU信息;字符串或整数

system.hw.devices[<type>]:PCI或USB设备信息;txt

system.hw.macaddr[<interface>,<format>]:MAC地址信息,字符串

system.localtime[<type>]:本地UTC时间;字符串

system.run[command,<mode>]:执行指定命令;返回指令执行结果

system.stat[resource,<type>]:查询系统信息,如虚拟内存使用、中断、CPU占用详情等;返回整数或浮点数

system.sw.arch:软件架构,即uname指令返回的信息;字符串

system.sw.os[<info>]:操作系统信息;字符串

system.sw.packages[<package>,<manager>,<format>]:已安装软件列表;txt

system.swap.in[<device>,<type>]:交换空间in,即磁盘交换到内存;整数

system.swap.out[<device>,<type>]:交换空间out,即内存交换到磁盘;整数

system.swap.size[<device>,<type>]:交换空间大小;整数或浮点数

system.uname:主机信息;字符串

system.uptime:系统运行时长;字符串

system.users.num:已登录用户数;整数

vfs.dev.read[<device>,<type>,<mode>]:磁盘读取状态;整数或浮点数

vfs.dev.write[<device>,<type>,<mode>]:磁盘写入统计;整数或浮点数

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>]:目录计数;整数

vfs.dir.size[dir,<regex_incl>,<regex_excl>,<mode>,<max_depth>,<regex_excl_dir>]:目录大小;整数

vfs.file.cksum[file]:获取文件的cksum值;整数

vfs.file.contents[file,<encoding>]:获取文件内容;txt或空字符串

vfs.file.exists[file]:检测文件是否存在:0不存在、1存在

vfs.file.md5sum[file]:获取文件的MD5值;字符串

vfs.file.regexp[file,regexp,<encoding>,<start line>,<end line>,<output>]:查询文件是否包含字符串;返回匹配行或空

vfs.file.regmatch[file,regexp,<encoding>,<start line>,<end line>]:文件是否包含某字符串;0不包含、1包含

vfs.file.size[file]:获取文件大小;整数

vfs.file.time[file,<mode>]:获取文件的最近访问时间、创建时间等等;unix时间戳

vfs.fs.inode[fs,<mode>]:文件系统的inode信息;整数或浮点数

vfs.fs.size[fs,<mode>]:磁盘空间信息;整数或浮点数

vm.memory.size[<mode>]:内存大小信息;整数或浮点数

vm.vmemory.size[<type>]:虚拟内存大小信息;整数或浮点数

web.page.get[host,<path>,<port>]:获取网页源码;txt

web.page.perf[host,<path>,<port>]:加载网页耗时;浮点数

web.page.regexp[host,<path>,<port>,regexp,<length>,<output>]:网页上查找字符串;返回查找的字符串或空

wmi.get[<namespace>,<query>]:执行WMI查询,使用windows提供的WMI接口查询信息

zabbix.stats[<ip>,<port>]:查询zabbix server或proxy内部衡量指标;json

zabbix.stats[<ip>,<port>,queue,<from>,<to>]:zabbix server或proxy队列中滞留的items

原文地址:https://www.cnblogs.com/cation/p/11364113.html