Skip to main content

What You’ll Learn

  • Creating and managing uptime monitors
  • Connecting supported monitoring services
  • Understanding monitor fields and actions
  • Creating monitors for connected child sites

Integration Add-on - This add-on connects MainWP Dashboard to supported uptime monitoring services. No third-party WordPress plugin is required.
The MainWP Advanced Uptime Monitor Integration allows you to monitor your websites’ uptime by integrating with uptime monitoring services through their APIs. This add-on enables you to create, edit, display, start, pause, or delete your monitors directly from the MainWP Dashboard. The integration currently supports these uptime monitoring services:
  • Uptime Robot
  • Better Uptime
  • NodePing
  • Site24x7
The integration itself does not check for uptime, nor does it notify in case of some event. Both of these actions are performed by third-party uptime monitoring services.

Create New Monitor

1

Log in to your MainWP Dashboard

2

Go to MainWP > Add-ons > Monitoring > Advanced Uptime Monitor

3

Go to the Monitors tab

4

Click the Create New Monitor button

Click the Create New Monitor button
5

A popup screen will appear

A popup screen will appear
  1. Select Monitor types
  2. Set Friendly name
  3. Add the URL (or IP) address of your website
  4. Set Monitoring interval (in minutes)
  5. Select alert contacts to notify

Monitor Types

  • http(s): Perfect for website monitoring. The service regularly sends requests (which are the same as if a visitor is browsing your website) to the URL and decides if it is up or down depending on the HTTP statuses returned from the website (200-success, 404-not found, etc.)
  • ping: Good for monitoring a server. Ping (ICMP) requests are sent, and up/down status is decided according to whether responses are received. Ping is not a good fit for monitoring websites as a website (its IP) can respond to ping requests while it is down (which means that the site is down but the server hosting the site is up)
  • keyword: Checks if a keyword exists or does not exist on a web page
  • port: Good for monitoring services like SMTP, DNS, POP as all these services run from a specific port, and Uptime Robot decides their statuses based on whether they respond to the requests

Edit Monitor

Edit monitor button
1

Log in to your MainWP Dashboard

2

Go to MainWP > Add-ons > Monitoring > Advanced Uptime Monitor

3

Go to the Monitors tab

4

Locate the Monitor that you want to Edit

5

Click the Edit button in the corresponding row

6

Once the popup screen opens

Once the popup screen opens:
  1. Edit monitor data
  2. Click the Save Monitor button

Start-Pause Monitor

1

Log in to your MainWP Dashboard

2

Go to MainWP > Add-ons > Monitoring > Advanced Uptime Monitor

3

Go to the Monitors tab

4

Locate the Monitor that you want to Start / Pause

5

Click the Start / Pause button in the corresponding row

Pause monitor button

Monitor Statistics

1

Log in to your MainWP Dashboard

2

Go to MainWP > Add-ons > Monitoring > Advanced Uptime Monitor

3

Go to the Monitors tab

4

Locate the Monitor that you want to check

5

Click the Info action in the corresponding row

Monitor details view

Delete Monitor

1

Log in to your MainWP Dashboard

2

Go to MainWP > Add-ons > Monitoring > Advanced Uptime Monitor

3

Go to the Monitors tab

4

Locate the Monitor that you want to Delete

5

Click the Delete button in the corresponding row

Delete monitor button

Create Monitors for All Child Sites

To automatically create monitors for all child sites that don’t have corresponding monitors:
1

Log in to your MainWP Dashboard

2

Go to MainWP > Add-ons > Monitoring > Advanced Uptime Monitor

3

Go to the Monitors tab

4

Click the Create Monitors for All Sites button

5

The integration will create monitors for child sites without existing monitors

Connect Your Uptime Robot Account

To get your Uptime Robot API Key to use the MainWP Advanced Uptime Monitor Integration, visit the Uptime Robot Webpage.
1

Click the Sign-Up button (If you already have an account, proceed to step 4)

Click the Sign-Up button (If you already have an account, proceed to step 4)
Uptime Robot - Signup
2

Fill up the registration form and check your email to activate your account

Fill up the registration form and check your email to activate your account. Follow the link in the email. You will get the confirmation note.
3

After confirmation, you are successfully registered

After confirmation, you are successfully registered. Next, you need to log in and generate an API Key.
4

Click the Login button

5

When you type in your email address and password and click the Login button, you will be prompted to the Account Dashboard page

When you type in your email address and password and click the Login button, you will be prompted to the Account Dashboard page
6

Proceed to the My Settings page

Proceed to the My Settings page
Uptime Robot - My Settings
7

Scroll down to the API Information area and click the Create the main API key link

Scroll down to the API Information area and click the Create the main API key link
8

Then it will show you the Create the main API key button, click that button

Then it will show you the Create the main API key button, click that button
Uptime Robot - Create the Main API Key
9

And your API Key will appear.

