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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
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
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Uptime Kuma
  3. Monitor scripts/apps and take advantage of (mobile) notifications

Monitor scripts/apps and take advantage of (mobile) notifications

Scheduled Pinned Locked Moved Uptime Kuma
1 Posts 1 Posters 210 Views 2 Watching
  • 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.
  • robiR Offline
    robiR Offline
    robi
    wrote on last edited by
    #1

    I've only been using it for Pull type monitoring, so far.

    Until today, I just discovered one can add a new monitor type called Push.

    This provides you a Push URL like this (Optional parameters: status, msg, ping):
    https://uptimekuma.1heal.org/api/push/U20C3xxxx?status=up&msg=OK&ping=

    So a script output, like cronjobs can be monitored like this:

    #!/bin/bash
    # Filename: index.sh
    PUSH_URL="https://example.com/api/push/key?status=up&msg=OK&ping="
    INTERVAL=3600
    
    while true; do
        curl -s -o /dev/null $PUSH_URL
        echo "Pushed!"
        sleep $INTERVAL
    done
    

    Even apps and containers starting up..

    And preventative disk usage checking and other stats which @staff could integrate with Cloudron to send Push messages via Uptime Kuma.

    Since I already use it for monitoring websites, I get to piggyback on the free notifications too!

    Conscious tech

    1 Reply Last reply
    5
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

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