Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Smarter healthcheck behaviour on restart

Scheduled Pinned Locked Moved Feature Requests
notifications
8 Posts 7 Posters 347 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Robin
    wrote on last edited by girish
    #1

    Cloudron sends health check notifications for each app ("App xxx is down / back online"). In normal use, this is quite useful, but when working on my Cloudron machine (rebooting it, or whatever), I then get a flood of emails for each application, so my inbox looks like:

    Aaa is back up
    Bbb is back up
    Ccc is back up
    Aaa is down
    Bbb is down
    Ccc is down

    Suggested improvements:

    • Perhaps it might make sense to delay the activation of health check alerts until (host or app) uptime is over a certain value?
    • Consider merging notifications for multiple applications into one (or at least, one mail)
    1 Reply Last reply
    5
  • LonkleL Offline
    LonkleL Offline
    Lonkle
    wrote on last edited by
    #2

    Very much agree with this.

    1 Reply Last reply
    1
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    wrote on last edited by
    #3

    I agree, this is far from ideal how it is done now, especially for Cloudrons with a lot of apps.

    Thinking on how to solve this, I am wondering what good options are. Merging notifications over some time would delay sending out the first one, however maybe this is just fine by simply trying to collect such notifications within say 5min?

    M 1 Reply Last reply
    0
  • M Offline
    M Offline
    msbt App Dev
    replied to nebulon on last edited by
    #4

    @nebulon some uptime monitors have the option, that only if the check is positive/negative for a second or third time it will actually trigger a notification, maybe that's something to consider.

    something somewhat unrelated but still an issue: apps that start up too quickly (before e.g. mysql is running, like teamspeak) appear to be running, but don't have a db connection. maybe we can start the main services and only when they're all up the regular apps are getting started?

    1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by girish
    #5

    I didn't realize this happens for every reboot, let me test. Atleast, the way I intended it was to only send notifications if the app is down for 10mins.

    edit: Maybe it's because the reboot takes more than 10 mins, I think that's the bug. As in, if i keep the cloudron powered down, and power it back up after 10mins, I guess it will trigger this behavior.

    P 1 Reply Last reply
    0
  • P Offline
    P Offline
    plusone-nick
    replied to girish on last edited by
    #6

    @girish I get many of the same emails not for every app but like 5-10 at a time, seems to happen daily now possibly when backups are performing or completed?

    ✌💙+1

    ruihildtR 1 Reply Last reply
    0
  • ruihildtR Offline
    ruihildtR Offline
    ruihildt
    replied to plusone-nick on last edited by
    #7

    With more than 100 apps, you can guess I have an overload of emails I delete without even looking at them.

    P 1 Reply Last reply
    2
  • P Offline
    P Offline
    plusone-nick
    replied to ruihildt on last edited by
    #8

    @ruihildt app is down emails go brrrrr 🤣

    ✌💙+1

    1 Reply Last reply
    1

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks