Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unraid losing internet access - watchdog app?

Featured Replies

Hello -

 

I'm just wondering - so every once in a while my server loses access to the internet.  I can't figure it out and it doesn't seem to cause any errors in syslogs.  If I stop the array and restart it then internet access will be back.  I figure an ok work around would be an app that notifies me once it loses internet connectivity.  has anyone seen an app that can accomplish this?   

If it doesn't have internet access how could it notify you?

  • Author

Hahaha I didn't even think of that.  what about an GUI notification?

Perhaps use something like Uptime Robot?

I threw together a little script that if run at array start should fire a GUI notification when a ping to 1.1.1.1 fails. YMMV, no warranties, this is worth exactly what you paid for it.

Quote

#!/bin/bash
while ping -c 1 -n -w 1 1.1.1.1 &> /dev/null
do
sleep 1m
done
/usr/local/emhttp/webGui/scripts/notify -s "Ping failed" -i "warning" -m "1.1.1.1 not responding"  -d "1.1.1.1 not responding"

If someone sees something wrong with this, please say something. I can't really test it right now.

 

If run at array start using user scripts plugin, it should ping that address every minute, until the ping fails, then it fires a warning and exits, waiting for you to stop and start the array.

  • Author

Cool I'll try it out!

 

Thanks @jonathanM

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.