{"id":91705,"date":"2020-08-17T07:42:09","date_gmt":"2020-08-17T05:42:09","guid":{"rendered":"https:\/\/prohoster.info\/blog\/administrirovanie\/kak-sluchajno-prodolzhit-pisat-web-gui-dlya-haproxy"},"modified":"2020-08-17T07:42:09","modified_gmt":"2020-08-17T05:42:09","slug":"kak-sluchajno-prodolzhit-pisat-web-gui-dlya-haproxy","status":"publish","type":"post","link":"https:\/\/prohoster.info\/fr\/blog\/administrirovanie\/kak-sluchajno-prodolzhit-pisat-web-gui-dlya-haproxy","title":{"rendered":"Comment continuer \u00e0 \u00e9crire par accident un Web-GUI pour Haproxy","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Deux ans et 4 jours se sont \u00e9coul\u00e9s depuis que j'ai \u00e9crit <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/419865\/\">Comment \u00e9crire par accident un Web-GUI pour Haproxy<\/a><\/noindex>, et le monde a d\u00e9j\u00e0 bien chang\u00e9 \u2014 tout \u00e9volue et HAProxy-WI s'efforce de suivre cette tendance. Au cours de ces deux derni\u00e8res ann\u00e9es, beaucoup de travail a \u00e9t\u00e9 accompli, et je souhaite maintenant parler des principales \u00e9volutions, alors : bienvenue sous le 'cat'.<\/p>\n<p><img decoding=\"async\" alt=\"Comment continuer \u00e0 \u00e9crire par accident un Web-GUI pour Haproxy\" src=\"\/wp-content\/uploads\/2020\/08\/bac46568401fe775336dd8d76129d260.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><br \/>\n1. Je commencerai par ce qui saute aux yeux, et c'est bien s\u00fbr \u2014 le design. \u00c0 mon avis, tout est devenu plus logique, compr\u00e9hensible et pratique, et bien s\u00fbr, esth\u00e9tiquement plaisant :). Les sections du menu sont devenues plus structur\u00e9es.<\/p>\n<p>2. Des pages pour chaque serveur ont \u00e9t\u00e9 ajout\u00e9es, ce qui facilite la compr\u00e9hension du fonctionnement des services individuels. Cela ressemble \u00e0 ceci :<\/p>\n<p><img decoding=\"async\" alt=\"Comment continuer \u00e0 \u00e9crire par accident un Web-GUI pour Haproxy\" src=\"\/wp-content\/uploads\/2020\/08\/b6abcbb5eb36ca58764958d921d786e0.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n3. La prise en charge de Nginx est enfin l\u00e0 ! Malheureusement, l'int\u00e9gration n'a pas r\u00e9ussi comme pour HAProxy, en raison de fonctionnalit\u00e9s de sortie de statistiques plus limit\u00e9es dans la version gratuite de Nginx, mais les fonctions principales (\u00e9dition, comparaison et versioning des configurations, fonctionnement et installation des services) restent accessibles pour Nginx via HAProxy-WI.<\/p>\n<p><img decoding=\"async\" alt=\"Comment continuer \u00e0 \u00e9crire par accident un Web-GUI pour Haproxy\" src=\"\/wp-content\/uploads\/2020\/08\/098596cebbc62392264349d41f3e3f8d.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n4. Il est maintenant possible de d\u00e9ployer une surveillance compl\u00e8te pour HAProxy et Nginx ! Elle se compose de : Grafana, Prometheus et des exportateurs pour Nginx et HAProxy. Quelques clics et bienvenue dans les tableaux de bord !<\/p>\n<p>5. Dans les commentaires du post pr\u00e9c\u00e9dent, plusieurs m'ont dit que l'utilisation de scripts bash pour installer des services \u00e9tait se tirer une balle dans le pied. J'en suis d'accord, c'est pourquoi 95 % des installations passent d\u00e9sormais par Ansible. C'est vraiment pratique et en plus, plus fiable. Un point positif !<\/p>\n<p>6. Comment ne pas r\u00e9inventer la roue dans une roue ? L'enfant de la roue, pour ainsi dire... Un petit v\u00e9lo \u00e0 trois roues : la possibilit\u00e9 de surveiller facilement les ports pour v\u00e9rification de disponibilit\u00e9, r\u00e9ponse HTTP et v\u00e9rification de la r\u00e9ponse par mot-cl\u00e9. Oui, ce ne sont pas beaucoup de fonctions, mais c'est facile \u00e0 installer et \u00e0 administrer \ud83d\ude42.<\/p>\n<p><img decoding=\"async\" alt=\"Comment continuer \u00e0 \u00e9crire par accident un Web-GUI pour Haproxy\" src=\"\/wp-content\/uploads\/2020\/08\/0da9875f57402abb4e6b21ee26d4a241.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n7. Un excellent travail avec l'API HAProxy RunTime. Pourquoi est-ce si g\u00e9nial ? Il n'y en a que chez nous et... c'est tout. Bien s\u00fbr, cela peut sembler un peu pr\u00e9tentieux, mais j'appr\u00e9cie vraiment le fonctionnement. Voici \u00e0 quoi ressemble le travail avec le stick-table, souvent ador\u00e9 et d\u00e9test\u00e9 en m\u00eame temps :<\/p>\n<p><img decoding=\"async\" alt=\"Comment continuer \u00e0 \u00e9crire par accident un Web-GUI pour Haproxy\" src=\"\/wp-content\/uploads\/2020\/08\/b1fd8c6e3fab0710c9f68cb050534473.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nC'est tout pour l'essentiel. Beaucoup de travail a \u00e9t\u00e9 fait concernant les groupes, les r\u00f4les, la s\u00e9curit\u00e9 et la d\u00e9tection de bugs... Mais, vous savez quoi ? Maintenant, <noindex><a rel=\"nofollow\" href=\"https:\/\/haproxy-wi.org\">il existe un site<\/a><\/noindex>, o\u00f9 vous pouvez tester le d\u00e9mo HAProxy-WI et o\u00f9 se trouve le changelog. Mais s'il vous pla\u00eet, \u00e9vitez l'effet \u00ab habro \u00bb, car mon serveur pour le site et le d\u00e9mo est assez limit\u00e9. Et le lien vers <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/Aidaho12\/haproxy-wi\">GitHub<\/a><\/noindex><br \/>\n<br \/>Source : <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/515116\/\">habr.com<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041f\u0440\u043e\u0448\u043b\u043e \u0434\u0432\u0430 \u0433\u043e\u0434\u0430 \u0438 4 \u0434\u043d\u044f, \u043a\u0430\u043a \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u041a\u0430\u043a \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c Web-GUI \u0434\u043b\u044f Haproxy, \u0430 \u0432\u043e\u0437 \u0443\u0436\u0435 \u0434\u0430\u0432\u043d\u043e \u043d\u0435 \u0442\u0430\u043c \u2014 \u0432\u0441\u0435 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0438 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0438 HAProxy-WI \u0441\u0442\u0430\u0440\u0430\u0435\u0442\u0441\u044f \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u043e\u0439 \u0442\u0435\u043d\u0434\u0435\u043d\u0446\u0438\u0438. \u0417\u0430 \u0434\u0432\u0430 \u0433\u043e\u0434\u0430 \u0431\u044b\u043b\u043e \u043f\u0440\u043e\u0434\u0435\u043b\u0430\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u044b, \u043e\u0431 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u0445 \u044f \u0438 \u0445\u043e\u0447\u0443 \u0441\u0435\u0439\u0447\u0430\u0441 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0442\u0430\u043a \u0447\u0442\u043e: \u0434\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 \u00ab\u043a\u0430\u0442\u00bb. 1. \u041d\u0430\u0447\u043d\u0443 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":91706,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-91705","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041f\u0440\u043e\u0448\u043b\u043e \u0434\u0432\u0430 \u0433\u043e\u0434\u0430 \u0438 4 \u0434\u043d\u044f, \u043a\u0430\u043a \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u041a\u0430\u043a \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c Web-GUI \u0434\u043b\u044f Haproxy, \u0430 \u0432\u043e\u0437 \u0443\u0436\u0435 \u0434\u0430\u0432\u043d\u043e \u043d\u0435 \u0442\u0430\u043c \u2014 \u0432\u0441\u0435 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0438 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0438.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/fr\/blog\/administrirovanie\/kak-sluchajno-prodolzhit-pisat-web-gui-dlya-haproxy\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"fr_FR\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u041a\u0430\u043a \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u043f\u0438\u0441\u0430\u0442\u044c Web-GUI \u0434\u043b\u044f Haproxy | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041f\u0440\u043e\u0448\u043b\u043e \u0434\u0432\u0430 \u0433\u043e\u0434\u0430 \u0438 4 \u0434\u043d\u044f, \u043a\u0430\u043a \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u041a\u0430\u043a \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c Web-GUI \u0434\u043b\u044f Haproxy, \u0430 \u0432\u043e\u0437 \u0443\u0436\u0435 \u0434\u0430\u0432\u043d\u043e \u043d\u0435 \u0442\u0430\u043c \u2014 \u0432\u0441\u0435 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0438 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0438.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/fr\/blog\/administrirovanie\/kak-sluchajno-prodolzhit-pisat-web-gui-dlya-haproxy\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-08-17T05:42:09+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-08-17T05:42:09+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Comment continuer \u00e0 \u00e9crire par accident une interface Web pour Haproxy | ProHoster","description":"Cela fait deux ans et quatre jours que j'ai \u00e9crit Comment \u00e9crire par accident une interface Web pour Haproxy, et maintenant tout a chang\u00e9 \u2014 tout \u00e9volue et se d\u00e9veloppe.","canonical_url":"https:\/\/prohoster.info\/fr\/blog\/administrirovanie\/kak-sluchajno-prodolzhit-pisat-web-gui-dlya-haproxy","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"fr_FR","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u041a\u0430\u043a \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u043f\u0438\u0441\u0430\u0442\u044c Web-GUI \u0434\u043b\u044f Haproxy | ProHoster","og:description":"\u041f\u0440\u043e\u0448\u043b\u043e \u0434\u0432\u0430 \u0433\u043e\u0434\u0430 \u0438 4 \u0434\u043d\u044f, \u043a\u0430\u043a \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u041a\u0430\u043a \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c Web-GUI \u0434\u043b\u044f Haproxy, \u0430 \u0432\u043e\u0437 \u0443\u0436\u0435 \u0434\u0430\u0432\u043d\u043e \u043d\u0435 \u0442\u0430\u043c \u2014 \u0432\u0441\u0435 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0438 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0438.","og:url":"https:\/\/prohoster.info\/fr\/blog\/administrirovanie\/kak-sluchajno-prodolzhit-pisat-web-gui-dlya-haproxy","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-08-17T05:42:09+00:00","article:modified_time":"2020-08-17T05:42:09+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"91705","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 12:22:23","updated":"2022-10-04 17:03:41","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts\/91705","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/comments?post=91705"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts\/91705\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/media\/91706"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/media?parent=91705"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/categories?post=91705"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/tags?post=91705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}