Go to file
Heinrich Götzger (ext.) 475acce3be CUBP-15143: decommission SVMS-EventService 2022-10-28 19:15:32 +02:00
.vscode added filename as arg 2022-02-25 10:26:38 +01:00
BMW_Terraform CUBP-15143: decommission SVMS-EventService 2022-10-28 19:15:32 +02:00
QM-Report Fix montly reporting 2021-11-19 09:27:48 +01:00
Terraform CUBP-15143: decommission SVMS-EventService 2022-10-28 19:15:32 +02:00
.gitignore added filename as arg 2022-02-25 10:26:38 +01:00
ModifyNachoDashboards_preset.py add untracked files 2022-02-25 09:51:21 +01:00
README.md add untracked files 2022-02-25 09:51:21 +01:00
createToken.py added filename as arg 2022-02-25 10:26:38 +01:00
env add untracked files 2022-02-25 09:51:21 +01:00
environment.yaml added filename as arg 2022-02-25 10:26:38 +01:00
gatherReportingData.py add untracked files 2022-02-25 09:51:21 +01:00
gatherRestartswoMgmtZone.py add untracked files 2022-02-25 09:51:21 +01:00
manageProcess_TOTAL.py add untracked files 2022-02-25 09:51:21 +01:00
requirements.txt added filename as arg 2022-02-25 10:26:38 +01:00

README.md

DynatraceScripts

required packages

Required python packages are documented in the requirements.txt. Run pip install to install them
pip install -r requirements.txt


.env file

The scripts work with environment variables, to ease this up, create a .env file (this is git ignored as it has sensitive data like tokens) with the following content

"">NAPROD_TOKEN_VAR="<yourtoken>"
EUPREPROD_TOKEN_VAR="<yourtoken>"    
NAPREPROD_TOKEN_VAR="<yourtoken>"    
CNPROD_TOKEN_VAR="<yourtoken>"  
CNPREPROD_TOKEN_VAR="<yourtoken>"  
GLOBAL_TOKEN_VAR="<yourtoken>"  
TERRA_TOKEN_VAR="<yourtoken>"  

REPORTING_FOLDER="./Reporting_CSV/"

Make sure the reporting folder exists!


createToken.py

This script is used to create token for AWS ECS and EKS onboardings
Currently no parameters are passed through the CLI (needs to be changed) To change the token name, change it in line 81 in the script directly

tokenname="application_ecs"