automatesre / magento-monitoring
AutomateSRE read-only monitoring dashboard for Magento admin
Package info
github.com/automatesre/sre-magento-monitoring
Language:HTML
Type:magento2-module
pkg:composer/automatesre/magento-monitoring
Requires
- php: >=7.3
- magento/framework: >=102.0.0
README
Read-only Magento admin dashboard for AutomateSRE status and alerts.
Requirements: Magento 2.4.0+, PHP 7.3+ (PHP 8.1+ OK for Magento 2.4.4+). Read-only module — stores your API key in admin config and shows a dashboard. No changes to your store, services, or server.
Magento 2.4.4+ / PHP 8: If Stores → Configuration shows
Undefined array key "id"inIterator.php, flush config cache after deploy. That warning became a hard exception on PHP 8; older PHP often ignored it.
⚠️ Live Server — Before You Install
Permissions: Run all commands as the same user that owns your Magento files (usually
www-data,nginx, ormagento). Running asrootcan break file ownership. If unsure, prefix commands withsudo -u <webserver-user>.Time: Allow 10–20 minutes of planned downtime. Enable maintenance mode first so customers see a clean page instead of errors during the upgrade.
Quick checklist:
- Take a DB backup before starting.
- Enable maintenance mode:
bin/magento maintenance:enable- Copy the module, run upgrade commands (see below).
- Disable maintenance mode:
bin/magento maintenance:disable
Install from app/code
Copy this module to your Magento root as:
app/code/AutomateSRE/Monitoring
Then run from Magento root:
bin/magento module:enable AutomateSRE_Monitoring bin/magento setup:upgrade bin/magento setup:di:compile bin/magento setup:static-content:deploy -f bin/magento cache:flush
Configure
In Magento admin:
- Go to Stores > Configuration > AutomateSRE > Monitoring.
- Set API Base URL to
https://www.automatesre.com/api/v1. - Paste the read-only API key generated from AutomateSRE > Integrations.
- Save config and flush cache if Magento asks.
- Open AutomateSRE > Dashboard.
The module does not collect server data and does not run restart/remediation actions. It only reads status and alerts from AutomateSRE.