March 9, 20233 yr I thought this used to work in the past, but I don't recall the last time I received a notification for a UPS event. This includes when the UPS goes on battery and back on AC. I recall getting email messages in the past, but it's been a long time since I've seen then. I assumed it would go to the agent where I have Pushover configured (and I do get other unRAID notifications for other events there like update notifications and sync operations). I did have several events today and all of those UPS events were detected and logged by unRAID (no notifications). Am I just missing something here in my config?
March 9, 20233 yr Community Expert Make sure that all your network devices (switches, router, modem) are on the UPS battery buss. Otherwise, your message will never get out of the server...
March 9, 20233 yr Author 21 minutes ago, Frank1940 said: Make sure that all your network devices (switches, router, modem) are on the UPS battery buss. Otherwise, your message will never get out of the server... All networking equipment on one UPS. unRAID server and all attached components on a separate UPS. No service or network interruptions for any service during a power failure. Edited March 9, 20233 yr by snowboardjoe
March 9, 20233 yr Community Expert Now check the Settings >>> Notifications that you have all the boxes checked for agent notifications. If it is look in the syslog for an event where you did get notification for them and select a string to search the syslog for. Another thing to try to to activate the e-mail notification for a while. You can search for apcupsd and find if you have had a 'Power failure' and what action that apcupsd performed in the case of that event. I had only one event of a 'Power failure' and power restoration occurred within five seconds so the UPS did not initiate shutdown. (My time-on-battery is 30 seconds.) As far as I can tell, there was no notification send out (or even an attempt to). One could make an argument either way as to whether a notification should be sent or not. If the users were polled, I would bet most people would vote "No". Many (if not most) people seem to prefer to not even see a daily notification that no errors have been detected on their server. (Personally, I am always happy to get that daily message with the phrase "array health report [PASS]" in the subject block!) IF you want to know what notification action is performed when the UPS does initiate a shutdown, I leave that to you to investigate.
March 10, 20233 yr 23 hours ago, Frank1940 said: Many (if not most) people seem to prefer to not even see a daily notification that no errors have been detected on their server. (Personally, I am always happy to get that daily message with the phrase "array health report [PASS]" in the subject block!) If you don't send "all OK" messages regularly, you'll never know if the error messages are getting lost somewhere. No news is good news definitely doesn't apply if your messages aren't getting through.
March 11, 20233 yr Author Attached is a screenshot of my current configuration. I get notices for other things just fine--just not the UPS alerts.
March 11, 20233 yr Community Expert See here: http://apcupsd.org/manual/manual.html#email-notification-of-events You could put in a 'Feature Request' (There is a sub-forum for these) to have added an option to the UPS Settings to opt-in for notifications to be sent.
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.