{"id":5692,"date":"2022-10-14T21:01:03","date_gmt":"2022-10-14T19:01:03","guid":{"rendered":"https:\/\/www.bdjl.de\/localhost\/?p=5692"},"modified":"2022-10-15T08:30:08","modified_gmt":"2022-10-15T06:30:08","slug":"omd-versus-canonical","status":"publish","type":"post","link":"https:\/\/www.bdjl.de\/localhost\/?p=5692","title":{"rendered":"OMD versus Canonical"},"content":{"rendered":"<p>OMD \/ Check_MK konnte nicht mehr <em>apt<\/em> auslesen. Urs\u00e4chlich war, dass Canonical auf die tolle Idee kam, bei jedem Aufruf von <em>apt update<\/em> Werbebotschaften einzublenden. Der Output von apt update verwirrt dann den Filter. Der meldet im OMD nur noch:<\/p>\n<pre>UNKN - Item not found in agent output<\/pre>\n<p>L\u00f6sungsansatz: Auf dem Server die Templates f\u00fcr Canonicals Werbem\u00fcll wegl\u00f6schen:<\/p>\n<pre>rm \/var\/lib\/ubuntu-advantage\/messages\/apt-pre-invoke-*<\/pre>\n<p>Reicht aber nicht. Canonical stellt die Dateien wieder her. Da musste noch mehr weg:<\/p>\n<pre>systemctl stop ua-timer.service ua-timer.timer\r\nsystemctl mask ua-timer.service ua-timer.timer<\/pre>\n<p>Und das da auch gleich mit in den Eimer:<\/p>\n<pre>rm \/etc\/apt\/apt.conf.d\/20apt-esm-hook.conf<\/pre>\n<p>Immer mehr Gr\u00fcnde, die f\u00fcr Debian oder Arch sprechen.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OMD \/ Check_MK konnte nicht mehr apt auslesen. Urs\u00e4chlich war, dass Canonical auf die tolle Idee kam, bei jedem Aufruf von apt update Werbebotschaften einzublenden. Der Output von apt update verwirrt dann den Filter. Der meldet im OMD nur noch: UNKN &#8211; Item not found in agent output L\u00f6sungsansatz: Auf dem Server die Templates f\u00fcr [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[560],"class_list":["post-5692","post","type-post","status-publish","format-standard","hentry","category-linux","tag-omd"],"_links":{"self":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/5692","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5692"}],"version-history":[{"count":7,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/5692\/revisions"}],"predecessor-version":[{"id":5699,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/5692\/revisions\/5699"}],"wp:attachment":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5692"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5692"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}