栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

RedHat 5安装zabbix-agent

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

RedHat 5安装zabbix-agent

一、Redhat 5

1、安装系统

2、ssh登录查看系统

[root@localhost ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.18-308.el5 #1 SMP Fri Jan 27 17:17:51 EST 2012 x86_64 x86_64 x86_64 GNU/Linux

3、rpm方式安装(要找对系统版本和zabbix版本)

[root@localhost ~]# rpm -ivh http://repo.zabbix.com/zabbix/3.4/rhel/5/x86_64/zabbix-agent-3.4.0-1.el5.x86_64.rpm

4、修改配置文件(Server指定zabbix服务器IP地址,Hostname可以指定本机名)

[root@localhost ~]# vi /etc/zabbix/zabbix_agentd.conf 
Server=10.1.88.200
ServerActive=10.1.88.200
Hostname=redhat5

5、启动服务并设置开机启动

[root@localhost ~]# service zabbix-agent start
[root@localhost ~]# chkconfig zabbix-agent on

6、修改防火墙允许端口访问

[root@localhost ~]# vi  /etc/sysconfig/iptables
-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 10050 -j ACCEPT

[root@localhost ~]# service iptables restart 
二、zabbix服务器

1、添加主机

 2、查看状态

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/395609.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号