Project

General

Profile

Bug #8071

When replication fails and e-mail reporting is set, an e-mail about failed replication is sent every minute

Added by Mieszko Ślusarczyk over 5 years ago. Updated almost 3 years ago.

Status:
Closed: Not Applicable
Priority:
Nice to have
Assignee:
Bartosz Prokop
Category:
Middleware
Target version:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

When replication fails and e-mail reporting is set, an e-mail about failed replication is sent every minute.
This happened to me last night, generating 1020 e-mails for 3 datasets.
If I don't react to 3 or 6 e-mails, does it make sense to send another 1000+?
I think it would be reasonable to send 1 or 2 e-mails for an event, and then stop - sending more e-mails seems pointless to me.
Happens on FreeNAS-9.3-STABLE-201502142001


Related issues

Related to FreeNAS - Feature #26679: Add System -> Alerts for configuring alert frequencyDone

History

#2 Updated by William Grzybowski over 5 years ago

  • Status changed from Unscreened to Screened

What is the email you're receiving, exactly?

#3 Updated by Mieszko Ślusarczyk over 5 years ago

This is what I was getting for every replication task, every minute (3 tasks = 3 emails a minute):

The replication failed for the local ZFS (dataset name) because the command:
/usr/bin/ssh -i /data/ssh/replication -o BatchMode=yes -o StrictHostKeyChecking=yes -o ConnectTimeout=7
have returned an error code of 255

#4 Updated by William Grzybowski over 5 years ago

  • Assignee changed from William Grzybowski to Xin Li

Those messages shouldn't repeat in an interval of 2 hours.

Over to Xin as its his feature under the replication system.

#5 Updated by William Grzybowski over 5 years ago

  • Status changed from Screened to Unscreened

#6 Updated by Xin Li over 5 years ago

  • Status changed from Unscreened to Screened

#7 Updated by Jan Örnstedt over 5 years ago

How about making a consolidation option. I.e let the admin choose how frequent he wants to get error messages. I.e Instant, Hourly, Daily, Weekly.
This would make life easier for low risk installs where it is not urgent to fix certain issues.

Perhaps consolidation per error category.

#8 Updated by Mieszko Ślusarczyk over 5 years ago

I agree the options are sometimes good - but why would you want to be notified every minute about one issue? If you would - something is wrong about your e-mail management, and you should pay more attention, about flagging/notifications for e-mails. There's no use for 1000 e-mails notifying you about the same problem, if you dnon't read them...
THis bug makes this notification system unusable, so I had o turn it off (and turn to reminders about checking system status manually).

#9 Updated by Jan Örnstedt over 5 years ago

I agree I am not a developer. I was just adding a suggestion following up on the thread from the forum.

#10 Updated by Jordan Hubbard over 4 years ago

  • Assignee changed from Xin Li to Alexander Motin

#11 Updated by Wojciech Kloska over 4 years ago

  • Assignee changed from Alexander Motin to Wojciech Kloska
  • Seen in changed from to

#12 Updated by Wojciech Kloska about 4 years ago

  • Status changed from Screened to Closed: Not To Be Fixed

In FreeNAS 10 there's a new alerts mechanism which allows custom alerts settings/filtering. That pretty much is solving this issue. I don't think there's going to be something similar in 9

#13 Updated by Josh Paetzel about 4 years ago

  • Status changed from Closed: Not To Be Fixed to Investigation
  • Assignee changed from Wojciech Kloska to Josh Paetzel
  • Seen in changed from to 9.3-STABLE-201505040117

So here's my take on that.

Since we can all agree that FreeNAS 10 is a ways away, and FreeNAS 9 isn't going anywhere for the time being, let's let the FreeNAS 9 team fix bugs in FreeNAS 9 that really make life miserable for people using FreeNAS 9 right now.

#14 Avatar?id=14398&size=24x24 Updated by Kris Moore almost 4 years ago

  • Target version set to 9.10.2

#15 Updated by Josh Paetzel almost 4 years ago

  • Target version changed from 9.10.2 to 9.10.2-U1

#16 Avatar?id=14398&size=24x24 Updated by Kris Moore over 3 years ago

  • Target version changed from 9.10.2-U1 to 9.10.2-U3

#17 Updated by Josh Paetzel over 3 years ago

  • Status changed from Investigation to Unscreened
  • Assignee changed from Josh Paetzel to Kris Moore

#18 Avatar?id=14398&size=24x24 Updated by Kris Moore over 3 years ago

  • Assignee changed from Kris Moore to Marcelo Araujo

#19 Updated by Marcelo Araujo over 3 years ago

  • Status changed from Unscreened to Screened

#20 Avatar?id=14398&size=24x24 Updated by Kris Moore over 3 years ago

  • Target version changed from 9.10.2-U3 to 9.10.4

#21 Avatar?id=14398&size=24x24 Updated by Kris Moore over 3 years ago

  • Target version changed from 9.10.4 to 11.1

#22 Avatar?id=14398&size=24x24 Updated by Kris Moore almost 3 years ago

  • Target version changed from 11.1 to 11.1-U1

#23 Updated by Marcelo Araujo almost 3 years ago

  • Assignee changed from Marcelo Araujo to Bartosz Prokop
  • Target version changed from 11.1-U1 to 11.1

Send it over to Bartosz as I need to load-balance some of my tickets.

#24 Updated by Bartosz Prokop almost 3 years ago

  • Related to Feature #26679: Add System -> Alerts for configuring alert frequency added

#25 Updated by Bartosz Prokop almost 3 years ago

  • Status changed from Screened to Closed: Not Applicable

Mieszko,

After discussing this with my colleagues it looks like the snap/repl alert emails are now resent every hour.
Furthermore we're planning implementing the custom alerts filter/rules - I've attached a ticket number.

Considering facts above this ticket seems to be redundant.

Bartosz

#26 Updated by Dru Lavigne almost 3 years ago

  • Target version changed from 11.1 to N/A

Also available in: Atom PDF