-
Notifications
You must be signed in to change notification settings - Fork 0
02 EventOps Overview
Brayan Marin Guirales edited this page Aug 19, 2026
·
1 revision
EventOps is a lightweight, cross-platform background automation daemon designed to replace legacy, polling-based cron jobs and scheduled tasks by triggering actions in real time when system and network events occur.
+-------------------------------------------------------------------------------+
| EventOps Daemon Loop |
+---------------------------------------+---------------------------------------+
|
+------------------------------+------------------------------+
| |
v v
+-------------------------------+ +-------------------------------+
| Webhook Server Trigger | | File Watcher Trigger |
| - Listens on HTTP 0.0.0.0 | | - Inotify / FSEvents / Win |
| - Matches URL endpoint path | | - 2-Second Cooldown Debounce |
+---------------+---------------+ +---------------+---------------+
| |
+------------------------------+------------------------------+
|
v
+-------------------------------+
| Rule Engine |
| - Parses & validates schema |
| - Routes to matching action |
+---------------+---------------+
|
v
+-------------------------------+
| Asynchronous Executor |
| - Non-blocking execution |
| - Output capture & logging |
+-------------------------------+
All automation behaviors are configured via a single declarative JSON schema:
{
"rules": [
{
"name": "Production Webhook Deployment",
"type": "webhook",
"endpoint": "/deploy-prod",
"action": "bash /opt/scripts/deploy.sh"
},
{
"name": "Nginx Config Reload on File Change",
"type": "file_change",
"watch_path": "/etc/nginx/nginx.conf",
"action": "systemctl reload nginx"
}
]
}- Webhook Trigger: Built-in HTTP server listening on configurable ports. Matches incoming POST requests against registered endpoints and returns structured JSON responses.
- Filesystem Watcher: Listens for file modification, creation, or deletion events with a built-in 2-second cooldown debouncing engine to prevent rapid-fire redundant script executions.
- Asynchronous Non-Blocking Execution: Actions are dispatched to background threads (Python) or Goroutines (Go), ensuring that long-running scripts do not block incoming triggers.
-
Centralized ISO-8601 Logging: Captures stdout, stderr, and exit codes for every triggered task into
eventops.log.
DevOps Automation & Daemons Repository | Maintained by Brayan Marin Guirales | Licensed under MIT