Project

General

Profile

Feature #23361

Add unauthorized reboot e-mail alert

Added by disk diddler over 1 year ago. Updated 11 months ago.

Status:
Resolved
Priority:
Important
Assignee:
Vladimir Vinogradenko
Category:
Middleware
Target version:
Estimated time:
Sprint:
Severity:
New
Backlog Priority:
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:

Description

Please note, I reported this for FN10 and now it's gone missing...... HOWEVER the problem impacted me, under FN9 (and still does, very infrequently)
Please see: "Feature #22899: System should notifiy administrator of unauthorised reboot" for more information.

"Faulty hardware / power loss / etc.
If Windows desktop and server can do it, I'm sure FreeNAS can.

Wild guess, FreeNAS writes a file called .reboot in a path, OS detects file is there, therefore reboot approved, file deleted, user not notified.
FreeNAS reboots, does NOT detect file in known path, therefore initiates user notification script.

(I can't code and don't code but that's my guess)

Thanks."

Sorry but I'm rating this not just nice to have, I think it's important.


Related issues

Related to FreeNAS - Bug #26403: Don't send email on authorized system rebootResolved2017-10-29

Associated revisions

Revision ec5ea9ee (diff)
Added by Vladimir Vinogradenko 12 months ago

feat(middleware): Unauthorized reboot e-mail alert

Ticket: #23361

Revision 88a11c2e (diff)
Added by Dru Lavigne 12 months ago

Mention reboot alert.
Ticket: #23361

History

#1 Updated by Bonnie Follweiler over 1 year ago

  • Assignee set to William Grzybowski

#2 Updated by Bonnie Follweiler over 1 year ago

  • Tracker changed from Bug to Feature

#3 Updated by William Grzybowski over 1 year ago

  • Status changed from Unscreened to Screened
  • Priority changed from No priority to Important
  • Target version set to 9.10.4

#4 Avatar?id=14398&size=24x24 Updated by Kris Moore over 1 year ago

  • Target version changed from 9.10.4 to 11.1

#5 Updated by William Grzybowski about 1 year ago

  • Status changed from Screened to Unscreened
  • Assignee changed from William Grzybowski to Vladimir Vinogradenko

Vladimir, I was thinking of writing the boot file to /data/sentinels on middlewared system plugin setup and remove it on shutdown. Checking for the existence of it on init.

However for this we would probably need a cleaner shutdown of middlewared and implement a `teardown` or something.

Other ideas welcome ;)

#6 Updated by Vladimir Vinogradenko about 1 year ago

  • Status changed from Unscreened to Screened

#7 Updated by Vladimir Vinogradenko 12 months ago

  • Status changed from Screened to Ready For Release

#8 Updated by Dru Lavigne 12 months ago

  • Subject changed from System should notifiy administrator of unauthorised reboot to Add unauthorized reboot e-mail alert
  • Target version changed from 11.1 to 11.1-BETA1

#9 Updated by Dru Lavigne 12 months ago

  • Status changed from Ready For Release to Resolved

#10 Updated by Dru Lavigne 12 months ago

  • Related to Bug #26403: Don't send email on authorized system reboot added

#11 Updated by Nick Wolff 11 months ago

  • QA Status Test Passes FreeNAS added
  • QA Status deleted (Not Tested)

#12 Updated by Joe Maloney 11 months ago

  • Needs QA changed from Yes to No

Also available in: Atom PDF