Opsbox Plugins
Welcome to the Opsbox plugins directory. This repository contains a collection of plugins designed to extend the functionality of Opsbox. Each plugin is defined in its own pyproject.toml
file, which specifies the dependencies required for that plugin.
Installing Plugins
Through PyPI
This document outlines how to install Opsbox checks (for different services) and outputs (for various integrations).
1. Checks
Opsbox checks let you verify and monitor specific AWS services such as S3, RDS, ELB, EC2, etc. When you install the checks, Opsbox will also install the provider for the service.
Installation
-
Using pip:
-
Using uv:
Examples
-
Installing S3 checks (pip):
-
Installing ELB checks (uv):
-
Installing Route 53 checks (pip):
Note: Even though the service is called Route 53, use r53 in the package name.
2. Outputs
Opsbox outputs allow you to send results to various destinations—Slack, PagerDuty, GitHub, Azure DevOps, etc.
Installation
-
Using pip:
-
Using uv:
Examples
-
Installing Slack output (pip):
-
Installing Email output (uv):
-
Installing JSON file output (pip):
Available Plugins
Available Services
Available Outputs
Local Build
- Sync UV environment
- Run build.py
- Enjoy dists!
Sync UV environment
To begin, we first need to have a good testing/build environment.
In the root of the git directory, run uv sync
. This will install everything needed.
Run build.py
Next, run the bulk build script using uv run build.py
Enjoy!
The build script will copy all the distributions to the root /dist folder.
Enjoy your distributions!
Plugin Types
This repository contains various types of plugins, each serving a different purpose within Opsbox:
- Assistants: These plugins provide recommendations and strategies based on gathered data.
- AWS Plugins: These plugins offer checks and functionalities specific to AWS services.
- Handlers: These plugins handle various types of operations within Opsbox.
- Outputs: These plugins define different output formats for Opsbox results.
Using Plugins with Opsbox
Packages
Packages are autodetected by opsbox if they are in the same environment.
Individual Modules
Once you have installed the necessary dependencies for the plugins in OpsBox's , you can point the main Opsbox program to this directory using the --plugin_dir
option. Ensure you have installed the prerequisites for Opsbox before proceeding.
This will allow Opsbox to load and utilize the plugins contained in this directory.
Conclusion
This directory provides a comprehensive set of plugins to enhance the capabilities of Opsbox. By following the installation instructions and pointing Opsbox to this directory, you can leverage these plugins to optimize your operations.
For more information, refer to the individual plugin documentation and the Opsbox main documentation.