HomeGuidesAPI ReferenceGuidesMRT APIConfiguration API
GitHubAirheads Developer Community
Guides

Monitor Tenants

View site, device, client, and alert health across your tenants with one MSP credential

📘

Source Code

You can find the full source code and documentation for this workflow on GitHub: MSP Workbench

The Monitor tenants page in MSP Workbench shows Central health for your tenants: sites, devices, and open alerts. Open a tenant to browse its sites, devices, clients, and alerts. The page is read-only, and you don't need per-tenant credentials. Complete MSP Workbench Setup first.

Monitor tenants overview

Monitor tenants overview

Input

There is no manifest or CSV. Sign in, then pick a tenant on screen.

Central cluster. The workbench detects your Central clusters after sign-in and lists them under the page title, for example Central: US-2.

Tenant choice. Narrow the list with Search tenants… and the All / MSP owned / Customer owned filter. On the command line, name a tenant by its exact workspace name or workspace ID. Use the ID if two tenants share a name.

👍

Try it in demo mode

In demo mode, open Acme Corp to see a degraded site and open alerts.

Execution

1. Open the Overview

On the hub, under Observe, select Monitor tenants. The page detects your clusters, then loads tenants and their health. You see:

  • Totals: tenants, sites (and how many are degraded), devices, and open alerts by severity.
  • One card per tenant: ownership, sites with N degraded or all healthy, devices with N need attention (fair plus poor), a good / fair / poor health bar, and alert counts.

2. Open a Tenant

Select a card. The first time, a dialog shows the token exchange into that tenant. Turn on Don't show this again to skip it in this browser.

3. Browse the Tabs

The tenant page has four tabs. Only the tab you select is read.

TabShows
SitesLocation, health and health reasons, device, client and alert counts
DevicesName, serial, type, model, site, status, firmware, IPv4
ClientsName, MAC, IP, site, wired or wireless (with WLAN), SNR
AlertsSeverity, name, summary, device type, status, age

Tenant detail, Sites tab

Tenant detail, Sites tab

4. Refresh

Data does not refresh on its own. Select Refresh to read it again; Updated shows its age. On a tenant page, Refresh reads only the current tab again.

Command Line

uv run python workbench.py --demo monitor overview
uv run python workbench.py --demo monitor tenant "Acme Corp" --sites --alerts
uv run python workbench.py --demo monitor export --format csv --out tenants.csv
  • monitor overview prints every listed tenant with its health and the totals.
  • monitor tenant NAME_OR_ID prints the tenant's sites, devices, clients and alerts. Add --sites, --monitored-devices, --clients or --alerts to fetch only those sections.
  • monitor export writes the overview as JSON (the default) or CSV, with one row per tenant: sites, degraded sites, total devices, and critical alerts. Export is command-line only.

For global flags and exit codes, see Command Line.

Output

The web UI shows the overview and tenant tabs described above. It writes no files.

A tenant is listed only when its GreenLake workspace name exactly matches a Central tenant health rollup. A card marked ambiguous is left out of the totals.

If a Central cluster can't be read, or a tenant name is ambiguous, a coverage warning appears. When a cluster fails, the totals show Unavailable; hover over it to see which cluster.

Troubleshooting

For sign-in and server problems, see Troubleshooting.

ErrorMeaningFix
no_central_provisionGreenLake shows no provisioned Central application for this workspace.Check that Central is fully provisioned on the MSP workspace, then select Try again.
no_cluster_answeredNo Central cluster in the region accepted your workspace.Check that the API client belongs to the MSP workspace, then select Try again.
cluster_unreachableA candidate cluster did not answer. Clusters that did answer are still used.Check your network, then select Try again.
unmapped_regionCentral is provisioned in a region the workbench does not recognise.Contact the Automation Team with the region from the message.
ambiguous on a cardMore than one tenant or Central rollup has this name.Give each tenant a unique name, then Refresh.
Tenant not listedNo Central health rollup has exactly this workspace name.Check that the tenant has Central provisioned and that the names match exactly.
tenant_exchange_refusedGreenLake refused a token for this tenant. Your MSP sign-in is still valid.Check the API client's access to the tenant, then select Try again in the dialog.
tenant_not_found (exit 3)monitor tenant found no tenant with that exact name or ID.Use a name suggested in the error's hint, or one from monitor overview.

API Calls

StepServiceMethodEndpointDescription
1GLPGETservice-catalog/v1/service-manager-provisionsFinds the regions where Central is provisioned (after sign-in)
2CentralGETnetwork-msp/v1/list-tenantsProbes candidate clusters when a region has more than one
3GLPGETworkspaces/v1/msp-tenantsLists managed tenants
4CentralGETnetwork-msp/v1/list-tenantsTenant health rollup for the overview
5GLPPOST{base_url}/{tenant_workspace_id}/tokenToken exchange (MSP token → tenant token)
6CentralGETnetwork-monitoring/v1/sites-healthSites tab
7CentralGETnetwork-monitoring/v1/device-inventoryDevices tab
8CentralGETnetwork-monitoring/v1/clientsClients tab
9CentralGETnetwork-notifications/v1/alertsAlerts tab

Support


Did this page help you?