dieterholvoet / oc-uptimerobot-plugin
Provides dashboard widgets with Uptime Robot statistics
Installs: 28
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 1
Type:october-plugin
Requires
- php: >=7.0.8
- composer/installers: ~1.0
This package is auto-updated.
Last update: 2024-11-29 06:41:18 UTC
README
Provides dashboard widgets with Uptime Robot statistics
Installation
This OctoberCMS plugin requires PHP 7.0.8 or higher. It can be installed using Composer:
composer require dieterholvoet/oc-uptimerobot-plugin
How does it work?
This plugin provides two dashboard widgets showing statistics collected through the free Uptime Robot service:
- Overall uptime: Shows a percentage indicating the overall uptime of your website.
- Response time: Shows a line graph with response times, collected every 30 minutes
To prevent reaching API rate limits, the displayed data is refreshed every 5 minutes.
Configuration
To configure the plugin, go to the settings page in the backend. This plugin's settings can be found under the System section.
Configuration can also be provided through code by creating a configuration
file config/dieterholvoet/uptimerobot/config.php
, or config/dieterholvoet/uptimerobot/dev/config.php
for environment-specific configuration. Inside the overridden configuration file you can return only values you want to override.
<?php return [ 'api_key' => 'xxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx', 'monitor_id' => 000000000, ];
Security
If you discover any security-related issues, please email dieter.holvoet@gmail.com instead of using the issue tracker.
License
Distributed under the MIT License. See the LICENSE file for more information.