监控Zabbix自定义OID

《安装配备分布式监察和控制连串Zabbix 2.06》
http://www.linuxidc.com/Linux/2013-07/86942.htm

安装配置遍及式监控系统Zabbix 2.06
http://www.linuxidc.com/Linux/2013-07/86942.htm

图片 1

2.在zabbix增加分类,项目和触发器

ZABBIX
的详尽介绍
:请点这里
ZABBIX
的下载地址
:请点这里

图片 2

64位CentOS 6.2下安装Zabbix 2.0.6 
 http://www.linuxidc.com/Linux/2014-11/109541.htm

图片 3

监控Zabbix自定义OID

CentOS 6.3下Zabbix监控apache server-status
http://www.linuxidc.com/Linux/2013-05/84740.htm

Ubuntu
14.04下Zabbix2.4.5 源码编写翻译安装 
http://www.linuxidc.com/Linux/2015-05/117657.htm

CentOS
6.3下Zabbix安装布置
http://www.linuxidc.com/Linux/2013-05/83786.htm

[root@db02 ~]# cat mysqlstat.sh
#!/bin/bash

mysqlstat=`ps aux | grep mysql | wc -l`
echo $mysqlstat
[root@db02 ~]# ./mysqlstat.sh
3

1.写监察和控制服务的剧本

3.查看图形

Zabbix分布式监控系统实行
http://www.linuxidc.com/Linux/2013-06/85758.htm

[root@db02 ~]# snmpwalk -v 2c -c public localhost
.1.3.6.1.2.1.1.9.1.4.100
SNMPv2-MIB::sysORUpTime.100 = No Such Instance currently exists at this
OID
[root@db02 ~]# vim /etc/snmp/snmpd.conf
extend .1.3.6.1.2.1.1.9.1.4.100  mysqlstat
/root/mysqlstat.sh    #拉长黄金时代行

[root@db02 ~]# /etc/init.d/snmpd restart
Stopping snmpd:                              [  OK  ]
Starting snmpd:                                [  OK  ]
[root@db02 ~]# snmpwalk -v 2c -c public localhost -On 
.1.3.6.1.2.1.1.9.1.4.100
.1.3.6.1.2.1.1.9.1.4.100.1.0 = Wrong Type (should be Timeticks):
INTEGER: 1
.1.3.6.1.2.1.1.9.1.4.100.2.1.2.9.109.121.115.113.108.115.116.97.116 =
Wrong Type (should be Timeticks): STRING: “/root/mysqlstat.sh”
.1.3.6.1.2.1.1.9.1.4.100.2.1.3.9.109.121.115.113.108.115.116.97.116 =
Wrong Type (should be Timeticks): “”
.1.3.6.1.2.1.1.9.1.4.100.2.1.4.9.109.121.115.113.108.115.116.97.116 =
Wrong Type (should be Timeticks): “”
.1.3.6.1.2.1.1.9.1.4.100.2.1.5.9.109.121.115.113.108.115.116.97.116 =
Wrong Type (should be Timeticks): INTEGER: 5
.1.3.6.1.2.1.1.9.1.4.100.2.1.6.9.109.121.115.113.108.115.116.97.116 =
Wrong Type (should be Timeticks): INTEGER: 1
.1.3.6.1.2.1.1.9.1.4.100.2.1.7.9.109.121.115.113.108.115.116.97.116 =
Wrong Type (should be Timeticks): INTEGER: 1
.1.3.6.1.2.1.1.9.1.4.100.2.1.20.9.109.121.115.113.108.115.116.97.116 =
Wrong Type (should be Timeticks): INTEGER: 4
.1.3.6.1.2.1.1.9.1.4.100.2.1.21.9.109.121.115.113.108.115.116.97.116 =
Wrong Type (should be Timeticks): INTEGER: 1
.1.3.6.1.2.1.1.9.1.4.100.3.1.1.9.109.121.115.113.108.115.116.97.116 =
Wrong Type (should be Timeticks): STRING: “5”
.1.3.6.1.2.1.1.9.1.4.100.3.1.2.9.109.121.115.113.108.115.116.97.116 =
Wrong Type (should be Timeticks): STRING: “5”
.1.3.6.1.2.1.1.9.1.4.100.3.1.3.9.109.121.115.113.108.115.116.97.116 =
Wrong Type (should be Timeticks): INTEGER: 1
.1.3.6.1.2.1.1.9.1.4.100.3.1.4.9.109.121.115.113.108.115.116.97.116 =
Wrong Type (should be Timeticks): INTEGER: 0
.1.3.6.1.2.1.1.9.1.4.100.4.1.2.9.109.121.115.113.108.115.116.97.116.1
= Wrong Type (should be Timeticks): STRING: “5”
[root@db02 ~]#

图片 4

CentOS 6.3下Zabbix监察和控制MySQL数据库参数
http://www.linuxidc.com/Linux/2013-05/84800.htm

有的Zabbix相关学科集合

 

图片 5

本文长久更新链接地址:http://www.linuxidc.com/Linux/2016-04/130745.htm

发表评论

电子邮件地址不会被公开。 必填项已用*标注