Page:
MONITORING_SCRIPTS
Pages
ARCHITECTURE
AUTO_CREATE_ORG_PROJECTS
CLI_AUTOMATION
DEPLOY_SCRIPTS
DOLIBARR_MODULE_IDS
DRY_RUN_PATTERN
Documentation-Standards.-.-
Documentation-Standards.-
File-Header-Standards
Home
JOOMLA_SYNC
LEGAL_DOC_GENERATOR_WEB_README
MCP-Servers.-.-.
MCP-Servers
MINIFICATION
MONITORING_SCRIPTS
NEW_SCRIPTS
QUICKSTART_ORG_PROJECTS
SITE_MONITORING
WIKI_STANDARDS
WORKFLOW_STANDARDS
api-automation-index.-
api-automation-index
api-definitions-default-index.-
api-definitions-default-index
api-definitions-sync-index.-
api-definitions-sync-index
api-deploy-index.-
api-deploy-index
api-fix-index.-
api-fix-index
api-index.-
api-index
api-maintenance-index.-
api-maintenance-index
api-plugin-index.-
api-plugin-index
api-tests-index.-
api-tests-index
api-tests-sample-index.-
api-tests-sample-index
api-validate-index.-
api-validate-index
automation-README.-
automation-README
automation-branch-version-automation.-
automation-branch-version-automation
automation-push-files.-
automation-push-files
automation-repo-cleanup.-
automation-repo-cleanup
client-repos.-.-
client-repos
standards-mokostandards-file-spec.-
standards-mokostandards-file-spec
templates-client-waas
templates-dolibarr
templates-generic
templates-mcp
workflows-README.-
workflows-README
workflows-auto-release.-
workflows-auto-release
workflows-branch-protection.-
workflows-branch-protection
workflows-build-release.-
workflows-build-release
workflows-cascade-dev.-
workflows-cascade-dev
workflows-changelog-management.-
workflows-changelog-management
workflows-demo-deployment.-
workflows-demo-deployment
workflows-dev-branch-tracking.-
workflows-dev-branch-tracking
workflows-dev-deployment.-
workflows-dev-deployment
workflows-index.-
workflows-index
workflows-release-system.-
workflows-release-system
workflows-renovate.-
workflows-renovate
workflows-reusable-workflows.-
workflows-reusable-workflows
workflows-rs-deployment.-
workflows-rs-deployment
workflows-secret-scanning.-
workflows-secret-scanning
workflows-shared-workflows.-
workflows-shared-workflows
workflows-standards-compliance.-
workflows-standards-compliance
workflows-static-analysis.-
workflows-static-analysis
workflows-sub-issue-management.-
workflows-sub-issue-management
workflows-update-server.-
workflows-update-server
workflows-workflow-architecture.-
workflows-workflow-architecture
Clone
1
MONITORING_SCRIPTS
Jonathan Miller edited this page 2026-05-19 20:48:44 +00:00
Monitoring Scripts
Scripts for monitoring uptime, SSL certificates, and Joomla versions across client sites.
All monitoring scripts live in
monitoring/and support--jsonoutput for integration with CI/automation.
Scripts
uptime-probe.php
Check uptime and response time for a list of URLs.
# Single URL
php monitoring/uptime-probe.php --url https://clarksvillefurs.com
# Multiple URLs from file
php monitoring/uptime-probe.php --urls sites.txt --timeout 15
# With ntfy alerting
php monitoring/uptime-probe.php --urls sites.txt --notify https://ntfy.mokoconsulting.tech/alerts
# JSON output
php monitoring/uptime-probe.php --urls sites.txt --json
Output table: URL | Status | Time | Result (PASS/FAIL)
ssl-check.php
Check SSL certificate expiry dates for domains.
# Single domain
php monitoring/ssl-check.php --domain clarksvillefurs.com
# Multiple domains from file
php monitoring/ssl-check.php --domains domains.txt --warn-days 30
# With alerting
php monitoring/ssl-check.php --domains domains.txt --notify https://ntfy.mokoconsulting.tech/alerts
Output table: Domain | Issuer | Expires | Days Left | Status (OK/WARN/EXPIRED)
joomla-version-audit.php
Audit Joomla core and extension versions across sites via the Joomla API.
php monitoring/joomla-version-audit.php --sites sites.json --latest 5.2.4
php monitoring/joomla-version-audit.php --sites sites.json --json
Sites file format (JSON array):
[
{"url": "https://clarksvillefurs.com", "token": "your-joomla-api-token"},
{"url": "https://other-site.com", "token": "other-token"}
]
Workflow Integration
dependency-audit.yml
Template workflow that runs composer audit on a schedule (weekly) and alerts on vulnerabilities.
Located at: templates/workflows/dependency-audit.yml
- Runs weekly (Monday 8am UTC) + manual trigger
- Parses composer audit JSON output
- Alerts via ntfy on vulnerabilities
- Writes summary to workflow step summary
Related
- SITE_MONITORING -- Prometheus/Grafana monitoring architecture
- DEPLOY_SCRIPTS -- Deploy and health check scripts
- JOOMLA_SYNC -- Server sync documentation
Repo: moko-platform
| Revision | Date | Author | Description |
|---|---|---|---|
| 1.0 | 2026-05-19 | Moko Consulting | Initial version |