zabbix监控硬件及服务(详解)一
一.items监控项(详解)
1.简介:监控内存包含很多维度,某一个维度(信息是数值还是字母,获取数据的间隔。)
2.获取监控数据方式
zabbix-agent
SNMP-简单的网际管理协议
3. 取值的数据类型/单位
磁盘容量单位一般为B(记住)
网卡流量单位为bps
MySQL每秒select,insert,每秒访问量 qps
CPU
Interrupts per second ips 每秒的中断总数。
user time float %
Context switches per second sps 每秒上下文切换 进程线程切换
Host boot time unixtime 系统启动的时间
4.监控Key :组合命令
5.获取数据的间隔:1s 1m
6.历史数据保存的时间
7.趋势数据保存的时间
二.默认项示例
Linux OS 模板,关于mem的项目有5个
三.新建items示例
监控项:服务器启动分区剩余空间。
帮助
语法keyvfs.fs.size[fs,<mode>] 说明vfs.fs.size[fs,<mode>] Calculate disk space for a given volume. Disk space in KB. If mode is missing total is used. In case of mounted volume, unused disk space for local file system is returned. 示例vfs.fs.size[/,free]
1.新增模板
2.新增监控项
3.查看项
4.监控图形
5.查看图形
6.新建聚合图形
根据主机/业务分类,监控一台主机的不同项。创建聚合图形,需要选择所有者(有权限的用户)。并不是任何人都有权限看到聚合图形。
就只有一个图形所以两个是一样的
7.项加入聚合图形
监控项:服务器网络接口进出流量
帮助
网卡流量的监控key
net.if.in[if,<mode>] Network interface input statistic. Integer value. If mode is missing bytes is used.
net.if.out[if,<mode>] Network interface output statistic. Integer value. If mode is missing bytes is used.
net.if.total[if,<mode>] Sum of network interface incoming and outgoing statistics. Integer value. Mode - one of bytes (default), packets, errors or dropped
1.新建项IN
注意:您的网络接口名称可能是eth0
在配置》模板》刚刚新建的模板》监控项》创建监控项
2.新建项out
3.新建项all
4.新建项MEM
5.创建图形
6.模板关联主机
8.最新数据
9.创建聚合图形
监控项:服务器服务状态
帮助:
帮助监控服务端口key
net.tcp.listen[port] Checks if this port is in LISTEN state. 0 - it is not, 1 - it is in LISTEN state.
net.tcp.port[<ip>,port] Check, if it is possible to make TCP connection to the port number. 0 - cannot connect, 1 - can connect. IP address is optional. If ip is missing, 127.0.0.1 is used. Example: net.tcp.port[,80]
net.tcp.service[service,<ip>,<port>] Check if service is available. 0 - service is down, 1 - service is running. If ip is missing 127.0.0.1 is used. If port number is missing, default service port is used.
net.tcp.service.perf[service,<ip>,<port>] Check performance of service "service". 0 - service is down, sec - number of seconds spent on connection to the service. If ip is missing 127.0.0.1 is used. If port number is missing, default service port is used.
Example: net.tcp.service[ftp,,45]. http,192.168.100.10,80
图示
还有其它监控项例子请看(详解二)。
zabbix监控硬件及服务(详解)一相关推荐
- Zabbix+MatrixDB大规模监控与分析解决方案详解(含PPT)
首先,谢谢原作者:(此文为转载的文章,现将原地址贴出如下:以下文章来源于yMatrix,作者MatrixDB团队Zabbix+MatrixDB大规模监控与分析解决方案详解(含PPT)) 更多精彩Zab ...
- linux rpm安装zabbix,CentOS 7上安装Zabbix Server 3.0 图文详解
CentOS 7上安装Zabbix Server 3.0 图文详解 1.查看系统信息. cat /etc/RedHat-release CentOS Linux release 7.0.1406 (C ...
- Linux服务详解(主要基于RedHat系的及Centos默认服务详解)(综合整理)
转自:http://blog.csdn.net/jj198981/article/details/7605558 acpid ACPI(全称 Advanced Configuration and Po ...
- Windows7 个人服务详解及优化
Windows7 个人服务详解及优化! 这是我个人根据网上提供的服务优化说明来修改的([]号里就是我自己设定的),我是以安装了卡巴斯基和金山网镖的前提下关闭一些系统自带的防火墙和安全的服务,家庭电脑使 ...
- linux开机启动服务详解
http://blog.163.com/sjt_linux/blog/static/19931031920126295452884/ linux开机启动服务详解(转) 2012-07-29 17:45 ...
- 89-Spring Cloud 微服务详解
Spring Cloud 微服务详解 微服务架构: 在说明该架构之前,再次的说明互联网应用架构演进(虽然之前说明过了) 随着互联网的发展,用户群体逐渐扩大,网站的流量成倍增长,常规的单体架构已无法满足 ...
- windowsXP服务详解
XP服务详解 XP服务详解Alerter:当系统发生故障时向管理员发送错误警报,除非电脑处于局域网,而且配有网管管理员,一般不需要.(进程:services.exe) Application laye ...
- Windows XP服务详解
Windows XP服务详解 微软的个人操作系统从Win98发展到WinXP,为什么突然变得那么消耗系统资源呢?以至于很多人都感觉WinXP只是高配置的电脑才能运行的操作系统,其实不然.WinXP ...
- 微服务详解(一):概述
微服务详解(一):概述 微服务详解(二):解决方案 微服务详解(三):设置开发环境 微服务详解(四):领域驱动设计 微服务详解(五):实现微服务 微服务详解(六):部署与测试 微服务详解(七):微服务 ...
最新文章
- [技术文档] 一劳永逸,用USB设备制作多系统引导
- 关于页面元素在父容器里水平居中、垂直居中的问题
- 【Python】Pandas数据排序实现
- 华为路由器的NAT配置
- Linux运行级详解
- ActiveX控件在项目中的应用
- 塞尔达传说gba_《塞尔达传说缩小帽》是系列一年级生?,回忆众多玩友的启蒙之作...
- python实用技巧(一)
- java多线程实现医院叫号_Java多线程经典题目(医院挂号)
- 弱电设计:智能建筑设计标准GB50314-2015,pdf版本
- 无版权素材网站,免费、可商用
- MD5 32位加密
- Level up!从流量经营到客户运营实战技术分享
- python爬取问卷星内容_Python Selenium 问卷星自动填写
- 程序员,要不要考软考高级职称?
- 跨境解读:亚马逊封号,避雷专题
- asp.net一键服务器小工具_HashTab-查看哈希值小工具,一键插件文件md5值
- 谷歌浏览器翻译插件使用不了,替代品 AnyTranslation
- C++中内存块置0的三种方法:memset, ZeroMemory和SecurZeroMemory
- ArcGIS基础:等高线数据生成栅格DEM数据