<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Get Info: #server</title>
    <description>Posts tagged “server” — Blog of independent game and app developer Matt Sephton. Featuring vintage Macintosh, game development, digital artwork, Japanese esoterica, video game reviews, hacks and tips, and much more.</description>
    <link>https://blog.gingerbeardman.com/tag/server/</link>
    <atom:link href="https://blog.gingerbeardman.com/tag/server/index.xml" rel="self" type="application/rss+xml"/>
    <pubDate>Wed, 01 Jul 2026 16:09:47 +0000</pubDate>
    <lastBuildDate>Wed, 01 Jul 2026 16:09:47 +0000</lastBuildDate>
    <generator>Jekyll v4.4.1</generator>

    
      
        <item>
          <title>Remote monitoring a web server job queue</title>
          <description>&lt;p&gt;I use some software called &lt;a href=&quot;https://github.com/huginn/huginn&quot;&gt;&lt;em&gt;Huginn&lt;/em&gt;&lt;/a&gt; to do various automated web searching and scraping. One use case is &lt;a href=&quot;/2023/04/10/where-can-i-see-hokusai-great-wave-today/&quot;&gt;checking the status of all the institutions where The Great Wave is currently on view&lt;/a&gt;, or not. I also have it do automatic auction searches for various items I’m looking for, that would otherwise take up a bunch of my time. And much more.&lt;/p&gt;

&lt;h2 id=&quot;huginn-we-have-a-problem&quot;&gt;Huginn, we have a problem&lt;/h2&gt;

&lt;p&gt;Huginn is installed on one of my web servers and does its thing on hourly, every day of the week without fail. Well, that’s not quite true. Sometimes, something happens outside of its control and the job queue gets jammed. It should be able to cope with this event, but for whatever reason it doesn’t. There’s no easy way to tell when this has happened, and the way I usually notice is by my RSS feed appearing less busy than usual. So, the most recent time this happened I promised myself I’d find a solution to monitoring the job queue remotely.&lt;/p&gt;

&lt;h2 id=&quot;help-from-the-community&quot;&gt;Help from the community&lt;/h2&gt;

&lt;p&gt;Another Huginn user &lt;a href=&quot;https://github.com/huginn/huginn/issues/3368#issuecomment-2045510388&quot;&gt;mentioned&lt;/a&gt; that I could send a regular request to &lt;a href=&quot;https://www.healthchecks.io&quot;&gt;healthchecks.io&lt;/a&gt;, which would raise a notification if the requests stopped coming in (a method known as &lt;a href=&quot;https://en.wikipedia.org/wiki/Dead_man%27s_switch&quot;&gt;the Dead man’s switch&lt;/a&gt;) which is exactly what would happen when the job queue is jammed. This was a good idea! Whilst I could be notfications by email or various push notification services, I’d prefer to get my notifications the same way as my server notifications - through &lt;a href=&quot;https://uptimerobot.com&quot;&gt;uptimerobot.com&lt;/a&gt; - so I added that to the process, with the help of &lt;a href=&quot;https://toot.lv/@cuu508/112246652626290022&quot;&gt;Pēteris Caune&lt;/a&gt; the creator of healthchecks.io.&lt;/p&gt;

&lt;p&gt;Here is my final recipe:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;a href=&quot;https://healthchecks.io/&quot;&gt;healthchecks.io&lt;/a&gt; to get a Ping URL&lt;/li&gt;
  &lt;li&gt;create a new Huginn Scenario with a Website Agent to request the above Ping URL every hour&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://healthchecks.io/&quot;&gt;healthchecks.io&lt;/a&gt; to get a Status Badge URL (JSON format)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://uptimerobot.com&quot;&gt;uptimerobot.com&lt;/a&gt; Keyword monitor watching the contents of the Status Badge URL (check for keyword “up”, and start incident when keyword does not exist)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;And that’s it! Next time the job queue jams, the Uptime Robot app will send me a push notification. I know it works because I tested it—a very important step!&lt;/p&gt;

&lt;h2 id=&quot;future-features&quot;&gt;Future features?&lt;/h2&gt;

&lt;p&gt;Maybe this setup will help me spot a pattern in the queue jams? Or perhaps I can take this further and have the Huginn restart when it gets jammed? As with all these sorts of things, I take it step by step and make one change at a time. Let’s see how it goes.&lt;/p&gt;
</description>
          <author>by Matt Sephton</author>
          <pubDate>Wed, 10 Apr 2024 19:04:00 +0000</pubDate>
          <link>https://blog.gingerbeardman.com/2024/04/10/remote-monitoring-a-web-server-job-queue/</link>
          <guid isPermaLink="true">https://blog.gingerbeardman.com/2024/04/10/remote-monitoring-a-web-server-job-queue/</guid>
        </item>
      
    

  </channel>
</rss>
