<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Monitoring on Jose Castrillo</title>
    <link>https://jose.castrillo.eu/tags/monitoring/</link>
    <description>Recent content in Monitoring on Jose Castrillo</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Mon, 22 Feb 2021 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://jose.castrillo.eu/tags/monitoring/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>/prometheus/data/chunks_head/ troubleshoot</title>
      <link>https://jose.castrillo.eu/post/prometheus-troubleshooting/</link>
      <pubDate>Mon, 22 Feb 2021 00:00:00 +0000</pubDate>
      <guid>https://jose.castrillo.eu/post/prometheus-troubleshooting/</guid>
      <description>&lt;p&gt;I will share a little workaround in order to re-establish Prometheus service back in the game.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Origin of issue:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I&amp;rsquo;ve had an issue with my local network at home by the ISP provider, I had have shut down my RaspberryPi and other devices.&lt;/p&gt;
&lt;p&gt;Then when I could solved the issue and all my devices were up and running I checked up my services and I found that Prometheus got stuck by a &lt;em&gt;&amp;ldquo;mmap: invalid argument&amp;rdquo;&lt;/em&gt; message.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Setup monitoring system [Grafana&#43;Prometheus] in RaspberryPi (Part1)</title>
      <link>https://jose.castrillo.eu/post/raspberrypi-monitoring-system/</link>
      <pubDate>Wed, 03 Feb 2021 00:00:00 +0000</pubDate>
      <guid>https://jose.castrillo.eu/post/raspberrypi-monitoring-system/</guid>
      <description>&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://castrillo.gitlab.io/figaro/grafa_prome_rasp.png&#34; alt=&#34;&#34;  /&gt;
&lt;/p&gt;
&lt;p&gt;On this post I will explain how I set up a Grafana + Prometheus into a RaspberryPi with &lt;a href=&#34;https://www.raspberrypi.org/downloads/raspbian/&#34;&gt;Raspbian&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Here it&amp;rsquo;s a little design where explains how it is the implementation I did:&lt;/p&gt;
&lt;h2&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://castrillo.gitlab.io/figaro/design_monitoring.png&#34; alt=&#34;&#34;  /&gt;
&lt;/h2&gt;
&lt;p&gt;🔵 Server:
RaspberryPi 3B+&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Services to install(server side):
&lt;ol&gt;
&lt;li&gt;Grafana&lt;/li&gt;
&lt;li&gt;Prometheus (Metric collector and database)&lt;/li&gt;
&lt;li&gt;Node Exporter (collector worker)&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;🟢 Clients:
Raspberrypi Zero
Fedora Workstation
Debian VPS&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Services to install(client side):
&lt;ol&gt;
&lt;li&gt;Node Exporter (collector worker).&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;p&gt;🔵 Lets start from the &lt;strong&gt;server&lt;/strong&gt; side.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Monitoring with Cockpit</title>
      <link>https://jose.castrillo.eu/post/cockpit-monitoring/</link>
      <pubDate>Mon, 11 Jan 2021 00:00:00 +0000</pubDate>
      <guid>https://jose.castrillo.eu/post/cockpit-monitoring/</guid>
      <description>&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://castrillo.gitlab.io/figaro/cockpit.png&#34; alt=&#34;&#34;  /&gt;
&lt;/p&gt;
&lt;p&gt;On this post we are going to talk about &lt;strong&gt;cockpit&lt;/strong&gt; how to monitoring and manage your GNU/Linux infrastructure. Based on the official description, &lt;a href=&#34;https://cockpit-project.org/&#34;&gt;Cockpit&lt;/a&gt; project is pretty easy to use, install and integrate, you can manage and add servers by ssh credentials to your dashboard, showing logs, monitoring containers(podman/docker), services running, disk usage, etc.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve using it around 1 year, the only thing I cannot see it&amp;rsquo;s an alert tool or event trigger, maybe for the next release; is developed by RH team and &lt;a href=&#34;https://github.com/cockpit-project/cockpit/blob/master/COPYING&#34;&gt;open source&lt;/a&gt;, it&amp;rsquo;s already integrated in some of the GNU/Linux distribution ( RH, debian, ubuntu, fedora, etc).&lt;/p&gt;</description>
    </item>
    <item>
      <title>Setup Podman service in Silverblue by Systemd</title>
      <link>https://jose.castrillo.eu/post/podman-monitoring-systemd/</link>
      <pubDate>Tue, 07 Jul 2020 00:00:00 +0000</pubDate>
      <guid>https://jose.castrillo.eu/post/podman-monitoring-systemd/</guid>
      <description>&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://castrillo.gitlab.io/figaro/cockpit-fedora.png&#34; alt=&#34;&#34;  /&gt;
&lt;/p&gt;
&lt;p&gt;Into my Devops learning path 👨‍💻 I decided to deploy a monitoring centre into my workstation where I could be able to watch my containers, resources, logs, etc and continue improving my knowledge, in my case I&amp;rsquo;m using &lt;a href=&#34;https://silverblue.fedoraproject.org/&#34;&gt;Silverblue&lt;/a&gt; developed by Fedora so in here it&amp;rsquo;s a little bit different the setup; as monitoring tool I choose &lt;a href=&#34;https://cockpit-project.org&#34;&gt;Cockpit&lt;/a&gt; for its great integration and support.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Workstation: Silverblue 🖥️&lt;/li&gt;
&lt;li&gt;Container engine: Podman ⚙️&lt;/li&gt;
&lt;li&gt;Monitoring tool(app/service):Cockpit 📦&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I splinted out the instructions in 4 simple parts:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Setup Grafana in Raspbian (Raspberrypi)</title>
      <link>https://jose.castrillo.eu/post/raspberrypi-grafana-post/</link>
      <pubDate>Tue, 09 Apr 2019 00:00:00 +0000</pubDate>
      <guid>https://jose.castrillo.eu/post/raspberrypi-grafana-post/</guid>
      <description>&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://castrillo.gitlab.io/figaro/grafana.png&#34; alt=&#34;&#34;  /&gt;
&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;em&gt;The below post is a simple explanation I did time ago, if you want further info and better explanation about how to setup a monitoring system into your Raspberripy please go to here.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://www.raspberrypi.org/downloads/raspbian/&#34;&gt;Raspbian&lt;/a&gt; version:9.8&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ uname -r
4.14.98-v7+
$ uname -m
armv7l
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Version installed on my RasPi: &lt;strong&gt;Grafana v6.0.2 (3f4c2e7)&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Download &lt;a href=&#34;https://grafana.com/grafana/download?platform=arm&#34;&gt;Grafana&lt;/a&gt; package for your correct Raspi ARM&lt;/li&gt;
&lt;li&gt;$sudo dpkg -i grafana_6.1.3_armhf.deb&lt;/li&gt;
&lt;li&gt;$systemctl start grafana-server&lt;/li&gt;
&lt;li&gt;$systemctl status grafana-server&lt;/li&gt;
&lt;li&gt;then you will see from the status propmt the address=0.0.0.0:3000&lt;/li&gt;
&lt;/ol&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;msg=&amp;#34;HTTP Server Listen&amp;#34; logger=http.server address=0.0.0.0:3000
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;To check the site is working go through localhost:3000&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
