GuacAlert is a Go application that monitors active connections in an Apache Guacamole server and sends alerts to a Webhook when users connect or disconnect.
- Monitors active connections in real-time
- Sends alerts when users connect or disconnect
- Handles token generation and expiration
- Docker support for easy deployment
The application requires the following environment variables:
GUAC_URL
: The URL of your Guacamole serverGUAC_USER
: The username for the Guacamole APIGUAC_PASS
: The password for the Guacamole APIGUAC_DATASOURCE
: The data source for the Guacamole APICHAT_HOOK
: The webhook URL for sending chat notifications
The latest image can be found here:
docker pull jandersonai/guacalert:latest
To run the Docker container, use the following command:
docker run -e "GUAC_URL=https://example.com/guacamole" -e "GUAC_USER=username" -e "GUAC_PASS=password" -e "GUAC_DATASOURCE=datasource" -e "CHAT_HOOK=webhook_url" guacalert
Replace the placeholders with your actual values.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.