No project description provided
Project description
To check muted alert for production in datadog and send alert to opsgenie if any
How To Use this module in your local host
To use the script you should clone this repository
Make sure you already have python 3 installed on your local host
Create new spreadsheet for the report and get the id of the spreadsheet
Put the id of spreadsheet into the script that have been marked “redacted”
Export OPSGENIE_API_KEY variable to your env and add opsgenie api key value in that variable like example below.
Export OPSGENIE_API_KEY=`api key from opsgenie`
Export DATADOG_API_KEY=`api key from datadog`
Export DATADOG_APP_KEY=`app key from datadog`
Install python dependencies requirements to your local host
pip install -r requirements.txt
Execute this main python script
python3 package/main.py
If using this as a module just import this module in your code
import dmacheck
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dmacheck-1.0.6.tar.gz
.
File metadata
- Download URL: dmacheck-1.0.6.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c8804ae2ec14e23a12359aba5c238763d6ba5936002fb2572811a806cf784ba |
|
MD5 | f371c400da7ea04512bbab6610413046 |
|
BLAKE2b-256 | 3af82bf5ae8da183a9c6d15fcf5d0ed5b5a3b829b31b3199b663d60825464dcd |
File details
Details for the file dmacheck-1.0.6-py3-none-any.whl
.
File metadata
- Download URL: dmacheck-1.0.6-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 583386e62e5622919d6f2d543a4bc5754feb9fda48d326a2453989b78f6571df |
|
MD5 | 31d2e05f614dd28a6b268671bf13620e |
|
BLAKE2b-256 | 67d73bcd122387d1440aa1c12e76654e2ca83077d120e7385cd5319e8085efaf |