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.

UPS on battery - No Notification

Featured Replies

Trying to get notifications when UPS for unraid goes onto battery backup.

 

The internet/router/switch ETC is all battery backup as well. i did a simulated test and internet stayed home and able to connect to server still.

 

However no notifications but other notifications show up. It does show "On Battery in the UPS settings"

 

Here is my UPS make/model  http://www.sizemyups.com/specs/1011/90000659/BR/0/ image.thumb.png.c8f6a75e98570b932b504bde114ff574.png

 

image.thumb.png.32d0af379519107a631ac3c8f84c52c0.png

  • Community Expert

First, I would suggest a test to see if that UPS/apcupsd work together.  Set the    'Time on battery before shutdown (seconds)'   to 30 and pull the plug and see if the server gets shutdown.  

 

Second, does Unraid actually send out e-mail?  You can test this:   Settings   >>>>  Notifications  >>>>  SMPT Settings   and click on the 'TEST' button.  

 

Now in an actual power failure situation, you will have to have your network stay up and running until after the server has shutdown!  You might be surprised at how many folks don't have the modem (or the router, or the switch) on a UPS! 

  • Author
2 minutes ago, Frank1940 said:

First, I would suggest a test to see if that UPS/apcupsd work together.  Set the    'Time on battery before shutdown (seconds)'   to 30 and pull the plug and see if the server gets shutdown.  

 

Second, does Unraid actually send out e-mail?  You can test this:   Settings   >>>>  Notifications  >>>>  SMPT Settings   and click on the 'TEST' button.  

 

Now in an actual power failure situation, you will have to have your network stay up and running until after the server has shutdown!  You might be surprised at how many folks don't have the modem (or the router, or the switch) on a UPS! 

I have it set to 50% of ups or 10 minutes left.

 

These notifications only send when the server shuts down?

 

the SMTP works fine and sends email.

 

I double checked my internet and it stays home when unplugged.

  • Community Expert

I suggested that setting so you can see if it sends the notification on a power outage.  (With your current settings, you could take a half-hour on battery before the shutdown started. )

 

I am pretty sure it only sends the message as a part of the actual shutdown sequence.  So to check you will have to simulate a power outage, shutdown and let it finish.   (By the way, this is the only way, you can be certain that it is actually going to work properly when the REAL thing happens!) 

  • Author

Shoot. I was hoping notification before shutdown and on battery

  • Community Expert

I get a notification immediately of the power loss, then another when the power is restored. Will also get a notification if the timer elapses and it sends the server into shutdown

 

Quote

Event: Unraid Server Alert
Subject: UPS Alert
Description: Power failure on UPS URServer. Running on batteries.
Importance: alert

 

Quote

Event: Unraid Server Alert
Subject: UPS Alert
Description: Power has returned on UPS URServer...
Importance: alert

 

Edited by Michael_P
Text of email added

  • Author

Can you compare your settings to mine? I really would love this to work!

  • Community Expert
4 hours ago, scubieman said:

Can you compare your settings to mine? I really would love this to work!

Well, you don't have any of the email notification boxes checked - I'd start there

 

 

 

cap.JPG

  • Author

I enabled still not working sadly. I can send test email but after wards it shows below..

 

image.thumb.png.c9295fd805266a05fa571a8aef8847fc.png

image.thumb.png.bb75a07d46c09f8be2bc0804f9a5f450.png

  • Community Expert

Are you getting the notifications in your browser?

  • Author
17 minutes ago, Michael_P said:

Are you getting the notifications in your browser?

negative. none. nothing. I believe i got the unraid update. I also believe i got other ones. but not the power one at all.

  • Community Expert

You do realize that this UPS does not appear to be made by one of the manufacturers that is supported by the apcupsd group.  While there are a number of manufacturers who have made their product 'compatible' with the APC products, there are no guarantees that apcupsd will work with everything.  

 

I will ask you again--- DID YOU ACTUALLY PULL THE PLUG AND VERIFY THAT THE COMBINATION OF THIS UPS AND apcupsd WILL ACTUALLY SHUT YOUR SERVER DOWN??? 

Edited by Frank1940

  • Author

I just pulled plug for about 5 minutes. Did not pull till it powered off. I'll try that later

 

  • Community Expert

The UPS is communicating its status

 

Capture.JPG.1b0dfcef743080169c3c705b5ea1a0e3.JPG

 

You need to verify you're getting Unraid's notifications (like the array status when you log in)

Capture2.JPG.bcd8bd115e57097bd13015c5f58f3d26.JPG

 

Here's how I have mine:

Capture3.thumb.JPG.112bdc198f4cfbcd8d96d8de777a60bf.JPG

 

  • 4 years later...

For anyone else that stumbles on here, I was not getting any agent alerts for power failures until I setup and enabled the email settings and checked those for notification as well.  Now I get email and agent alerts (PushOver) when UPS goes on battery.

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.