Before being able to create, display, or manage Uptime Robot monitors, you need to add your Uptime Robot API key to your Advanced Uptime Monitor Integration.
1

Log in to your MainWP Dashboard

2

Go to MainWP > Add-ons > Monitoring > Advanced Uptime Monitor

3

Go to the Settings tab

Go to the Settings tab
  1. Select Uptime Robot as the monitoring service
  2. Enter your Uptime Robot API Key in the provided field
  3. Select a Default alert contact after contacts are available
  4. Click the Save Settings button
After you connect your account, you can set the default alert contact. The integration validates the API key when you click Save Settings. If Uptime Robot rejects the key, the integration keeps your previous key and shows the validation error. When you save a different API key, the integration clears stored uptime data and synchronizes monitors from the new account.

Uptime Robot API key permissions

The integration connects to the Uptime Robot REST API v3 and detects the permission level of your API key:
  • A key with write access allows all monitor actions from the MainWP Dashboard.
  • A read-only key lets you view monitors and uptime statistics only. The Settings tab shows a Connected — read-only notice, and the Create New Monitor, Edit, Delete, Start/Pause, and bulk action controls are disabled.
  • If Uptime Robot rejects the key entirely, the Settings tab shows Authentication failed — the API key must be replaced. Create a new API key in your Uptime Robot account and save it in the Settings tab.

Uptime ratio refresh

The integration stores uptime ratios for each Uptime Robot monitor and refreshes them in the background:
  • The monitor list shows the all-time uptime ratio. If the all-time ratio is not available yet, the last 24-hour ratio displays instead.
  • When monitors are missing their 24-hour ratio, opening the Monitors tab starts a synchronization dialog. The dialog refreshes each monitor and reports progress as it goes. If Uptime Robot rate limits the requests, the dialog shows a retry countdown and continues automatically after the wait period.
  • A scheduled job named MainWP AUM UptimeRobot refresh runs once hourly. Each run refreshes the 24-hour ratio for a small batch of monitors, rotating through all monitors across successive runs, and synchronizes recent incidents from your Uptime Robot account.
  • To reload monitor data from Uptime Robot on demand, click the Reload Uptime Robot data button on the Monitors tab.
If you run your MainWP Dashboard with WP-Cron disabled, schedule the direct worker file for the hourly refresh as described in Disable WP-Cron.

Connect Other Monitoring Services

The Settings tab also supports:
  • Site24x7 - Select the data center, enter the Client ID and Client Secret, then complete the Administrator, Reports, and Operations authorization steps.
  • NodePing - Enter the NodePing API Token.
  • Better Uptime - Enter the Better Uptime API Key.

API limitations of the free Uptime Robot plan

Uptime Robot has recently reduced the limit to only 10 requests per minute. Requests include creating new monitors through the MainWP integration and fetching information about existing monitors. Reaching the limit is fairly easy for a large number of sites. This limit is most often hit when creating monitors for all sites by clicking the “Create Monitors for All Sites” button in the UI. You will likely be able to create 2 or 3 monitors per attempt and receive an error (red exclamation mark) for other sites because the API limit will be reached. When Uptime Robot returns a rate-limit response, the integration pauses further requests for the wait period reported by the API and retries automatically. During uptime ratio synchronization, the progress dialog shows a countdown until the next retry.
Screenshot showing API rate limit error when creating monitors for all sites

How to get a Better Uptime API token

To get the Better Uptime API token:
1

Login to your Better Uptime account

2

Go to the Integrations > APIs page

3

Copy the REST API token

Better Uptime REST API token
Important Notes:
  • MainWP Advanced Uptime Monitor Integration does not support Monitor Specific API Keys.
  • If you cannot create your first monitor from the MainWP Advanced Uptime Monitor Integration, try creating the first monitor directly in the Uptime Robot dashboard, then create subsequent monitors from the integration.
  • If you cannot connect your account, try re-creating your Uptime Robot API key and try again.
  • If data is not loading properly from your Uptime Robot account, try resaving the Uptime Robot settings in the Advanced Uptime Monitor Integration.

Team Control Permissions

If you use the Team Control Extension, the Advanced Uptime Monitor respects each role’s Allowed Child Sites configuration. Users signed in with a restricted role only see monitors that belong to the child sites they are permitted to access; monitors for sites outside their scope are hidden from the Monitors tab and from related views. Notes on how this works:
  • Each monitor is automatically associated with the matching child site based on its URL. Monitors created before this association existed are migrated automatically the first time they are viewed or updated.
  • Monitors that cannot be matched to a child site (for example, IP-based or standalone endpoints) remain visible to all users so that they are not accidentally hidden.
  • Scheduled uptime checks, WP-CLI commands, and the MainWP REST API are unaffected and continue to process every monitor regardless of the current user’s role.
No additional configuration is required. Assign Allowed Child Sites to each role in Team Control as described in the Define Role Permissions section, and the uptime monitor list will honor those permissions automatically.