{"id":2945,"date":"2016-02-11T17:16:35","date_gmt":"2016-02-11T17:16:35","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=2945"},"modified":"2016-02-11T17:16:35","modified_gmt":"2016-02-11T17:16:35","slug":"install-zabbix-agent-on-centos-6","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2016\/02\/11\/install-zabbix-agent-on-centos-6\/","title":{"rendered":"Install Zabbix agent on CentOS"},"content":{"rendered":"<p>Link to install zabbix server on centOS 6- <a href=\"http:\/\/www.unixmen.com\/install-zabbix-monitoring-tool-centos-6-5\/\" target=\"_blank\" rel=\"noopener\">http:\/\/www.unixmen.com\/install-zabbix-monitoring-tool-centos-6-5\/<\/a><\/p>\n<p>Zabbix Documentation &#8211;\u00a0<a href=\"https:\/\/www.zabbix.com\/documentation\/3.4\/manual\/installation\/install_from_packages\/rhel_centos\">https:\/\/www.zabbix.com\/documentation\/3.4\/manual\/installation\/install_from_packages\/rhel_centos<\/a><\/p>\n<p>Install on CentOS 7 &#8211; <a href=\"http:\/\/www.unixmen.com\/how-to-install-zabbix-server-on-centos-7\/\" target=\"_blank\" rel=\"noopener\">http:\/\/www.unixmen.com\/how-to-install-zabbix-server-on-centos-7\/<\/a><\/p>\n<p>Install Epel<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># yum install epel-release\n<\/pre>\n<p>Configure the ZabbixZone package repository and GPG key using command:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># rpm --import http:\/\/repo.zabbix.com\/RPM-GPG-KEY-ZABBIX\n<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># rpm -Uv  http:\/\/repo.zabbix.com\/zabbix\/2.4\/rhel\/7\/x86_64\/zabbix-release-2.4-1.el7.noarch.rpm\n<\/pre>\n<p>Install the agent<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># yum install zabbix-agent\n<\/pre>\n<p>Modify Zabbix Agent Configuration<br \/>\nOpen zabbix_agentd.conf and make below necessary changes (Add your Zabbix Server IP and add Zabbix Agent hostname) and save + Exit.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># sudo nano \/etc\/zabbix\/zabbix_agentd.conf\nServer=192.168.1.106\nServerActive=192.168.1.106\nHostname=server.geekdecoder.com\n<\/pre>\n<p>Set to on<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># chkconfig zabbix-agent on\n<\/pre>\n<p>Restart Zabbix Agent<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># service zabbix-agent restart\nor\n# \/etc\/init.d\/zabbix-agent restart\n\n# For Systemd Systeme #\n# systemctl restart zabbix-agent.service\nor\n# systemctl restart zabbix-agent\nor\n# \/bin\/systemctl restart zabbix-agent.service\n<\/pre>\n<p>Add firewall rule in CentOS 7:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># firewall-cmd --permanent --zone=public --add-port=10050\/tcp\nsuccess\n# firewall-cmd --reload\nsuccess\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Link to install zabbix server on centOS 6- http:\/\/www.unixmen.com\/install-zabbix-monitoring-tool-centos-6-5\/ Zabbix Documentation &#8211;\u00a0https:\/\/www.zabbix.com\/documentation\/3.4\/manual\/installation\/install_from_packages\/rhel_centos Install on CentOS 7 &#8211; http:\/\/www.unixmen.com\/how-to-install-zabbix-server-on-centos-7\/ Install Epel # yum install epel-release Configure the ZabbixZone package repository and GPG key using command: # rpm &#8211;import http:\/\/repo.zabbix.com\/RPM-GPG-KEY-ZABBIX # rpm -Uv http:\/\/repo.zabbix.com\/zabbix\/2.4\/rhel\/7\/x86_64\/zabbix-release-2.4-1.el7.noarch.rpm Install the agent # yum install zabbix-agent Modify Zabbix Agent Configuration Open zabbix_agentd.conf &#8230; <a title=\"Install Zabbix agent on CentOS\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2016\/02\/11\/install-zabbix-agent-on-centos-6\/\" aria-label=\"Read more about Install Zabbix agent on CentOS\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-2945","post","type-post","status-publish","format-standard","hentry","category-administration"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/2945","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=2945"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/2945\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=2945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=2945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=2945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}