Basic steps to install Zabbix-agent for Linux systems that cannot connect to the Internet using RPM packages

Source: Internet
Author: User
Tags scp command

Just started to contact the Zabbix monitoring system, but also in the initial groping stage, in the company also set up a Zabbix monitoring test environment, and everyone to share my test process encountered problems, I hope to be the same as the novice help.

In an enterprise environment where some security policies are used to isolate some servers from connecting to the Internet, it is not appropriate to install zabbix-agent directly through Yum, which summarizes the basic steps of installing zabbix-agent for an intranet Linux system.

1. First, by configuring the server of the Yum source, Yumdownloader download the required installation package (or download it from the website, please note the corresponding version of your operating system and Zabbix server when downloading the installation package).

Zabbix-2.4.3-1.el5

Zabbix-agent-2.4.3-1.el5


2. Download the Zabbix repo key file on the Internet (also note the corresponding version) and import, no this step will be reported similar to the following error message:

[Email protected] tmp]# RPM-IVH zabbix-agent-2.4.3-1.el5.x86_64.rpm

Warning:zabbix-agent-2.4.3-1.el5.x86_64.rpm:header V4 DSA Signature: Nokey, key ID 79ea5ed4


Import Repo:

[Email protected] tmp]# rpm--import Zabbix-official-repo.key

Links to Repo:

http://repo.zabbix.com/


3. Through FTP, SCP command and other methods see the installation package transfer to intranet Linux

4. There is a dependency on the installation, please install ZABBIX-2.4.3-1.EL5 First, then install Zabbix-agent-2.4.3-1.el5

The following error will be reported when installing ZABBIX-AGENT-2.4.3-1.EL5 first:
[Email protected] tmp]# RPM-IVH zabbix-agent-2.4.3-1.el5.x86_64.rpm

error:failed dependencies:
Zabbix is needed by zabbix-agent-2.4.3-1.el5.x86_64


[Email protected] tmp]# RPM-IVH zabbix-2.4.3-1.el5.x86_64.rpm
Preparing ... ########################################### [100%]
1:zabbix ########################################### [100%]
[Email protected] tmp]# RPM-IVH zabbix-agent-2.4.3-1.el5.x86_64.rpm
Preparing ... ########################################### [100%]
1:zabbix-agent ########################################### [100%]


5. After successful installation, configure the Zabbix server IP address in the/etc/zabbix/zabbix_agentd.conf file (this is the default configuration, you can monitor the system through Zabbix server), or any other parameters you need to revise


6. Configure the Zabbix-agent service to start

[[Email protected] zabbix]# service zabbix-agent status
Zabbix_agentd is stopped
[[Email protected] zabbix]# service zabbix-agent start
Starting Zabbix agent: [OK]

[Email protected] zabbix]# chkconfig--list |grep zabbix-agent

Zabbix-agent 0:off 1:off 2:off 3:off 4:off 5:off 6:off
[Email protected] zabbix]# chkconfig zabbix-agent on
[Email protected] zabbix]# chkconfig--list |grep zabbix-agent
Zabbix-agent 0:off 1:off 2:on 3:on 4:on 5:on 6:off


7. Verify that the client is connected properly from the Zabbix server side

[Email protected] ~]# zabbix_get-s 10.1.99.5-k system.uname
Linux bj-ts-20 2.6.18-128.1.6.el5 #1 SMP Wed Apr 1 06:58:14 EDT x86_64


This article is from the "keepgoing" blog, make sure to keep this source http://itsir.blog.51cto.com/1196724/1606918

Basic steps to install Zabbix-agent for Linux systems that cannot connect to the Internet using RPM packages

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.