<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Howto on №42</title>
    <link>https://blog.no42.org/tags/howto/</link>
    <description>Recent content in Howto on №42</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Thu, 05 Aug 2021 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://blog.no42.org/tags/howto/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Quick manual Kafka OpenNMS stack</title>
      <link>https://blog.no42.org/article/opennms-stack/</link>
      <pubDate>Thu, 05 Aug 2021 00:00:00 +0000</pubDate>
      <guid>https://blog.no42.org/article/opennms-stack/</guid>
      <description>&lt;p&gt;We have gathered a few ready-to-run Docker stacks in our public &lt;a href=&#34;www.github.com/opennms-forge/stack-play&#34;&gt;stack-play&lt;/a&gt; GitHub repository.&#xA;But sometimes you need Kafka, Zookeeper and OpenNMS quickly on a baremetal deployment without Docker.&#xA;Here a few quick notes how to get the bare minimum up and running.&lt;/p&gt;&#xA;&lt;h2 id=&#34;zookeeper&#34;&gt;Zookeeper&lt;/h2&gt;&#xA;&lt;p&gt;Install OpenJDK 11 JRE&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#272822;background-color:#fafafa;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo apt install -y openjdk-11-jre&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Create a user for zookeeper&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#272822;background-color:#fafafa;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo adduser --system --home /opt/zookeeper --disabled-login zookeeper&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Create a logs directory&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#272822;background-color:#fafafa;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo mkdir /var/log/zookeeper&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo chown zookeeper:nogroup /var/log/zookeeper -R&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Install zookeeper&lt;/p&gt;</description>
    </item>
    <item>
      <title>Send notifications with Signal</title>
      <link>https://blog.no42.org/article/opennms-notify-signal/</link>
      <pubDate>Thu, 01 Nov 2018 00:00:00 +0000</pubDate>
      <guid>https://blog.no42.org/article/opennms-notify-signal/</guid>
      <description>&lt;p&gt;In some cases it is nice to have notifications from OpenNMS in a separate channel on a smartphone and you don&amp;rsquo;t want to pay for SMS.&#xA;Here is a tutorial where I use &lt;a href=&#34;https://signal.org&#34;&gt;Signal&lt;/a&gt; using the &lt;a href=&#34;https://github.com/AsamK/signal-cli/releases&#34;&gt;signal-cli&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;This Howto will describe how to download the latest signal-cli tool, link it to your existing Signal account and how to configure OpenNMS to use it as a notification target.&#xA;You should have already an OpenNMS Horizon or Meridian running and you need a Signal account with the Signal app installed and configured on your smartphone.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
