Skip to main content

version codecov docs

rdsmon

commandline tool for monitoring aws RDS instances


Quick Start

The requirements for using rdsmon are relatively straight forward, however you will need:

Installation

Install the tool - pip install rdsmon (to install the latest version)

Authentication

Typically you require an access token for a user that is configured for rds accessibility using aws IAM roles. Once your user has been created, you will require an access key and this should be either configured on disk, or exposed to the environment running rdsmon. It is completely unadvised to user the root user and the account running the tool should have as minimal permissions as possible. The IAM capabilities required by the tool are:

  • Todo

Important: Properly configured IAM roles/users should be in place, tokens should be kept secure, under no circumstances should you share them with anybody. rdsmon utilises the same mechanisms by the boto3 aws SDK for credential detection and usage.

To better understand IAM user and policies, please refer to:

AWS IAM user creation

AWS Access Tokens

Configuration on disk

Once you have appropriate IAM roles and have created an access_key, these should be stored in:

~/.aws/credentials

[default]
aws_access_key_id = YOUR_ACCESS_KEY
aws_secret_access_key = YOUR_SECRET_KEY

You may also want to add a default region to the aws configuration file, this should be set in:

~/.aws/config

[default]
region=us-east-1

Monitoring an RDS instance

Todo


Contributing to rdsmon

Ensure you have python3.11+ installed and poetry:

git clone https://github.com/symonk/rdsmon
cd rdsmon
poetry shell
poetry install

This will create an editable install, you can point your IDE to the virtualenv output by poetry shell and begin contributing.

Linting the code is done via tox -e linting, additionally pre-commit install will run the linter before committing automatically.

tox -e py311 will run all tests against python3.11


Metadata

Release files for rdsmon 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rdsmon 0.1.0
File Size Uploaded
rdsmon-0.1.0.tar.gz 7.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rdsmon 0.1.0
File Interpreter ABI Platform
rdsmon-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.7 kB

Release files / rdsmon-0.1.0.tar.gz

Download URL rdsmon-0.1.0.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d9873db825d75423fe3b04c3724b611e606110b0e4679b95ad465d93163f5748
BLAKE2b-256 checksum
How to use checksums
2abcb47ef24129e49e3928611f68e107d508f4df8640aa921d6d53af8b14fb35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.5 Linux/6.2.0-1011-azure

Release files / rdsmon-0.1.0-py3-none-any.whl

Download URL rdsmon-0.1.0-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
18c2d43e42071ef6819f87627c082848bb054d824bb71ececfa84af2107373ce
BLAKE2b-256 checksum
How to use checksums
ee936f8d998ec2714875fb246534bf6fb9d43e1fb05823cf178cea79d4b8583b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.5 Linux/6.2.0-1011-azure

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page