Skip to content

Vettabase/support-tools-for-customers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

support-tools-for-customers

A CLI toolkit for managing customer support workflows. Assumes that PagerDuty is used. Written by Vettabase for its support customers.


PagerDuty scripts

These scripts let you configure, test, and use your PagerDuty account from the command line.

Prerequisites

  • Python 3.6 or later (no third-party packages required)
  • A PagerDuty REST API key

Setup

Run the configure script once to store your PagerDuty API key locally:

./_configure.py

You will be prompted to enter your PagerDuty Integration API key. You should have one. If not, contact support.

The key is saved to a file called PAGERDUTY_KEY in the current directory.

Now, use this script to test that the key works and the API is reachable:

./_test.py

Open a ticket

Create a new PagerDuty incident:

./open-ticket.py 'Database server is unreachable'

If you don't specify a description, the script will ask you for one interactively.

License

This toolkit was released under the terms of the AGPLv3 license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages