RunSentry Agent
The RunSentry agent automatically discovers and monitors scheduled jobs on Linux systems. It integrates seamlessly with your existing cron jobs and Kubernetes CronJobs, providing visibility into your critical scheduled operations.
Features
- 🔍 Auto-Discovery: Automatically discovers cron jobs and Kubernetes CronJobs
- 📊 Execution Tracking: Monitors job executions, durations, and outcomes
- 🔒 Secure: Outbound-only HTTPS communication
- 💾 Resilient: Local buffering ensures no data loss during network issues
- 🚀 Easy Installation: One-line installer script
Quick Start
Installation
Install the agent with a single command:
curl -fsSL https://getrunsentry.com/install.sh \
| sudo RUNSENTRY_TOKEN=your_token_here bash
The installer will:
- Verify Python 3.10+ is installed
- Create an isolated virtual environment
- Install the RunSentry agent package
- Register the agent with your RunSentry backend (if token provided)
- Set up and start the systemd service
Installation without token:
curl -fsSL https://getrunsentry.com/install.sh | sudo bash
# Register manually later
RUNSENTRY_TOKEN=xxx /opt/runsentry/venv/bin/runsentry register --backend-url https://runsentry-api.azurewebsites.net/
systemctl start runsentry-agent
Usage
Service Management
The agent runs automatically as a systemd service:
# Check status
systemctl status runsentry-agent
# View logs
journalctl -u runsentry-agent -f
# Restart
systemctl restart runsentry-agent
Optional: Wrap Cron Jobs
You can optionally wrap your cron jobs for enhanced tracking:
# Instead of:
0 * * * * /path/to/script.sh
# Use:
0 * * * * /opt/runsentry/venv/bin/runsentry exec /path/to/script.sh
This provides execution-level tracking and ensures events are captured even if the backend is temporarily unavailable.
Configuration
Configuration is automatically created at /etc/runsentry/config.yaml during registration. The agent requires minimal configuration and works out of the box after registration.
What Gets Discovered
The agent automatically discovers:
- Linux Cron: User crontabs for all users on the system (via
crontab -l -u <user>) - Kubernetes CronJobs: All CronJobs across all namespaces (requires Kubernetes Python client)
Requirements
- Python 3.10 or higher
- Linux operating system
- Network access to RunSentry backend
- Root or sudo access for installation
Upgrading
Upgrade the agent with:
source /opt/runsentry/venv/bin/activate
pip install --upgrade runsentry-agent
systemctl restart runsentry-agent
Configuration is preserved during upgrades.
Troubleshooting
Agent not starting:
journalctl -u runsentry-agent -f
Check agent status:
systemctl status runsentry-agent
Verify configuration:
cat /etc/runsentry/config.yaml
Support
For help and questions:
- Website: https://getrunsentry.com
- Support: skanshana.coder@gmail.com
License
MIT License
Metadata
Release files for runsentry-agent 1.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| runsentry_agent-1.1.4.tar.gz | 18.7 kB | Without provenance | Details for runsentry_agent-1.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| runsentry_agent-1.1.4-py3-none-any.whl | Python 3 | none | any | Details for runsentry_agent-1.1.4-py3-none-any.whl |
Total release size: 38.8 kB
Release files / runsentry_agent-1.1.4.tar.gz
| Download URL | runsentry_agent-1.1.4.tar.gz |
|---|---|
| Size | 18.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac1bcb7bb07b0d560db66d6b50c61049494fad83b68fc41b3f9aa18d514f9527
|
|
BLAKE2b-256 checksum How to use checksums |
2174ac652d3187e07aba29ecbc54b4a751c71ee4930a23ba653accc965b69c3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.0
|
Release files / runsentry_agent-1.1.4-py3-none-any.whl
| Download URL | runsentry_agent-1.1.4-py3-none-any.whl |
|---|---|
| Size | 20.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d543c930c2a57688d3c25f47409ad59ef120970292a25542bf1be196f7dc681
|
|
BLAKE2b-256 checksum How to use checksums |
971750aa0ff7a9d3c8b2e74e2a1d6205b9972b5a37e618978e26a8a48ec22c0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.0
|
Security for runsentry-agent 1.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.