{"id":4173,"date":"2021-02-15T21:47:32","date_gmt":"2021-02-15T12:47:32","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=4173"},"modified":"2023-06-22T05:23:29","modified_gmt":"2023-06-21T20:23:29","slug":"ubuntu-18-04%e3%81%abzabbix%ef%bc%88agent%ef%bc%89%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%ef%bc%81","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/4173","title":{"rendered":"Zabbix\uff08Agent\uff09\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01\uff08Ubuntu 18.04\uff09"},"content":{"rendered":"<p>Ubuntu 18.04\u306bZabbix\u306eAgent\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<h2>\u7ba1\u7406\u8005\u30e6\u30fc\u30b6\u306b\u30b9\u30a4\u30c3\u30c1\u3059\u308b\uff01<\/h2>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4f5c\u696d\u306f\u57fa\u672c\u7684\u306broot\u30e6\u30fc\u30b6\u3067\u884c\u3046\u305f\u3081\u3001\u6700\u521d\u306broot\u30e6\u30fc\u30b6\u306b\u30b9\u30a4\u30c3\u30c1\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n$ sudo su -\r\n#\r\n<\/pre>\n<h2>Zabbix\uff08Agent\uff09\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01<\/h2>\n<p>Zabbix\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<h3>Zabbix\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u767b\u9332\u3059\u308b\uff01<\/h3>\n<p>Zabbix\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u767b\u9332\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# wget https:\/\/repo.zabbix.com\/zabbix\/5.0\/ubuntu\/pool\/main\/z\/zabbix-release\/zabbix-release_5.0-1+bionic_all.deb\r\n# dpkg -i zabbix-release_5.0-1+bionic_all.deb\r\n# apt update\r\n<\/pre>\n<h3>Zabbix\u306eAgent\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01<\/h3>\n<p>Zabbix\u306eAgent\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# apt install zabbix-agent\r\n<\/pre>\n<h3>Zabbix\u306eAgent\u306e\u8a2d\u5b9a\u3092\u884c\u3046\uff01<\/h3>\n<p>Zabbix\u306eAgent\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002Server\u3001ServerActive\u3001Hostname\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# vi \/etc\/zabbix\/zabbix_agentd.conf\r\n...\r\nServer=&lt;Server IP Address&gt;\r\n...\r\nServerActive=&lt;Server IP Address&gt;\r\n...\r\nHostname=&lt;Agent's Hostname&gt;\r\n...\r\n<\/pre>\n<h3>Zabbix\u306eAgent\u3092\u518d\u8d77\u52d5\u3059\u308b\uff01<\/h3>\n<p>Zabbix\u306eAgent\u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002OS\u8d77\u52d5\u6642\u306e\u81ea\u52d5\u8d77\u52d5\u3082\u8a2d\u5b9a\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# systemctl restart zabbix-agent\r\n# systemctl enable zabbix-agent\r\n<\/pre>\n<h2>Zabbix\u306eServer\u306bAgent\u3092\u767b\u9332\u3059\u308b\uff01<\/h2>\n<p>Zabbix\u306eServer\u306bAgent\u3092\u767b\u9332\u3057\u3066\u3001\u76e3\u8996\u5bfe\u8c61\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002<br \/>\nConfiguration\u306eHosts\u3067\u300cCreate Hosts\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u3092\u5165\u529b\u3057\u3066\u3001\u300cAdd\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>Hostname : \u30db\u30b9\u30c8\u540d<\/li>\n<li>Groups : Linux Servers<\/li>\n<li>Interfaces\u306eIP address : IP\u30a2\u30c9\u30ec\u30b9<\/li>\n<li>Linked templates : Template OS Linux by Zabbix agent<\/li>\n<\/ul>\n<h2>\u76e3\u8996\u304c\u884c\u308f\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\uff01<\/h2>\n<p>Monitoring\u306eHost\u3067\u3001Status\u304cEnabled\u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002Graphs\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30b5\u30fc\u30d0\u306e\u72b6\u614b\u304c\u53d6\u5f97\u3067\u304d\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>Zabbix\u306eAgent\u3092Ubuntu 18.04\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001\u76e3\u8996\u5bfe\u8c61\u306b\u8ffd\u52a0\u3092\u884c\u3044\u307e\u3057\u305f\u3002<\/p>\n<h2>\u53c2\u8003\u60c5\u5831<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.zabbix.com\/\" target=\"_blank\" rel=\"noopener\">Zabbix<\/a><\/li>\n<\/ul>\n<h2>\u95a2\u9023\u8a18\u4e8b<\/h2>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/4198\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Zabbix\u3067\u904b\u7528\u76e3\u8996\u3092\u884c\u3046\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2021\/02\/eycatch_zabbix_01-150x150.png\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Zabbix\u3067\u904b\u7528\u76e3\u8996\u3092\u884c\u3046\uff01<\/div><div class=\"substr\">Zabbix\u3067\u904b\u7528\u76e3\u8996\u3092\u884c\u3046\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<h2>Zabbix\u66f8\u7c4d\uff08Amazon\uff09<\/h2>\n<p><iframe sandbox=\"allow-popups allow-scripts allow-modals allow-forms allow-same-origin\" style=\"width:120px;height:240px;\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&bc1=000000&IS2=1&bg1=FFFFFF&fc1=000000&lc1=0000FF&t=infotecr-22&language=ja_JP&o=9&p=8&l=as4&m=amazon&f=ifr&ref=as_ss_li_til&asins=B07TX5FXS5&linkId=7523c356aa348c010b768f66ad14e9f6\"><\/iframe><\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu 18.04\u306bZabbix\u306eAgent\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002 \u7ba1\u7406\u8005\u30e6\u30fc\u30b6\u306b\u30b9\u30a4\u30c3\u30c1\u3059\u308b\uff01 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4f5c\u696d\u306f\u57fa\u672c\u7684\u306broot\u30e6\u30fc\u30b6\u3067\u884c\u3046\u305f\u3081\u3001\u6700\u521d\u306broot\u30e6\u30fc\u30b6\u306b\u30b9\u30a4\u30c3\u30c1\u3057\u307e\u3059\u3002 $ sudo su - # Zabbix\uff08A\u2026<\/p>\n","protected":false},"author":1,"featured_media":7004,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[127],"tags":[51,562,52,564],"class_list":["post-4173","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-zabbix","tag-ubuntu","tag-zabbix","tag-52","tag-564"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/4173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/comments?post=4173"}],"version-history":[{"count":1,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/4173\/revisions"}],"predecessor-version":[{"id":12496,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/4173\/revisions\/12496"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/7004"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=4173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=4173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=4173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}