Skip to content

calum-github/Serveralerts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Serveralerts

Serveralerts is a script I wrote to help me manage a number of caching servers.

For some reason, Apple do not provide a method to add/remove/list email addresses that are configured in the Alerts DB of Server.app

So this tool interacts with that database, and creates it if needed.

Usage

# ./serveralerts.py 
Usage: serveralerts.py [options] arg1

Options:
  -h, --help            show this help message and exit
  -l, --list            List all current email recipients.
  -c, --create          Create the alertDB if it does not already exist.
  -a ADD, --add=ADD     Add an email address. Pass the new email address as
                        arg1
  -r REMOVE, --remove=REMOVE
                        Remove an email address. Pass the email to remove as
                        arg1

Examples

./serveralerts.py --add [email protected]

./serveralerts.py --remove [email protected]

Requirements

Server.app 5.1.5 or higher.

About

Manage the Server alerts DB of Server.app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages