=== Monitorio - Server Monitoring ===
Contributors: lavien
Tags: monitoring, server, uptime, performance, wordpress monitoring, server health, site monitoring
Requires at least: 5.0
Tested up to: 6.7
Stable tag: 1.0.2
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Monitor your WordPress server health, performance, and uptime with Monitorio.eu - simple, reliable server monitoring.

== Description ==

**Monitorio** is a lightweight WordPress plugin that connects your website to [Monitorio.eu](https://monitorio.eu) monitoring service. Get real-time insights into your server's health, performance metrics, and uptime status.

= Key Features =

* **Server Health Monitoring** - Track CPU, memory, disk usage, and more
* **Performance Metrics** - Monitor response times and server load
* **Uptime Monitoring** - Get notified when your site goes down
* **Easy Setup** - Connect to Monitorio.eu in minutes
* **Lightweight** - Minimal impact on your server resources
* **Secure** - All data is encrypted and transmitted securely

= How It Works =

1. Create a free account at [Monitorio.eu](https://monitorio.eu)
2. Add your server and get your API keys
3. Install this plugin and enter your API keys
4. Start monitoring your WordPress site

= Pricing =

* **Free Plan** - Monitor 1 server for free (14-day trial, then continues as free tier)
* **Premium Plans** - Monitor unlimited servers with advanced features

= Requirements =

* WordPress 5.0 or higher
* PHP 7.4 or higher
* PHP extensions: json, openssl, curl
* exec() or shell_exec() function enabled (for system metrics)

== Installation ==

= Automatic Installation =

1. Log in to your WordPress admin panel
2. Go to Plugins > Add New
3. Search for "Monitorio"
4. Click "Install Now" and then "Activate"

= Manual Installation =

1. Download the plugin ZIP file
2. Log in to your WordPress admin panel
3. Go to Plugins > Add New > Upload Plugin
4. Upload the ZIP file and click "Install Now"
5. Activate the plugin

= Configuration =

1. Go to the Monitorio menu in your WordPress admin
2. Enter your Client API Key and Server API Key from Monitorio.eu
3. Click "Validate & Download" to download monitoring scripts
4. The plugin will automatically start collecting server metrics

== Frequently Asked Questions ==

= Is Monitorio free? =

Yes! Monitorio offers a free plan that allows you to monitor 1 server. You get a 14-day trial with full features, and after that, you can continue using the free tier or upgrade to a premium plan for additional servers and features.

= What data does Monitorio collect? =

Monitorio collects server performance metrics such as:
* CPU usage
* Memory usage
* Disk space
* PHP and Database status

No personal user data or sensitive content is collected.

= Is my data secure? =

Yes. All data is encrypted before transmission and stored securely on Monitorio.eu servers. We use industry-standard encryption (AES-256) and secure HTTPS connections.

= Will this slow down my website? =

No. Monitorio is designed to be lightweight. The monitoring script runs periodically (typically every minute) and has minimal impact on your server resources.

= How do I get my API keys? =

1. Create an account at [Monitorio.eu](https://monitorio.eu)
2. Add a new server in your dashboard
3. Copy the Client API Key and Server API Key
4. Paste them into the plugin settings

= Can I monitor multiple WordPress sites? =

Yes! Each WordPress site needs its own plugin installation with unique API keys. With a premium Monitorio.eu plan, you can monitor unlimited servers.

= What happens if my server goes down? =

Monitorio.eu will detect the outage and can notify you via:
* Email notifications
* Dashboard alerts

= Does this work with shared hosting? =

Yes, Monitorio works with most shared hosting providers. However, some hosts disable certain PHP functions (exec, shell_exec) which may limit the metrics that can be collected.

== Screenshots ==

1. Plugin dashboard with configuration options
2. Server status and monitoring statistics
3. Cron setup instructions for automated monitoring

== Changelog ==

= 1.0.2 =
* Added step-by-step setup wizard with visual progress indicator
* Steps must be completed in order: Configure → Download Scripts → System Check → Ready
* Added auto-reload after successful system check
* Improved card layout with Monitoring Status and Cron Setup side by side
* Fixed WordPress cache issues with option updates
* Enhanced UI with step badges and locked card states

= 1.0.1 =
* Added REST API endpoint for external triggering
* Improved error handling
* Added system check functionality
* Enhanced admin UI with status indicators

= 1.0.0 =
* Initial release
* Basic server monitoring functionality
* Integration with Monitorio.eu API
* Admin dashboard for configuration
* Multiple cron setup options

== Upgrade Notice ==

= 1.0.2 =
This update introduces a guided setup wizard that walks you through the configuration step-by-step. Existing installations will continue to work normally.

= 1.0.1 =
This update adds REST API support for cloud-based triggering and improves overall stability.

== Support ==

For support, please visit:
* [Monitorio.eu Documentation](https://monitorio.eu)
* [Contact Support](https://monitorio.eu/company)

== Privacy Policy ==

Monitorio collects server performance metrics and sends them to Monitorio.eu for analysis and display. No personal user data is collected. For more information, see our [Privacy Policy](https://monitorio.eu/privacy).
