{"id":577,"date":"2020-02-24T08:10:50","date_gmt":"2020-02-24T07:10:50","guid":{"rendered":"https:\/\/blog.mhasin.eu\/?p=577"},"modified":"2020-02-25T07:25:45","modified_gmt":"2020-02-25T06:25:45","slug":"check_mk-lmsensors-teploty-z-linux-stroja","status":"publish","type":"post","link":"https:\/\/blog.mhasin.eu\/?p=577","title":{"rendered":"Check_mk lmsensors teploty z Linux stroja (nefunguje na nov\u00fdch verzi\u00e1ch check_mk)"},"content":{"rendered":"\n<p>Pre nacitanie teploty pomocou lm-sensors balika je potrebne nainstalovat<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install lm-sensors<\/code><\/pre>\n\n\n\n<p>Do check_mk servera je potrebne nahrat:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget https:\/\/exchange.checkmk.com\/packages\/lmsensors\/167\/lmsensors-1.6.mkp<\/code><\/pre>\n\n\n\n<p>Instalacia mpk balika<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>OMD[h12]:~$ check_mk -vP install \/tmp\/lmsensors-1.6.mkp\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"994\" height=\"375\" src=\"https:\/\/blog.mhasin.eu\/wp-content\/uploads\/2020\/02\/obr\u00e1zok-29.png\" alt=\"\" class=\"wp-image-579\" srcset=\"https:\/\/blog.mhasin.eu\/wp-content\/uploads\/2020\/02\/obr\u00e1zok-29.png 994w, https:\/\/blog.mhasin.eu\/wp-content\/uploads\/2020\/02\/obr\u00e1zok-29-300x113.png 300w, https:\/\/blog.mhasin.eu\/wp-content\/uploads\/2020\/02\/obr\u00e1zok-29-768x290.png 768w\" sizes=\"auto, (max-width: 994px) 100vw, 994px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>check_mk -II<\/code><\/pre>\n\n\n\n<p>Do klientskej stanice je potrebne nahrat agenta z check_mk servera<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> scp \/omd\/sites\/h12\/local\/share\/check_mk\/agents\/lmsensors root@192.168.6.182:\/root<\/code><\/pre>\n\n\n\n<p>Aktivovanie pluginu<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cp \/root\/lmsensors \/usr\/lib\/check_mk_agent\/plugins<\/code><\/pre>\n\n\n\n<p>Test funkcnosti<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>check_mk_agent\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"566\" height=\"601\" src=\"https:\/\/blog.mhasin.eu\/wp-content\/uploads\/2020\/02\/obr\u00e1zok-30.png\" alt=\"\" class=\"wp-image-582\" srcset=\"https:\/\/blog.mhasin.eu\/wp-content\/uploads\/2020\/02\/obr\u00e1zok-30.png 566w, https:\/\/blog.mhasin.eu\/wp-content\/uploads\/2020\/02\/obr\u00e1zok-30-283x300.png 283w\" sizes=\"auto, (max-width: 566px) 100vw, 566px\" \/><\/figure>\n<div class=\"pdf24Plugin-cp\"> \t<form name=\"pdf24Form0\" method=\"post\" action=\"https:\/\/doc2pdf.pdf24.org\/wordpress.php\" target=\"pdf24PopWin\" onsubmit=\"var pdf24Win = window.open('about:blank', 'pdf24PopWin', 'resizable=yes,scrollbars=yes,width=600,height=250,left='+(screen.width\/2-300)+',top='+(screen.height\/3-125)+''); pdf24Win.focus(); if(typeof pdf24OnCreatePDF === 'function'){void(pdf24OnCreatePDF(this,pdf24Win));}\"> \t\t<input type=\"hidden\" name=\"blogCharset\" value=\"Cw1x07UAAA==\" \/><input type=\"hidden\" name=\"blogPosts\" value=\"MwQA\" \/><input type=\"hidden\" name=\"blogUrl\" value=\"yygpKSi20tdPyslP18vNSCzOzNNLLQUA\" \/><input type=\"hidden\" name=\"blogName\" value=\"c\/LxdwcA\" \/><input type=\"hidden\" name=\"blogValueEncoding\" value=\"gzdeflate base64\" \/><input type=\"hidden\" name=\"postId_0\" value=\"MzU3BwA=\" \/><input type=\"hidden\" name=\"postTitle_0\" value=\"c85ITc6Oz81WyMktTs0rzi8qVihJLcjJL6lUqFLwycwrrVAoLinKz0pU0MhLTSvNSy\/NSlXIS1TIyy87vDc5Q6Estagq8\/BCICsZapImAA==\" \/><input type=\"hidden\" name=\"postLink_0\" value=\"yygpKSi20tdPyslP18vNSCzOzNNLLdW3L7A1NTcHAA==\" \/><input type=\"hidden\" name=\"postAuthor_0\" value=\"y00syfcwNAIA\" \/><input type=\"hidden\" name=\"postDateTime_0\" value=\"MzIwMtA1MNI1MlEwsLAyMLIyNQAA\" \/><input type=\"hidden\" name=\"postContent_0\" value=\"vZS9btswFIX3PMUF0aEFIlGSG\/\/BNlogS4aiGboVRUDTjMSIfxAp2\/HQd+mz9MV6RSex07iBAQfVIlIUz3d4ycOziZtdNwIM4zIwIwUE4ZQN9+Cstty2oHTihfG28TBnStYM7gQOhkbMTTdPGh+YsksWJtTNzvCZOBTkink\/JSuXzJXldcLtQpDZpHvNmAuwnab25Cc0DqJKIx50ZpcWeCV4faNr8KJZiuZvfNWwMD6avCpFgCoE58eUijWvmClFGhG6TrnV1DFes1J4qvSDL5r3B7tekqf9VNfukNuruCasJAPt6odyHe3t65fL71Ve\/Bj\/fLdbdLK8fioVDdq9NHL20smtLNsDMKlxYeDlRiSKNWUHlroEZdlCmnJKFNvcE1gIlIt95u8NJ7CSi1BNyWj0kUAlZFmFKekNLgj4hk\/JYzERUaa6Yl6aVLQUodyaIEygresInhZZkdGsoHbe\/P61sXVSjFJnSgJMoSLZsxuNJheDUWR4Ed4AA+h\/dQ4n6SS9LFvneS\/qYftkvUF\/uC5GWdTD9orE3cEisDbYc3iv2TqJ5R939t36A+RZtkRs7BGguOvbzT7uiO2O1dXVP+JWK4mufS3uwHcXAhcHAge4PyYw2LxI59GnHTx3QK1eUC8Dxg1PPsWfmKK+Yo2gj8I0ovbiCI214VM+KtK8P8QI5MNiTLtvhxb0uQ5yiXdTd7E51ZbStEc77Px1unto2vqGKjl\/cncT3dGt9MEb7JvwAW5bU3NjfZDH058R\/lfIL\/r9Xcj7WX56yHvZ6yEfFm8S8i0G0P9poexlSTHsrTHcUQ\/br4UScXuhjL3nofwD\" \/> \t\t<a href=\"https:\/\/www.pdf24.org\" target=\"_blank\" title=\"www.pdf24.org\" rel=\"nofollow\"><img src=\"https:\/\/blog.mhasin.eu\/wp-content\/plugins\/pdf24-post-to-pdf\/img\/pdf_32x32.png\" alt=\"\" border=\"0\" height=\"32\" \/><\/a> \t\t<span class=\"pdf24Plugin-cp-space\">\u00a0\u00a0<\/span> \t\t<span class=\"pdf24Plugin-cp-text\">Send article as PDF<\/span> \t\t<span class=\"pdf24Plugin-cp-space\">\u00a0\u00a0<\/span> \t\t<input class=\"pdf24Plugin-cp-input\" style=\"margin: 0px;\" type=\"text\" name=\"sendEmailTo\" placeholder=\"Enter email address\" \/> \t\t<input class=\"pdf24Plugin-cp-submit\" style=\"margin: 0px;\" type=\"submit\" value=\"Send\" \/> \t<\/form> <\/div>","protected":false},"excerpt":{"rendered":"Pre nacitanie teploty pomocou lm-sensors balika je potrebne nainstalovat Do check_mk servera je potrebne nahrat: Instalacia mpk balika Do klientskej stanice je potrebne nahrat agenta z check_mk servera Aktivovanie pluginu Test funkcnosti \u00a0\u00a0 Send article as PDF \u00a0\u00a0\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"arc_restricted_post":false,"footnotes":""},"categories":[8],"tags":[],"class_list":["post-577","post","type-post","status-publish","format-standard","hentry","category-monitoring"],"_links":{"self":[{"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=\/wp\/v2\/posts\/577","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=577"}],"version-history":[{"count":4,"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=\/wp\/v2\/posts\/577\/revisions"}],"predecessor-version":[{"id":585,"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=\/wp\/v2\/posts\/577\/revisions\/585"}],"wp:attachment":[{"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mhasin.eu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}