<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: The Gaf</title>
    <description>The latest articles on DEV Community by The Gaf (@thegaf).</description>
    <link>https://dev.to/thegaf</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4196955%2F3c1411b0-455a-49ed-be30-81a941c3456d.jpg</url>
      <title>DEV Community: The Gaf</title>
      <link>https://dev.to/thegaf</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/thegaf"/>
    <language>en</language>
    <item>
      <title>Quiet Sentinel: let the server watch itself, quietly</title>
      <dc:creator>The Gaf</dc:creator>
      <pubDate>Tue, 20 Oct 2026 22:12:14 +0000</pubDate>
      <link>https://dev.to/thegaf/quiet-sentinel-let-the-server-watch-itself-quietly-5akf</link>
      <guid>https://dev.to/thegaf/quiet-sentinel-let-the-server-watch-itself-quietly-5akf</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week3-2026-10-19"&gt;Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;Quiet Sentinel is a small control panel for a server I would rather not babysit. It collects CPU, RAM and disk usage every 30 seconds, learns a separate baseline for each measurement, and brings unusual changes into a scrollable alert feed. My server is called GafCloud.&lt;/p&gt;

&lt;p&gt;When an anomaly is worth showing, an open-weight Qwen model adds a short explanation and one verification step. The model does not get a shell or permission to change the server. It explains; I decide what to do.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqd681zsexn41vwvwfi17.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqd681zsexn41vwvwfi17.png" alt="Quiet Sentinel with real metrics and a Qwen explanation for a synthetic alert" width="359" height="730"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The screenshot shows the actual GafCloud dashboard. CPU, RAM and disk cards are real readings. The 97% CPU alert is deliberately synthetic and labeled DEMO; its explanation was generated by Qwen 2.5 14B Instruct through Ollama on my Mac.&lt;/p&gt;

&lt;p&gt;The app stays private on localhost rather than exposing an unauthenticated monitoring API publicly. You can reproduce the demo from the README: start the dashboard with Ollama enabled, start the Linux collector, and press &lt;strong&gt;Test alert&lt;/strong&gt;. The demo uses a separate host so it does not replace the real CPU card.&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/TheGaf/quiet-sentinel" rel="noopener noreferrer"&gt;Source code, setup instructions, tests and service samples&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;The dashboard and detector use Python's standard library. Each host/metric pair has its own rolling history. A median and median absolute deviation provide a baseline that tolerates outliers better than an average alone. Repeated alerts for the same series are suppressed for 15 minutes.&lt;/p&gt;

&lt;p&gt;The first live run caught a useful mistake: normal CPU fluctuations near idle looked anomalous against a narrow baseline. I added a 15-percentage-point CPU deviation guard, while leaving RAM and disk detection alone. That is a practical heuristic, not a universal solution to monitoring noise.&lt;/p&gt;

&lt;p&gt;Ollama runs the open-weight Qwen 2.5 14B Instruct model. In the verified setup, the model runs on my Mac and the monitoring app runs on GafCloud, connected through a private SSH tunnel. No model download is needed on GafCloud. The Mac must remain awake and the tunnel must remain open for AI explanations. Statistical monitoring continues if inference fails.&lt;/p&gt;

&lt;p&gt;I also added an optional OpenAI provider so users can bring an existing API key. That is an alternative, not the open-weight demonstration for this entry. Its deployment test returned an exhausted-credit error; I am not claiming successful OpenAI inference.&lt;/p&gt;

&lt;p&gt;Eight automated tests cover baseline behavior, independent series, CPU noise filtering, repeat suppression, provider parsing, and AI failures. AI coding assistance was used to build and refine this project.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;The model is a replaceable part of a small, readable monitoring tool. With Ollama and Qwen, alert interpretation can run on hardware I control without sending those measurements to a hosted inference company. The tested split setup still needs the private network connection between my server and Mac; it is not a claim that GafCloud is self-contained.&lt;/p&gt;

&lt;p&gt;Keeping the statistical detector separate from the model makes the system understandable. I can inspect why an alert fired and change the model without handing over incident detection or system access to it. The open-weight path is implemented and demonstrated.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Lazy Payoff
&lt;/h2&gt;

&lt;p&gt;The server takes its own readings and collects alerts in one small panel. I do not have to keep checking three separate system tools, and duplicate anomalies are suppressed. I tested it on my own server this week; I have not measured hours saved or incident-response improvements.&lt;/p&gt;

&lt;p&gt;This is a prototype: restarting loses history, there is no authentication or push delivery, and AI explanations can be wrong. It is a deliberately small tool for watching my own machine, with those limits stated up front.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>opensource</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
