A collection of custom scripts to manage New Relic Synthetic Monitors using the NerdGraph API, mainly Scripted API synthetics
Python 3.7+
is required.
Copy and paste into your terminal:
curl https://gist.githubusercontent.com/GorillaBearWolf/c7690697fafb16aa13a38328b3a4a91a/raw/276089b79d7b15017e1eede6db1cdca3c26f6060/new_relic_scripts_install.sh | sh
https://gist.github.com/GorillaBearWolf/c7690697fafb16aa13a38328b3a4a91a
- Clone the repo
cd
to the download locationsudo chmod +x setup.sh
./setup.sh
In download location:
- Set the values of
NEW_RELIC_API_KEY
andNEW_RELIC_ACCOUNT_ID
in.env
source .venv/bin/activate
- Comments/docstrings
-
setup.py
- Improve packaging
- Improve Javascript
- Authorization via environment variable
-
setup.sh
-
os
module -
python-dotenv
-