Skip to main content

No project description provided

Project description

fe-openedx-alerts

A command line tool that send alerts if any Open edX service failasticsearch service is active

Python version

Python: 3.9.16

Poetry Configuration

# https://pypi.org/
poetry config pypi-token.pypi $PYPI_TOKEN

# https://test.pypi.org/
poetry config repositories.testpypi https://test.pypi.org/legacy/
poetry config pypi-token.testpypi PYPI_TEST_TOKEN

Open edX Instance

git clone https://github.com/pyenv/pyenv.git ~/.pyenv
export PATH=/home/ubuntu/.pyenv/bin:$PATH
pyenv install 3.9.16
pyenv global 3.9.16

/home/ubuntu/.pyenv/versions/3.9.16/bin/pip3 install fe-openedx-alerts==0.0.5 -U

# How to execute the script
/home/ubuntu/.pyenv/versions/3.9.16/bin/python /home/ubuntu/.pyenv/versions/3.9.16/lib/python3.9/site-packages/fe_openedx_alerts/es_status.py

Cronjob

mkdir /home/ubuntu/logs/

crontab -e

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

fe_openedx_alerts-0.0.5.tar.gz (7.2 kB view hashes)

Uploaded Source

Built Distribution

fe_openedx_alerts-0.0.5-py3-none-any.whl (8.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page