<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Slack on Blog GoHugo de Fredô : Linux, Proxmox, IA, Trail, Course, Randonnée, Gravel, Ski de Randonnée</title>
    <link>https://move.cyber-neurones.org/tags/slack/</link>
    <description>Recent content in Slack on Blog GoHugo de Fredô : Linux, Proxmox, IA, Trail, Course, Randonnée, Gravel, Ski de Randonnée</description>
    <generator>Hugo</generator>
    <language>fr</language>
    <lastBuildDate>Sat, 24 Sep 2022 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://move.cyber-neurones.org/tags/slack/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Slack sous Ubuntu : CPU &amp; RAM max par moment</title>
      <link>https://move.cyber-neurones.org/post/2022/09/2022-09-24-slack-sous-ubuntu-cpu-ram-max-par-moment/</link>
      <pubDate>Sat, 24 Sep 2022 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2022/09/2022-09-24-slack-sous-ubuntu-cpu-ram-max-par-moment/</guid>
      <description>&lt;p&gt;Visiblement il y a un bug &amp;hellip; Slack essaye d&amp;rsquo;avoir accès a un fichier de logs, dont il n&amp;rsquo;a plus accès. Il tourne donc en boucle et par la même occasion il sature de logs syslog.&lt;/p&gt;&#xA;&lt;p&gt;Misère.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;images/screenshot-from-2022-09-23-07-49-34-300x69.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Dans syslog en boucle:&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;Sep 23 07:47:19 XXXXXX kernel: [1541572.057366] audit: type=1400 audit(1663912039.268:1467395959):&#xA;apparmor=&amp;#34;DENIED&amp;#34; operation=&amp;#34;rename_src&amp;#34; profile=&amp;#34;snap.slack.slack&amp;#34;&#xA;name=&amp;#34;/home/XXXXX/snap/slack/64/.config/Slack/logs/default/webapp-console1.log&amp;#34;&#xA;pid=18282 comm=&amp;#34;slack&amp;#34; requested_mask=&amp;#34;wd&amp;#34; denied_mask=&amp;#34;wd&amp;#34; fsuid=1000&#xA;ouid=1000&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Quand je regarde la fin du fichier sur Slack :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;tail -f /home/XXXXX/snap/slack/64/.config/Slack/logs/default/webapp-console1.log&#xA;[09/05/22, 11:39:35:001] info: [CHECK-UNREADS] (TJ5HTNKGB) Checking unreads after unread line became visible&#xA;[09/05/22, 11:39:35:001] info: [CHECK-UNREADS] (TJ5HTNKGB) Not marking C020NGCFJ7R because last_read &amp;gt;= latest &amp;amp;&amp;amp; channel is read&#xA;[09/05/22, 11:39:37:301] info: Breadcrumb: ui.click: div.c-message__reply_bar_description &amp;gt; span.c-message__reply_bar_view_thread&#xA;[09/05/22, 11:39:37:320] info: [ROUTES] [ROUTE_FLEX_THREAD] navigateToRoute called with reason workspace-store/setSecondaryView&#xA;[09/05/22, 11:39:37:320] info: [ROUTES] [ROUTE_FLEX_THREAD] Attempting to navigate to new route {&amp;#34;teamId&amp;#34;:&amp;#34;TJ5HTNKGB&amp;#34;,&amp;#34;entityId&amp;#34;:&amp;#34;C020NGCFJ7R&amp;#34;,&amp;#34;memberId&amp;#34;:&amp;#34;UKJ6492EP&amp;#34;,&amp;#34;threadId&amp;#34;:&amp;#34;C020NGCFJ7R-1662365958.376179&amp;#34;}&#xA;[09/05/22, 11:39:37:320] info: [ROUTES] [ROUTE_FLEX_THREAD] About to run notifyRouteWillNavigateListeners to determine shouldNavigate&#xA;[09/05/22, 11:39:37:320] info: [ROUTES] [ROUTE_FLEX_THREAD] notifyRouteWillNavigateListeners finished, shouldNavigate is true&#xA;[09/05/22, 11:39:37:322] info: [HISTORY-NAVIGATION] Adding route to the history stack&#xA;[09/05/22, 11:39:37:322] info: [ROUTES] [ROUTE_FLEX_THREAD] Navigated to new route&#xA;[09/05/22, 11:39:37:340] info: [API-Q] (TJ5HTNKGB) e5b6d985-1662370777.339 conversations.replies called with reason: history-api/fetchReplies&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>Slack : Migration des données de connexion vers MariaDB pour une utilisation dans Grafana</title>
      <link>https://move.cyber-neurones.org/post/2020/04/2020-04-08-slack-migration-des-donnees-de-connexion-vers-mariadb-pour-une-utilisation-dans-grafana/</link>
      <pubDate>Wed, 08 Apr 2020 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2020/04/2020-04-08-slack-migration-des-donnees-de-connexion-vers-mariadb-pour-une-utilisation-dans-grafana/</guid>
      <description>&lt;p&gt;Pour utiliser le script il faut:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;MariaDB&lt;/li&gt;&#xA;&lt;li&gt;Python&lt;/li&gt;&#xA;&lt;li&gt;Grafana.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Slack permet le téléchargement d&amp;rsquo;un fichier CSV ( &lt;strong&gt;access_logs.csv&lt;/strong&gt; ), dont les données sont les suivantes :&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Date Accessed,&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;User Agent - Simple,&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;User Agent - Full,&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;IP Address,&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Number of Logins,&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Last Date Accessed&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Petit rappel sur l&amp;rsquo;ajout d&amp;rsquo;une database et d&amp;rsquo;un utilisateur :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ sudo mysql -u root&#xA;&#xA;MariaDB [(none)]&amp;gt; create database SLACK;&#xA;&#xA;MariaDB [(none)]&amp;gt; CREATE USER &amp;#39;slack&amp;#39;@&amp;#39;localhost&amp;#39; IDENTIFIED BY &amp;#39;slack&amp;#39;;&#xA;&#xA;MariaDB [(none)]&amp;gt; GRANT ALL PRIVILEGES ON SLACK.* TO &amp;#39;slack&amp;#39;@&amp;#39;localhost&amp;#39;;&#xA;&#xA;MariaDB [(none)]&amp;gt; FLUSH PRIVILEGES;&#xA;&#xA;MariaDB [(none)]&amp;gt; \quit&#xA;Bye&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Petit rappel aussi en python pour télécharger une classe non disponible :&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
