Skip to main content

Google Workspace


Google Workspace, is a collection of cloud computing, productivity and collaboration tools, software and products developed and marketed by Google.

The Centreon Monitoring Connector aims to collect the real-time status and availability of the services by requesting the dedicated Status API available on Google servers.

Monitoring Connector assets​

Monitored objects​

  • Services: Gmail, Meet, Drive, etc...

The list of the applications that can be monitored is available here:

Discovery rules​

Rule nameDescription
App-Google-Workspace-Services-NameDiscover services and monitor their status

Monitored metrics​

Metric nameDescription of services currently monitored
statusStatus of the service


The Centreon Poller that will be used to monitor Google Workspace must be able to reach the related servers ( on the Internet using the TCP/443 HTTPS port. The plugin allows you to use a proxy if needed.


  1. Install the Centreon package on every Centreon poller expected to monitor Google Workspace services:
yum install centreon-plugin-Applications-Google-Workspace-Api
  1. On the Centreon Web interface, install the Google Workspace Centreon Pack on the Configuration > Monitoring Connector Manager page

Host configuration​

  • Log into Centreon and add a new Host through Configuration > Hosts.
  • Fill the "IP Address / DNS" field with a localhost IP address (e.g
  • Select the App-Google-Workspace-Api-custom

This Host Template is a dummy type so the Host check command won't initiate a ping request to an Internet ressource (this kind of request usually being denied). The Host status would then always be OK

XGOOGLEWORKSPACESTATUSHOSTNAMEIP or name of the Status server (Default:
XGOOGLEWORKSPACESTATUSPORTPort used to reach the Google server (Default: '443')
XGOOGLEWORKSPACESTATUSPROTOProtocol used to reach the Google server (Default: 'https')
PROXYURLConfigure a proxy URL to use if needed
GOOGLEWORKSPACEEXTRAOPTIONSAny extra option you may want to add to every command_line (eg. a --verbose flag)
DUMMYSTATUSHost state. Default is OK, do not modify it unless you know what you are doing
DUMMYOUTPUTHost check output. Default is 'This is a dummy check'. Customize it with your own if needed

This template will deploy one "Global" Service that will monitor all of the services. Use the Service Discovery feature if you wish to get one Service per google workspace service.

How to test the Plugin and what are the main options for?​

Once the plugin installed, log into your Centreon Poller CLI using the centreon-engine user account and test the Plugin by running the following command (Some of the parameters such as proxyurl have to be adjusted):

/usr/lib/centreon/plugins/ \
--plugin='apps::google::workspace::plugin' \
--mode=services \
--hostname='' \
--proto='https' \
--port='443' \
--proxyurl='' \
--filter-name='mail|drive|meet' \
--warning-status='%{status} eq "disruption"' \
--critical-status='%{status} eq "outage"' \

Expected command output is shown below:

OK: All Google workspace services are ok | ''=3;;;0;
Service 'Gmail' status is available
Service 'Google Drive' status is available
Service 'Google Meet' status is available

In this example, the Plugin gets the status and availability of Google workspace services (--plugin='apps::google::workspace::plugin' --mode=services) by requesting the official Google status server API (--hostname='' --proto='https' --port='443'). Only the status of the gmail, drive and meet applications will be displayed (--filter-name='gmail|drive|meet').

This command would trigger a WARNING alert if one of the service is reported as degraded (--warning-status='%{status} eq "disruption"') and a CRITICAL alert for a total outage on an service (--critical-status='%{status} eq "outage"').

All the filters that can be used as well as all the available thresholds parameters can be displayed by adding the --help parameter to the command:

/usr/lib/centreon/plugins/ \
--plugin='apps::google::workspace::plugin' \
--mode=services \


Troubleshooting plugins