{"id":275,"date":"2016-07-29T11:54:08","date_gmt":"2016-07-29T11:54:08","guid":{"rendered":"http:\/\/memo.xtranet.info\/?p=275"},"modified":"2016-09-19T11:38:18","modified_gmt":"2016-09-19T10:38:18","slug":"ispconfig-monitoring-bind9","status":"publish","type":"post","link":"https:\/\/memo.xtranet.info\/?p=275","title":{"rendered":"Munin Monitoring BIND9"},"content":{"rendered":"<h1><span style=\"color: #99cc00;\">Munin Monitoring BIND9<br \/>\n<\/span><\/h1>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\">Dans un premier temps il faut r\u00e9aliser le tuto suivant afin d&rsquo;activer les logs de Bind9 !!! <a href=\"https:\/\/memo.xtranet.info\/?p=269\">ICI<\/a><br \/>\n<\/span><\/p>\n<p>Lors de l&rsquo;installation de Munin sous Debian Jessy, bind9 n&rsquo;est pas monitor\u00e9.<\/p>\n<p>Pour cela il faut :<\/p>\n<ul>\n<li>En mode console :<br \/>\n<table style=\"width: 385px;\">\n<tbody>\n<tr>\n<td style=\"width: 367px;\">cd \/etc\/munin\/plugins<\/p>\n<p><span style=\"color: #33cccc;\">ln -s \/usr\/share\/munin\/plugins\/bind9<\/span><\/p>\n<p><span style=\"color: #33cccc;\">ln -s \/usr\/share\/munin\/plugins\/bind9_rndc<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li>Editer \/etc\/munin\/plugin-conf.d\/munin-node en ajoutant \u00e0 la fin :<br \/>\n<table style=\"height: 39px; width: 108px;\">\n<tbody>\n<tr>\n<td style=\"width: 90px;\"><span style=\"color: #33cccc;\">[bind9]<\/span><br \/>\n<span style=\"color: #33cccc;\">user root<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li>Editer<i> <\/i>\/usr\/share\/munin\/plugins\/bind9 en remplacant la ligne<br \/>\n<table>\n<tbody>\n<tr style=\"height: 99px;\">\n<td style=\"height: 99px;\">env.logfile\u00a0\u00a0 \/var\/log\/named\/query.log<\/p>\n<p>par<\/p>\n<p>env.logfile\u00a0\u00a0 \/var\/log\/named\/<span style=\"color: #33cccc;\">queries.log<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>et la ligne<\/p>\n<table>\n<tbody>\n<tr>\n<td>my $QUERYLOG = $ENV{logfile} || &lsquo;\/var\/log\/named\/query.log&rsquo;;<\/p>\n<p>par<\/p>\n<p>my $QUERYLOG = $ENV{logfile} || &lsquo;\/var\/log\/named\/<span style=\"color: #33cccc;\">queries.log<\/span>&lsquo;;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li>Relancer le service : <span style=\"color: #33cccc;\">service munin-node restart<\/span><\/li>\n<li>V\u00e9rifier si tout est ok avec la commande : <span style=\"color: #33cccc;\">munin-run bind9<\/span>\n<ul>\n<li>Il ne doit pas y avoir d&rsquo;erreur<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Munin Monitoring BIND9 &nbsp; Dans un premier temps il faut r\u00e9aliser le tuto suivant afin d&rsquo;activer les logs de Bind9 !!! ICI Lors de l&rsquo;installation de Munin sous Debian Jessy, bind9 n&rsquo;est pas monitor\u00e9. Pour cela il faut : En mode console : cd \/etc\/munin\/plugins ln -s \/usr\/share\/munin\/plugins\/bind9 ln -s \/usr\/share\/munin\/plugins\/bind9_rndc Editer \/etc\/munin\/plugin-conf.d\/munin-node en ajoutant&#8230; <a href=\"https:\/\/memo.xtranet.info\/?p=275\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Munin Monitoring BIND9<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,31,4,24,38],"tags":[],"class_list":["post-275","post","type-post","status-publish","format-standard","hentry","category-administration","category-bind","category-linux","category-monitoring","category-munin"],"_links":{"self":[{"href":"https:\/\/memo.xtranet.info\/index.php?rest_route=\/wp\/v2\/posts\/275","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/memo.xtranet.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/memo.xtranet.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/memo.xtranet.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/memo.xtranet.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=275"}],"version-history":[{"count":7,"href":"https:\/\/memo.xtranet.info\/index.php?rest_route=\/wp\/v2\/posts\/275\/revisions"}],"predecessor-version":[{"id":305,"href":"https:\/\/memo.xtranet.info\/index.php?rest_route=\/wp\/v2\/posts\/275\/revisions\/305"}],"wp:attachment":[{"href":"https:\/\/memo.xtranet.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=275"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/memo.xtranet.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=275"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/memo.xtranet.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}