Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Pushover notifier. #12012

Merged
merged 1 commit into from
May 13, 2021
Merged

Conversation

scolby33
Copy link
Contributor

@scolby33 scolby33 commented May 8, 2021

Add Pushover notifications to zed-functions.sh.

Motivation and Context

I would like to receive Pushover notifications from my zedlets.

Description

I have created a zed_notify_pushover function similar to the other notification functions.
I have also added the appropriate configuration values, commented out, to zed.rc.

How Has This Been Tested?

I have been using this code by manually patching my local copy of zed-functions.sh in production for about 5 months.
Additionally, it is a very close analogue to the existing notification functions.

I am happy to do additional testing if it is desired.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Library ABI change (libzfs, libzfs_core, libnvpair, libuutil and libzfsbootenv)
  • Documentation (a change to man pages or other documentation)

Checklist:

@behlendorf behlendorf added the Status: Code Review Needed Ready for review and testing label May 8, 2021
@scolby33 scolby33 force-pushed the pushover_notifier branch from 283864f to 53d45f3 Compare May 8, 2021 18:18
@scolby33
Copy link
Contributor Author

scolby33 commented May 8, 2021

Oh, looks like the pipeline uses an older version of shellcheck. I'll put the old ignore back later tomorrow morning.

@behlendorf
Copy link
Contributor

Oh, looks like the pipeline uses an older version of shellcheck.

Yes, we're still using the shellcheck from Ubuntu 18.04.

Add zed_notify_pushover to zed-functions.sh, along with the necessary
configuration variables in zed.rc.

Signed-off-by: Scott Colby <scott@scolby.com>
@scolby33 scolby33 force-pushed the pushover_notifier branch from 53d45f3 to 60e1eee Compare May 11, 2021 00:46
@scolby33
Copy link
Contributor Author

Oh, looks like the pipeline uses an older version of shellcheck.

Yes, we're still using the shellcheck from Ubuntu 18.04.

Fixed!

@behlendorf behlendorf added Status: Accepted Ready to integrate (reviewed, tested) and removed Status: Code Review Needed Ready for review and testing labels May 13, 2021
@behlendorf behlendorf merged commit da124ad into openzfs:master May 13, 2021
rincebrain pushed a commit to rincebrain/zfs that referenced this pull request May 17, 2021
Add zed_notify_pushover to zed-functions.sh, along with the necessary
configuration variables in zed.rc.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Scott Colby <scott@scolby.com>
Closes openzfs#12012
rincebrain pushed a commit to rincebrain/zfs that referenced this pull request May 17, 2021
Add zed_notify_pushover to zed-functions.sh, along with the necessary
configuration variables in zed.rc.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Scott Colby <scott@scolby.com>
Closes openzfs#12012
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Feb 10, 2022
Add zed_notify_pushover to zed-functions.sh, along with the necessary
configuration variables in zed.rc.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Scott Colby <scott@scolby.com>
Closes openzfs#12012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Accepted Ready to integrate (reviewed, tested)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants