{"id":4268,"date":"2021-02-23T20:08:53","date_gmt":"2021-02-23T11:08:53","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=4268"},"modified":"2023-08-23T12:41:32","modified_gmt":"2023-08-23T03:41:32","slug":"hinemos%ef%bc%88%e3%82%a8%e3%83%bc%e3%82%b8%e3%82%a7%e3%83%b3%e3%83%88%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%ef%bc%88ubuntu-20-04%ef%bc%89","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/4268","title":{"rendered":"Hinemos\uff08\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\uff09\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01\uff08Ubuntu 20.04\uff09"},"content":{"rendered":"<p>Hinemos\u306e\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092Ubuntu 20.04\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<h2>OpenJDK\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01<\/h2>\n<p>OpenJDK\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# sudo apt install openjdk-8-jre\r\n<\/pre>\n<h2>SNMP\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01<\/h2>\n<p>SNMP\u306e\u6a5f\u80fd\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# apt install snmpd snmp\r\n<\/pre>\n<h2>Hinemos\u306e\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\uff01<\/h2>\n<p>\u4ee5\u4e0b\u306eHinemos\u306e\u30de\u30cd\u30fc\u30b8\u30e3\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3092<a href=\"https:\/\/github.com\/hinemos\/hinemos\/releases\" target=\"_blank\" rel=\"noopener\">\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/a>\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>hinemos-6.2-agent-6.2.2-1.ubuntu.noarch.rpm<\/li>\n<\/ul>\n<h2>Hinemos\u306e\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01<\/h2>\n<p>HINEMOS_MANAGER\u306e\u74b0\u5883\u5909\u6570\u306b\u30de\u30cd\u30fc\u30b8\u30e3\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u6307\u5b9a\u3057\u3066\u3001Hinemos\u306e\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# HINEMOS_MANAGER=10.1.12.3 apt install .\/hinemos-6.2-agent-6.2.2-1.ubuntu.noarch.deb\r\n<\/pre>\n<h2>Hinemos\u306e\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u8d77\u52d5\u3059\u308b\uff01<\/h2>\n<p>Hinemos\u306e\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# systemctl start hinemos_agent\r\n<\/pre>\n<h2>SNMP\u306e\u8a2d\u5b9a\u78ba\u8a8d\u3068\u8a2d\u5b9a\u5909\u66f4\u3092\u884c\u3046\uff01<\/h2>\n<p>SNMP\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u4ee5\u4e0b\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# cat \/etc\/snmp\/snmpd.conf\r\n...\r\nview\tsystemview\tincluded   .1.3.6.1\r\n...\r\n<\/pre>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001agentAdress\u306e\u8a2d\u5b9a\u3092\u7121\u52b9\u5316\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# vi \/etc\/snmp\/snmpd.conf\r\n...\r\n#agentaddress  127.0.0.1,&#x5B;::1]\r\n...\r\n<\/pre>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001SNMP\u306e\u8a2d\u5b9a\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# vi \/etc\/snmp\/snmpd.conf\r\n...\r\n####\r\n# First, map the community name &quot;public&quot; into a &quot;security name&quot;\r\n\r\n#       sec.name  source          community\r\ncom2sec notConfigUser  default       public\r\n\r\n####\r\n# Second, map the security name into a group name:\r\n\r\n#       groupName      securityModel securityName\r\ngroup   notConfigGroup v1           notConfigUser\r\ngroup   notConfigGroup v2c           notConfigUser\r\n\r\n####\r\n# Third, create a view for us to let the group have rights to:\r\n\r\n# Make at least  snmpwalk -v 1 localhost -c public system fast again.\r\n#       name           incl\/excl     subtree         mask(optional)\r\nview    systemonly    included   .1.3.6.1.2.1.1\r\nview    systemonly    included   .1.3.6.1.2.1.25.1\r\n\r\n# Finally, grant the group read-only access to the systemview view.\r\n\r\n#       group          context sec.model sec.level prefix read   write  notif\r\naccess  notConfigGroup &quot;&quot;      any       noauth    exact  systemonly none none\r\n####\r\n...\r\n#view   systemonly  included   .1.3.6.1.2.1.1\r\n#view   systemonly  included   .1.3.6.1.2.1.25.1\r\n...\r\n<\/pre>\n<p>snmpd\u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# systemctl restart snmpd\r\n<\/pre>\n<h2>Hinemos\u306e\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u30de\u30cd\u30fc\u30b8\u30e3\u306b\u767b\u9332\u3059\u308b\uff01<\/h2>\n<p>Hinemos\u306e\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u30de\u30cd\u30fc\u30b8\u30e3\u306b\u767b\u9332\u3057\u307e\u3059\u3002\u30de\u30cd\u30fc\u30b8\u30e3\u306eWeb\u306e\u7ba1\u7406\u753b\u9762\u3067\u3001\u300cPerspective > Repository\u300d\u306e\u753b\u9762\u3092\u958b\u304d\u307e\u3059\u3002Search Nods(Ctrl-S)\u3067\u3001IP\u30a2\u30c9\u30ec\u30b9\u306e\u7bc4\u56f2\u3092\u6307\u5b9a\u3057\u3066\u300cRun\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u304c\u767a\u898b\u3055\u308c\u3001\u30de\u30cd\u30fc\u30b8\u30e3\u306b\u767b\u9332\u3055\u308c\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>Hinemos\u306e\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u767b\u9332\u3057\u3066\u3001SNMP\u3092\u4f7f\u7528\u3057\u3066\u30de\u30cd\u30fc\u30b8\u30e3\u3078\u306e\u767b\u9332\u307e\u3067\u5b9f\u65bd\u3057\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hinemos\u306e\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092Ubuntu 20.04\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002 OpenJDK\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01 OpenJDK\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002 # sudo apt install openjdk-8-jre SNMP\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u2026<\/p>\n","protected":false},"author":1,"featured_media":7006,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[128],"tags":[565,51,52,564],"class_list":["post-4268","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hinemos","tag-hinemos","tag-ubuntu","tag-52","tag-564"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/4268","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=4268"}],"version-history":[{"count":1,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/4268\/revisions"}],"predecessor-version":[{"id":12502,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/4268\/revisions\/12502"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/7006"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=4268"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=4268"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=4268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}