{"id":101,"date":"2015-05-22T01:39:45","date_gmt":"2015-05-21T23:39:45","guid":{"rendered":"https:\/\/blog.unetresgrossebite.com\/?p=101"},"modified":"2015-12-24T18:02:46","modified_gmt":"2015-12-24T17:02:46","slug":"pakiti","status":"publish","type":"post","link":"https:\/\/blog.unetresgrossebite.com\/?p=101","title":{"rendered":"Pakiti"},"content":{"rendered":"<p>Pakiti is a patching status monitoring tool developed within the CERN, more recently took over by CESNET and an other CERN (Czech Educational and Research Network).<\/p>\n<p>It is quite handy dealing with RHEL and debian-flavored operating systems.<br \/>\nHaving tried to add FreeBSD\/OpenBSD support, I can tell it is doable, although I haven&#8217;t succeeded yet.<\/p>\n<div id=\"attachment_275\" style=\"width: 1034px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blog.unetresgrossebite.com\/wp-content\/uploads\/2015\/05\/pakiti.png\" rel=\"attachment wp-att-275\"><img aria-describedby=\"caption-attachment-275\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-275 size-large\" src=\"https:\/\/blog.unetresgrossebite.com\/wp-content\/uploads\/2015\/05\/pakiti-1024x254.png\" alt=\"pakiti dashboard\" width=\"1024\" height=\"254\" srcset=\"https:\/\/blog.unetresgrossebite.com\/wp-content\/uploads\/2015\/05\/pakiti-1024x254.png 1024w, https:\/\/blog.unetresgrossebite.com\/wp-content\/uploads\/2015\/05\/pakiti-300x74.png 300w, https:\/\/blog.unetresgrossebite.com\/wp-content\/uploads\/2015\/05\/pakiti-768x190.png 768w, https:\/\/blog.unetresgrossebite.com\/wp-content\/uploads\/2015\/05\/pakiti.png 1361w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><p id=\"caption-attachment-275\" class=\"wp-caption-text\">pakiti dashboard<\/p><\/div>\n<p>Common pakiti setups involve a main server and several clients.<br \/>\nThe main server usually has its own MySQL database. Periodically, it would retrieve update digests from configured repositories.<br \/>\nThe client side consists on a small script, which main purpose is to list all packages locally installed and corresponding. Finishing its processing, the client connects to its master, send its report and eventually prints a list of outdated packages.<\/p>\n<p>Obviously, the main advantage of this, over the direct alternatives (such as <em>apt<\/em> and <em>apt_all<\/em> plugins from munin) is that you don&#8217;t have to periodically retrieve latest packages headers from your repositories. The pakiti master does it once, sparing you what could become IO storms (assuming you have a physical host running around 20 VMs, having the <em>apt_all<\/em> plugins activated on all of them: statistically, you are running apt-get update once per minute).<\/p>\n<p>The dark side of Pakiti, is the lack of official packages, updates, &#8230; The fact you need to patch, to have it work with latest PHP versions, &#8230;<br \/>\nDon&#8217;t expect running Pakiti right after unpacking their archive. Beware of their incomplete documentation. You might prefer to <a href=\"https:\/\/gitlab.unetresgrossebite.com\/DevOps\/puppet\/tree\/master\/modules\/pakitiserver\">have a look at my puppet module<\/a>, which prepares almost everything.<\/p>\n<p>&nbsp;<\/p>\n<p>(2015\/06\/08) edit: discussing with Lafouine41 a few weeks ago, I misunderstood pakiti3 was ready to be released. After further investigations, I noticed the client wasn&#8217;t even Debian capable.<br \/>\nOn a late night, I contributed the following\u00a0patches:<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/CESNET\/pakiti3\/pull\/6\">Fix Ubuntu OS detection (debian sid)<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/CESNET\/pakiti3\/pull\/5\">Implement Debian\/Ubuntu packages listing<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/CESNET\/pakiti3\/pull\/7\">Implement OpenBSD and FreeBSD support<\/a> (pkgng, note my current puppet module, installing pakiti2, actually supports legacy pkg from FreeBSD)<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Pakiti is a patching status monitoring tool developed within the CERN, more recently took over by CESNET and an other CERN (Czech Educational and Research Network). It is quite handy dealing with RHEL and debian-flavored operating systems. Having tried to add FreeBSD\/OpenBSD support, I can tell it is doable, although I haven&#8217;t succeeded yet. Common [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[8,6,2],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.unetresgrossebite.com\/index.php?rest_route=\/wp\/v2\/posts\/101"}],"collection":[{"href":"https:\/\/blog.unetresgrossebite.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.unetresgrossebite.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.unetresgrossebite.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.unetresgrossebite.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=101"}],"version-history":[{"count":6,"href":"https:\/\/blog.unetresgrossebite.com\/index.php?rest_route=\/wp\/v2\/posts\/101\/revisions"}],"predecessor-version":[{"id":276,"href":"https:\/\/blog.unetresgrossebite.com\/index.php?rest_route=\/wp\/v2\/posts\/101\/revisions\/276"}],"wp:attachment":[{"href":"https:\/\/blog.unetresgrossebite.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.unetresgrossebite.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.unetresgrossebite.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}