zabbix是一个基于WEB界面的提供分布式系统监视以及网络监视功能的企业级的开源解决方案。
zabbix能监视各种网络参数,保证服务器系统的安全运营;并提供灵活的通知机制以让系统管理员快速定位/解决存在的各种问题。zabbix安装
被监控端:主机通过安装agent方式采集数据,网络设备通过SNMP方式采集数据
Server端:通过收集SNMP和agent发送的数据,写入MySQL,再通过php+apache在web前端展示。zabbix安装
它可以运行在Linux, Unix,Windows等平台上。Zabbix Server需要运行在LAMP环境。
特点:
- 支持多语言(包括中文)
- 免费开源
- 自动发现服务器与网络设备
- 分布式监视以及WEB集中管理功能
- 可以无agent监视
- 用户安全认证和柔软的授权方式
- 通过WEB界面设置或查看监视结果
- email等通知功能
Zabbix主要功能:
- CPU负荷
- 内存使用
- 磁盘使用
- 网络状况
- 端口监视
- 日志监视
下载: Stable/2.2.1/zabbix-2.2.1.tar.gz
1、安装LAMP环境
[root@monitor ~]# yum install httpd mysql mysql-server mysql-devel php php-mysql php-gd php-bcmath php-xml php-mbstring net-snmp net-snmp-devel curl-devel –y [root@monitor ~]# service httpd start [root@monitor ~]# chkconfig httpd on [root@monitor ~]# service mysqld start [root@monitor ~]# mysqladmin -u root password 123.com [root@monitor ~]# chkconfig mysqld on [root@monitor ~]# vi /etc/my.cnf [mysqld] character_set_server=utf8 #设置默认编码
2、安装Zabbix Server
[root@monitor ~]# groupadd zabbix [root@monitor ~]# useradd -g zabbix -s /sbin/nologin zabbix [root@monitor ~]# tar zxvf zabbix-2.2.1.tar.gz [root@monitor ~]# cd zabbix-2.2.1 [root@monitor zabbix-2.2.1]# ./configure --prefix=/usr/local/zabbix --enable-server --enable-agent --with-mysql --with-net-snmp --with-libcurl [root@monitor zabbix-2.2.1]# make && make install
本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/ruanjian/article-27595-1.html
去努力