13 comments

  • mosselman14 minutes ago
    Shameless plug for a server monitoring macOS app I built. I built that too for the servers I managed myself. Instead of working through a service or a self-hosted monitoring tool that I then over to monitor itself again, I thought running it on my laptop was pretty nice too. One of the next features I&#x27;ve been wanting to build is uptime monitoring.<p><a href="https:&#x2F;&#x2F;kitaso.app&#x2F;" rel="nofollow">https:&#x2F;&#x2F;kitaso.app&#x2F;</a><p>Sure there is the downside of having to be at your laptop or having it on, but the upside is that it has very few moving parts and is very simple and it just has one set price.
  • p2004a5 hours ago
    I&#x27;m myself very happy with <a href="https:&#x2F;&#x2F;healthchecks.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;healthchecks.io&#x2F;</a> for this purpose.
    • altern84 hours ago
      I&#x27;ll never understand commenting to show HNs with a link to competing products.
      • RamblingCTO4 hours ago
        If it has context I appreciate them because it helps me make better informed decisions. Why not? HN isn&#x27;t an editorials page exclusive for posters (except YC slop lol)
      • bojanstef2 hours ago
        @altern8 you&#x27;re dope for supporting folks putting themselves out there.
      • hmokiguess4 hours ago
        Why?
        • altern84 hours ago
          Because OP is trying to promote his project and get feedback, and you post about a competing product, to me the message is: don&#x27;t look at the project OP wants you to check out, I&#x27;ve been using this instead and and it&#x27;s amazing!<p>Who cares what you&#x27;re using, I see show HN posts to be about OP&#x27;s project, seems like a dick move to me to diverge attention to some other project. I just don&#x27;t understand the motivation
          • hmokiguess2 hours ago
            I never read such comments in that way, the way I read them is actually like feedback to OP around benchmarking against competition.<p>Personally I love knowing about my competition, and it helps me with how I can differentiate and win over certain niches.<p>I don&#x27;t know about OP, but I&#x27;m never offended by that, always grateful, helps me craft my message and delivery to the right audience and map out strategy.<p>I try not to over read into the open internet motivation behind end users, they may become customers, so I rather welcome them and seek to understand rather than judge.
          • circularfoyers3 hours ago
            The first thing I always want to know is, what does OP&#x27;s project offer over pre-existing mature ones? Especially important when I&#x27;m seeing an increasing amount of projects that don&#x27;t seem to even bother considering pre-existing projects.
          • sgt3 hours ago
            It could help people. It&#x27;s possible the sigabrt didn&#x27;t even care to Google about Healthchecks.io before I decided to vibe code his own.<p>Also, what do you really think the odds are that sigabrt.dev will still exist in 2 years from now? Or 5?
        • TheSkyHasEyes3 hours ago
          Just goes against the spirit of people writing their own utils and sharing to me. Good on OP. They&#x27;re not looking for money or fame here. If this util benefits one reader on HN it&#x27;s worth it.
    • singpolyma33 hours ago
      And it&#x27;s open source!
      • sgt3 hours ago
        And not blindly vibe coded.
  • linsomniac3 hours ago
    I&#x27;ve been toying with a similar idea for ~6 months: A lightweight job status dashboard.<p>I wanted something that required no setup, but could just push success&#x2F;failure messages to as part of various cron jobs, windows tasks, and shell scripts we run throughout our organization.<p>StatShed server: <a href="https:&#x2F;&#x2F;github.com&#x2F;statshed&#x2F;statshed-server" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;statshed&#x2F;statshed-server</a> StatShed go-cli: <a href="https:&#x2F;&#x2F;github.com&#x2F;statshed&#x2F;statshed-gocli" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;statshed&#x2F;statshed-gocli</a><p>The idea is kind of like &quot;ntfy.sh&quot;, but for jobs status. You can send a &quot;started&quot; message at the beginning, update a &quot;status&quot; message periodically throughout the job, then send a &quot;failed&quot; message (optionally with logs) or a &quot;success&quot;. Then a web dashboard gives you an overview with ability to drill down.<p>We use Icinga for monitoring and paging, but this just gives an overview for a quick look at things we don&#x27;t want heavy duty monitoring on. Like my laptop backups, information about ansible runs across our fleet, etc.
  • mrweasel5 hours ago
    If you need&#x2F;want a dashboard it&#x27;s kinda cool. There&#x27;s a lot of other options that will do something similar, but not via SSH. Crontab can email you directly, no need for a service.<p>You could also just use systemd timers and do: systemctl --failed -t service
    • theoli4 hours ago
      You need some sort of external monitor for a missed pulse style alert. Personally I do something similar by collecting a &quot;last success&quot; metric with Prometheus and alerting on it with Grafana if the value is too far in the past. The local system cannot reliably alert if your job does not fail into the alert path or the system is just down.<p>I can see something like this being a great intermediate option to a full monitoring and alerting stack.
    • inezk4 hours ago
      You are missing the biggest value offering here - service such as the one linked here (or healthchecks io that I personally use) will let you know that signal didn&#x27;t arrive even when other things on your end failed (e.g. cron having a hard time sending failure email due to incorrect smtp credentials). I use those kind of healthchecks literally for everything, especially for backups - they saved my ass many times over.
      • mrweasel3 hours ago
        For things that actually matters to me, I use systemd timers, Prometheus and alert on failed services, but I do get that this might be a bit much for many setups.
  • raimue3 hours ago
    You could just wrap cronic around the command and immediately receive the full output per mail when it fails. I don&#x27;t see how a heartbeat alone without logs would help to identify temporary failures.<p><a href="https:&#x2F;&#x2F;habilis.net&#x2F;cronic&#x2F;" rel="nofollow">https:&#x2F;&#x2F;habilis.net&#x2F;cronic&#x2F;</a><p>Your service could accomplish something similar if it had such a wrapper to report both success and failures with logs to a remote server. That would take away the need to run a local MTA, while also detecting with the heartbeat whether the job ran at all.
    • 48151623421 hour ago
      Thanks for the suggestion!<p>There&#x27;s currently no explicit &quot;fail&quot; ping, as that&#x27;s not the main use case I care about. It&#x27;s valid, though, and I&#x27;ve thought about adding it.<p>Being able to pipe logs to curl would also be useful. I&#x27;m concerned that people might accidentally send me private&#x2F;sensitive data, but I&#x27;ll consider it.
    • mherrmann2 hours ago
      &gt; I don&#x27;t see how a heartbeat alone without logs would help to identify temporary failures.<p>It does help. Sometimes jobs unexpectedly don&#x27;t run at all.
      • raimue1 hour ago
        A temporary failure means that the job failed only once and then starts running again. If you want to investigate why it failed, you will need the output of that particular failed run.
  • adityamishra2411 hour ago
    The pulse idea is neat. How do you handle jobs where the expected runtime is longer than the heartbeat interval?
    • 481516234212 minutes ago
      Good question! There&#x27;s no such thing as a &quot;running&quot; task&#x2F;job at the moment (i.e., a start signal). The closest thing is lengthening the grace period, but that also means that the notification is delayed, so it&#x27;s not really a solution. This is in the backlog.
  • DylanMerigaud2 hours ago
    Context helps, shows intent, fosters discussion.
  • ww5202 hours ago
    People seem to miss the point of the project. It’s not emailing you on failure. It’s emailing on missing reports of scheduled runs. If you rely on the job to report failure, the machine could go down. In that case you won’t get any email on the failed run.
  • andrey_chmerev3 hours ago
    [dead]
  • deankong1 hour ago
    [dead]
  • dorianmariecom6 hours ago
    i have something similar at <a href="https:&#x2F;&#x2F;heartbeats.dorianmarie.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;heartbeats.dorianmarie.com&#x2F;</a>