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
  • Brite
  • 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 - Status | 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 540 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

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    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