https://github.com/dieterholvoet/oc-uptimerobot-plugin
Provides dashboard widgets with Uptime Robot statistics.
https://github.com/dieterholvoet/oc-uptimerobot-plugin
octobercms octobercms-dashboard-widget octobercms-plugin uptime-robot
Last synced: 5 months ago
JSON representation
Provides dashboard widgets with Uptime Robot statistics.
- Host: GitHub
- URL: https://github.com/dieterholvoet/oc-uptimerobot-plugin
- Owner: DieterHolvoet
- License: mit
- Created: 2020-04-26T18:03:16.000Z (about 6 years ago)
- Default Branch: release/v1
- Last Pushed: 2020-10-01T10:21:49.000Z (almost 6 years ago)
- Last Synced: 2024-12-30T06:12:07.538Z (over 1 year ago)
- Topics: octobercms, octobercms-dashboard-widget, octobercms-plugin, uptime-robot
- Language: PHP
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
oc-uptimerobot-plugin
======================
[](https://packagist.org/packages/dieterholvoet/oc-uptimerobot-plugin)
[](https://packagist.org/packages/dieterholvoet/oc-uptimerobot-plugin)
[](https://packagist.org/packages/dieterholvoet/oc-uptimerobot-plugin)
> Provides dashboard widgets with Uptime Robot statistics

## Installation
This OctoberCMS plugin requires PHP 7.0.8 or higher. It can be
installed using Composer:
```bash
composer require dieterholvoet/oc-uptimerobot-plugin
```
## How does it work?
This plugin provides two dashboard widgets showing statistics collected
through the free [Uptime Robot](https://uptimerobot.com) 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
'xxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx',
'monitor_id' => 000000000,
];
```
## Security
If you discover any security-related issues, please email
[dieter.holvoet@gmail.com](mailto:dieter.holvoet@gmail.com) instead of using the issue
tracker.
## License
Distributed under the MIT License. See the [LICENSE](LICENSE) file
for more information.