Status plugin for WordPress: show the live status of your services on your site

API & DocumentationWordPress, Websites & Automation·· 143 views· 3 min read

This plugin shows on your WordPress site whether your services are working. Visitors see how your services are doing, and the box refreshes by itself. It uses only our public API, with your MozOut account key, and works in Portuguese and English.

What it does

Status box: on any page, as a block or shortcode. It shows the API and the hosting, servers and domains you choose.

Your own names: you give each item the name visitors see. IP addresses and other details stay hidden.

Summary line: at the top, it says whether everything is working, something needs attention or there is a problem. Domains close to expiry show as a warning.

Always current: it refreshes by itself, every 60 seconds by default, and pauses while the browser tab is hidden.

You can add a link to the MozOut status page. There is also a box on the WordPress dashboard.

The shortcode

[mozout_service_status]: the status of the API, hosting, servers and domains chosen in the settings. Options: title, show and refresh (default 60). There is also a block in the editor, with the same options.

What you need

WordPress 6.0 or newer, PHP 7.4 to 8.5 and the OpenSSL extension. And an API key, created in the API Center of My MozOut.

Installing, step by step

1 Download the ZIP of the latest release.
2 Upload it in Plugins > Add New > Upload Plugin. You can also copy the mozout-status folder to wp-content/plugins/.
3 Activate the plugin and open Settings > MozOut Status.
4 Paste the API key and save. The key is checked with the API right away.

The API key and its permissions

Give the key only the permissions for what you show: hosting:read, vps:read and domains:read. See how to create a key and pick its permissions.

When you save it, the plugin asks the API about the key. A wrong, revoked or expired key is not saved, and the plugin tells you right away if permissions are missing or the key is a Sandbox key. The key is kept encrypted (AES-256-GCM, with the WordPress security keys) and never shown again. You can define MOZOUT_STATUS_API_KEY in wp-config.php instead.

Testing without spending

A sandbox_ key simulates writes and charges nothing. If you save a Sandbox key, the plugin tells you straight away. For the live site, use a prod_ key.

Good to know

Few calls: the status is read once per refresh interval, with one call per type, whatever the number of visitors.

The API line: it uses GET /v1/ping, which works without a key.

Help

If the box does not show or a service shows a status that looks wrong, open a support ticket and tell us the plugin version and the page with the box. The code is in the plugin repository, under the MIT license.

Want to show the status of your services on your site?

Download the latest release

SEE ALSO

Creating an API key

API Sandbox or Production

The repository on MozOut Git

SDKs and integrations, in the API documentation

RECOMMENDED PRODUCT

WordPress hosting

One-click install, updates handled, and speed that holds up. from £5.28/mo (3-year plan, with coupon)

See plans
Was this answer helpful? Your answer helps us improve this article.