{"id":112,"date":"2020-02-02T20:02:56","date_gmt":"2020-02-02T20:02:56","guid":{"rendered":"https:\/\/www.webmasterninjas.com\/developer\/?p=112"},"modified":"2020-02-03T04:24:50","modified_gmt":"2020-02-03T04:24:50","slug":"installing-zabbix-agent-4-4-1-on-ubuntu","status":"publish","type":"post","link":"https:\/\/www.webmasterninjas.com\/developer\/installing-zabbix-agent-4-4-1-on-ubuntu","title":{"rendered":"Installing Zabbix Agent 4.4.1 on Ubuntu"},"content":{"rendered":"\n<p>Install the same agent as that on your server (in this case Zabbix 4.4.1&#8230;.you can see the releases by hitting the release folder with your browser at  <a href=\"https:\/\/repo.zabbix.com\/zabbix\/4.4\/ubuntu\/pool\/main\/z\/zabbix-release\">https:\/\/repo.zabbix.com\/zabbix\/4.4\/ubuntu\/pool\/main\/z\/zabbix-release<\/a> <\/p>\n\n\n\n<p><strong>wget https:\/\/repo.zabbix.com\/zabbix\/4.4\/ubuntu\/pool\/main\/z\/zabbix-release\/zabbix-release_4.4-1+bionic_all.deb<\/strong><\/p>\n\n\n\n<p>add the package you just downloaded <\/p>\n\n\n\n<p><strong>sudo dpkg -i zabbix-release_4.4-1+bionic_all.deb<\/strong><\/p>\n\n\n\n<p>sudo apt update<\/p>\n\n\n\n<p>Install the agent<\/p>\n\n\n\n<p><strong>sudo apt install zabbix-agent<\/strong><\/p>\n\n\n\n<p>Configure the agent by editing the agent config file&#8230;.<\/p>\n\n\n\n<p><strong>vi \/etc\/zabbix\/zabbix_agentd.conf<\/strong><\/p>\n\n\n\n<p>edit the IP and the Host name<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>Server=IP address of Zabbix Server\n\nHostname=Hostname of client PC<\/strong><\/pre>\n\n\n\n<p>Restart and enable the agent<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>sudo systemctl restart zabbix-agent\n\nsudo systemctl enable zabbix-agent<\/strong><\/pre>\n\n\n\n<p>Verify the agent is up by checking the status<\/p>\n\n\n\n<p><strong>systemctl status zabbix-agent<\/strong><\/p>\n\n\n\n<p>and then of course, go to your Zabbix front end, add the Host and see the results!<\/p>\n\n\n\n<p><strong>Troubleshooting: <\/strong>Make sure the port 10050 (that&#8217;s the default&#8230;or whatever port you configured if you changed it) is open for pushing data to the Zabbix server.  Use nmap because it&#8217;s awesome.<\/p>\n\n\n\n<p>nmap -p 10050 [zabbix server IP], so for example nmap -p 10050 34.220.175.59<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Install the same agent as that on your server (in this case Zabbix 4.4.1&#8230;.you can see the releases by hitting the release folder with your browser at https:\/\/repo.zabbix.com\/zabbix\/4.4\/ubuntu\/pool\/main\/z\/zabbix-release wget https:\/\/repo.zabbix.com\/zabbix\/4.4\/ubuntu\/pool\/main\/z\/zabbix-release\/zabbix-release_4.4-1+bionic_all.deb add the package you just downloaded sudo dpkg -i zabbix-release_4.4-1+bionic_all.deb &hellip; <a href=\"https:\/\/www.webmasterninjas.com\/developer\/installing-zabbix-agent-4-4-1-on-ubuntu\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[32,33,34],"_links":{"self":[{"href":"https:\/\/www.webmasterninjas.com\/developer\/wp-json\/wp\/v2\/posts\/112"}],"collection":[{"href":"https:\/\/www.webmasterninjas.com\/developer\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webmasterninjas.com\/developer\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webmasterninjas.com\/developer\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webmasterninjas.com\/developer\/wp-json\/wp\/v2\/comments?post=112"}],"version-history":[{"count":3,"href":"https:\/\/www.webmasterninjas.com\/developer\/wp-json\/wp\/v2\/posts\/112\/revisions"}],"predecessor-version":[{"id":115,"href":"https:\/\/www.webmasterninjas.com\/developer\/wp-json\/wp\/v2\/posts\/112\/revisions\/115"}],"wp:attachment":[{"href":"https:\/\/www.webmasterninjas.com\/developer\/wp-json\/wp\/v2\/media?parent=112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webmasterninjas.com\/developer\/wp-json\/wp\/v2\/categories?post=112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webmasterninjas.com\/developer\/wp-json\/wp\/v2\/tags?post=112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}