{"id":4601,"date":"2018-09-14T04:44:57","date_gmt":"2018-09-14T04:44:57","guid":{"rendered":"https:\/\/geekdecoder.com\/?p=4601"},"modified":"2018-09-14T04:44:57","modified_gmt":"2018-09-14T04:44:57","slug":"zabbix-agent-on-debian","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2018\/09\/14\/zabbix-agent-on-debian\/","title":{"rendered":"Zabbix Agent on Debian"},"content":{"rendered":"<p>Install Zabbix Agent<\/p>\n<p>First, log into Zabbix agent instance and add the Zabbix repository with the following command:<br \/>\nChange version number for your zabbix version.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n# wget http:\/\/repo.zabbix.com\/zabbix\/3.4\/debian\/pool\/main\/z\/zabbix-release\/zabbix-release_3.0-2+stretch_all.deb\n# sudo dpkg -i zabbix-release_3.0-2+stretch_all.deb\n# sudo apt-get update -y\n\n<\/pre>\n<p>Install the Zabbix agent by just running the following command:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n# sudo apt-get install zabbix-agent -y\n\n<\/pre>\n<p>Once the Zabbix agent is installed, you will need to configure Zabbix agent to communicate with Zabbix server. You can do this by editing the Zabbix agent configuration file:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n# sudo nano \/etc\/zabbix\/zabbix_agentd.conf\n\n<\/pre>\n<p>Change the file as shown below:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n    #Zabbix Server IP Address \/ Hostname\n\n    Server=192.168.0.103\n\n    #Zabbix Agent Hostname\n\n    Hostname=zabbix-agent\n\n<\/pre>\n<p>Save and close the file when you are finished, then restart the Zabbix agent service and enable it to start on boot time with the following command:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n# sudo systemctl restart zabbix-agent\n# sudo systemctl enable zabbix-agent\n\n<\/pre>\n<p>Source: https:\/\/www.howtoforge.com\/tutorial\/install-zabbix-monitoring-server-and-agent-on-debian-9\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Install Zabbix Agent First, log into Zabbix agent instance and add the Zabbix repository with the following command: Change version number for your zabbix version. # wget http:\/\/repo.zabbix.com\/zabbix\/3.4\/debian\/pool\/main\/z\/zabbix-release\/zabbix-release_3.0-2+stretch_all.deb # sudo dpkg -i zabbix-release_3.0-2+stretch_all.deb # sudo apt-get update -y Install the Zabbix agent by just running the following command: # sudo apt-get install zabbix-agent -y Once &#8230; <a title=\"Zabbix Agent on Debian\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2018\/09\/14\/zabbix-agent-on-debian\/\" aria-label=\"Read more about Zabbix Agent on Debian\">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":[133],"tags":[],"class_list":["post-4601","post","type-post","status-publish","format-standard","hentry","category-zabbix"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/4601","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=4601"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/4601\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=4601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=4601"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=4601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}