LogicMonitor seeks to disrupt AI landscape with $800M strategic investment at $2.4B valuation to revolutionize data centers.

Learn More

Gmail OAuth Email Monitoring

Last updated on 22 November, 2024

LogicMonitor offers Gmail service monitoring for health metrics, including round-trip time and transit time. 

Requirements for Monitoring Gmail OAuth Email

To monitor Gmail service monitoring, you need the following:

  • Google Account
  • LogicModules for Email Service monitoring installed
    For more information, see Email Service Modules

In addition, you need the following from your Google Cloud Console to add the values as properties in your LogicMonitor portal: 

Warning: To properly configure the environment when generating a token, you need to use your own OAuth credentials, and set the selected scope to https://mail.google.com/.

Resource Properties

The following properties must be set in LogicMonitor using the values you obtain from your Google Cloud Console. For more information on setting properties, see Resource and Instance Properties.

PropertyValue 
gmail.refresh.keyThe refresh key obtained from Google Playground
gmail.client.id or email.userThe Gmail Client ID
gmail.client.secret.pass or email.passThe Gmail Client Secret

Monitoring Gmail OAuth Email

To monitor email transit time, create instances for each transit direction.

  1. From the LogicMonitor Resources page, navigate to the Email_TransitTime DataSource.
  2. From the Manage Device menu, select Add Monitored Instance.
  3. From the Add Monitored Instance page, enter the Name and Wildvalue information, based on the following example:
    • Name: Gmail > O365
    • Wildvalue (sender:receiver): gmail:o365
    • Instance Group: @default
  4. Select Save.
  5. Return to the Resources page and create a second monitored instance for the Email_TransitTime DataSource, based on the following example:
    • Name: O365 > Gmail
    • Wildvalue (sender:receiver): o365:gmail
    • Instance Group: @default
  6. Select Save.

For information, see Email Service Monitoring

Troubleshooting Gmail OAuth Monitoring

Ensure that IMAP is enabled in Gmail settings. For more information,  see Set up Gmail with a third-party email client from Google. 

In This Article