-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace prometheus logging with simple email notifications (#258)
* Deletes duplicate test case * Revert "Adds prometheus reporting (#236)" This reverts commit 67e1c36. * Adds admin notification via email * Adds checks for SMTP connectivity * Updates application tests * Adds admin email notification on user notification failure * Check for admin emails before notification * Updates docs * Improves log message clarity
- Loading branch information
1 parent
297aead
commit 0194ca2
Showing
6 changed files
with
69 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,13 +3,10 @@ Installation | |
|
||
Follow the instructions below to install and configure the ``notifier`` utility. | ||
|
||
System Utilities | ||
---------------- | ||
Installing System Utilities | ||
--------------------------- | ||
|
||
The ``df`` command line utility must be installed for the quota notifier to | ||
process *generic* file systems. The ``beegfs-ctl`` utility is also required to | ||
support BeeGFS file systems. See :doc:`file_systems` for more details on how | ||
different file system types are expected to be configured. | ||
The ``df`` command line utility must be installed for the quota notifier to function properly. | ||
|
||
Installing the Package | ||
---------------------- | ||
|
@@ -19,7 +16,7 @@ The ``notifier`` command line utility is installable via the `pip <https://pip.p | |
|
||
.. code-block:: | ||
pipx install git+https://github.com/pitt-crc/quota_notifier.git | ||
pip install quota-notifier | ||
Configuration | ||
------------- | ||
|
@@ -46,7 +43,8 @@ The :doc:`file_systems` page provides an overview of supported file system types | |
} | ||
], | ||
"email_from": "[email protected]", | ||
"email_domain": "@domain.com" | ||
"email_domain": "@domain.com", | ||
"email_admins": ["[email protected]"] | ||
} | ||
Once the application has been configured, you can check the configuration file is valid by running: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters