NAS540 "Battery power exhaused" & "initiated Shutdown Sequence" errors not 'critical' category?
All Replies
-
I do not consider a NAS can write down the log when there is a black out.The NAS should always stays in a stable and steady power supply environment and network environment.If it is needed to prevent the unexpected power surge or blackout, I think you need a UPS to make the power supply stable.0
-
ikubuf said:I do not consider a NAS can write down the log when there is a black out.The NAS should always stays in a stable and steady power supply environment and network environment.If it is needed to prevent the unexpected power surge or blackout, I think you need a UPS to make the power supply stable.
I don't think you understood my post, these are in fact errors subsequent to communications with a UPS over USB. "Battery power exhausted" is from the UPS. It's an error the NAS logs as category 'notice' instead of 'critical'. Due to that, there will be no email notification of this VERY SERIOUS state/condition.
0 -
Are you in the latest firmware?
Do you mean the severity( of the log is "notice" instead of "alert", so when there is notice of "Battery power exhausted"log from UPS, it will not send the email?
0 -
Why would a power client alert you that the power server told him to shutdown? It's more the responsibility of the server, don't you think?And from technical view there are also problems. Initiating a mail delivery while you are told to shutdown will delay that shutdown. Not much, but maybe too much. Further, when the grid power is down, in most cases it will not possible to send an email, because the switch/modem/... will be down.0
-
ikubuf said:Are you in the latest firmware?
Do you mean the severity( of the log is "notice" instead of "alert", so when there is notice of "Battery power exhausted"log from UPS, it will not send the email?yes, latest firmware and yes, the log severity of these events is notice versus higher like alert or critical.0 -
Mijzelf said:Why would a power client alert you that the power server told him to shutdown? It's more the responsibility of the server, don't you think?And from technical view there are also problems. Initiating a mail delivery while you are told to shutdown will delay that shutdown. Not much, but maybe too much. Further, when the grid power is down, in most cases it will not possible to send an email, because the switch/modem/... will be down.
0 -
Hi I had the same necessity with NSA325.
In my case UPS is managed by apcupsd that is fully customizable in terms of alert events.
Here you have to change custom scripts under/etc/apcupsd/onbattery
/etc/apcupsd/offbattery
The log are created with the following line:zylogger -s 18 -p 5 -f 18
To change the priority to alert from notice you just have to change such lines with
zylogger -s 18 -p
1
-f 18
The tricky part is that my NSA325 replace to default all files under etc folder.
So I had to create a cron job that at every reboots replace such lines@reboot sed -i 's/zylogger -s 18 -p 5 -f 18 "\$HOSTNAME Power Failure !!!"/zylogger -s 18 -p 1 -f 18 "\$HOSTNAME Power Failure !!!"/' /etc/apcupsd/onbattery
@reboot sed -i 's/zylogger -s 18 -p 5 -f 18 "\$HOSTNAME Power has returned"/zylogger -s 18 -p 1 -f 18 "\$HOSTNAME Power has returned"/' /etc/apcupsd/offbattery
Changing priority to alert will result you to be notified via email about power failure.
I hope it can help you…1 -
just 2 years later last message :)
0 -
Still appreciated! I'm coincidentally working on ours just recently for some custom python scripts and will see if i can fit this in. We tried swapping out for a newer Legrande UPS awhile ago but it wouldn't work with this NAS540 at all so we're back on APC as well.
1
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 151 Nebula Ideas
- 98 Nebula Status and Incidents
- 5.7K Security
- 277 USG FLEX H Series
- 277 Security Ideas
- 1.4K Switch
- 74 Switch Ideas
- 1.1K Wireless
- 42 Wireless Ideas
- 6.4K Consumer Product
- 250 Service & License
- 395 News and Release
- 85 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.6K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 75 Security Highlight