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
Metadata
Release files for dmacheck 1.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dmacheck-1.0.6.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dmacheck-1.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.9 kB
Release files / dmacheck-1.0.6.tar.gz
| Download URL | dmacheck-1.0.6.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c8804ae2ec14e23a12359aba5c238763d6ba5936002fb2572811a806cf784ba
|
|
BLAKE2b-256 checksum How to use checksums |
3af82bf5ae8da183a9c6d15fcf5d0ed5b5a3b829b31b3199b663d60825464dcd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / dmacheck-1.0.6-py3-none-any.whl
| Download URL | dmacheck-1.0.6-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
583386e62e5622919d6f2d543a4bc5754feb9fda48d326a2453989b78f6571df
|
|
BLAKE2b-256 checksum How to use checksums |
67d73bcd122387d1440aa1c12e76654e2ca83077d120e7385cd5319e8085efaf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|