Hey all, For context, I am self-hosting a lot of different applications on a headless server and some of them are just scripts scraping content or doing automatic tasks.

I’ve been wondering for some time about how I should handle errors and how to be notified when they happen.

Currently, I need to connect to the server and read my logs to know that something has gone wrong. But I would like to get near instant notifications on my phone or computer.

I know I could send emails, try to use signal-cli or other messaging services but some of you might have better ideas.

Should I use one of these or is there some great technology I have never heard of?

    • Deebster@lemmyrs.org
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      This looks brilliant! I love how simple the sending API is.

      It had occurred to me that I could do something like this, but I’m happy you did all the hard work for me (especially the always-on feature of the Android app).

      • binwiederhier@discuss.ntfy.sh
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        Thanks. I don’t work on it full time, no. It’s a side gig project I’ve been doing for a year and a half. I recently added paid plans to get a little side income, but it’s not really taken off. Likely because the free tier is too generous hehe.

        • Fenzik@lemmy.ml
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          Fair enough! Do you cover your costs for it? I see you’ve got live stats - what’s your monitoring stack?

          This is just really cool, I’d love to build an actually useful service like this and have it at least pay for itself but so many things are so daunting! (Payments, SRE, having a nice front end, …)

          • binwiederhier@discuss.ntfy.sh
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            I do cover the costs yes, through donations and the paid plans.

            It’s definitely fun to do some things, but others are daunting indeed. I do, however, learn a lot. I have learned a lot that I was able to reuse elsewhere. All that is priceless.