zabbix 监控端口和进程
2015-05-27 16:04
441 查看
zabbix 监控端口和进程用的是zabbix 自带的键值
进程用的是 proc.mem[<name>,<user>,<mode>,<cmdline>]
如果你监控的是widnows 主机进程是否存活
如监控cmd.exe 进程
则在新建监控项中填写如下,这里监控的进程意思是,windows 中有几个cmd.exe 进程在运行
监控linux 主机
name:是进程名
user:运行该进程的用户
state:进程状态包括run,sleep,zomb
cmdline:该项内容是模糊匹配,即用ps aux看到的最后一列中包含该字段则匹配上。
注:name匹配可能不是很准,一般根据cmdline来匹配进程
下面则介绍监控端口
端口用的键值是 net.tcp.listen[port] ,监控windows 和linux 都按下图这种方式
监听端口状态,返回结果为1,则运行;返回结果为0,则没有运行
进程用的是 proc.mem[<name>,<user>,<mode>,<cmdline>]
proc.mem[<name>,<user>,<mode>,<cmdline>] | Memory used by a process. <name> process name (default: "all processes"). <user> user name (default: "all users"). <mode> possible values: avg, max, min, sum (default). <cmdline> filter by command line (supports regex). Example: proc.mem[,root]. 监控进程占用的内存,不支持windows |
proc.num[<name>,<user>,<state>,<cmdline>] | Number of processes. <name>进程名字 and <user>运行进程的用户名 same as in proc.mem item. <state> 进程的状态 all (default), run, sleep, zomb. <cmdline>进程名中包含的字符 filter by command line (supports regex). Example: proc.num[apache2,www-data]. On Windows, only <name> and <user> are supported. windows只能使用<name> and <user> |
proc_info[<process>,<attribute>,<type>] | Different information abo |
如监控cmd.exe 进程
则在新建监控项中填写如下,这里监控的进程意思是,windows 中有几个cmd.exe 进程在运行
监控linux 主机
name:是进程名
user:运行该进程的用户
state:进程状态包括run,sleep,zomb
cmdline:该项内容是模糊匹配,即用ps aux看到的最后一列中包含该字段则匹配上。
注:name匹配可能不是很准,一般根据cmdline来匹配进程
下面则介绍监控端口
端口用的键值是 net.tcp.listen[port] ,监控windows 和linux 都按下图这种方式
监听端口状态,返回结果为1,则运行;返回结果为0,则没有运行
相关文章推荐
- 原来zabbix监控进程与端口是如此的简单!
- 使用zabbix自带key监控进程与端口
- zabbix使用自己编写脚本模板和zabbix自带模板两种方法添加对指定进程和端口的监控
- zabbix监控进程与端口
- 原来zabbix监控进程与端口是如此的简单!
- 原来zabbix监控进程与端口是如此的简单!
- zabbix3.0.4使用shell脚本和zabbix自带模板两种方法添加对指定进程和端口的监控
- zabbix3.0.4使用shell脚本和zabbix自带模板两种方法添加对指定进程和端口的监控
- Zabbix监控(十二):自动监控Linux端口
- Zabbix 3.2.6 自定义端口监控(Oracle)
- zabbix自动发现redis端口并监控redis性能
- zabbix自动发现mysql端口并监控
- zabbix 监控81端口
- zabbix监控进程的CPU和内存占用量,进程数量
- zabbix自动发现结合shell实现自动发现占用内存最大top10进程并监控其资源 推荐
- zabbix3.2端口监控
- zabbix监控端口
- zabbix监控特定进程
- zabbix如何监控进程
- zabbix通过自定义脚本监控nginx,php-fpm和mysql占用内存数和进程的个数