This is a cache of https://support.nagios.com/kb/article/monitoring-office-365-subscription-services-881.html. It is a snapshot of the page at 2025-05-14T00:10:40.338+0000.
Monitoring Office 365 Subscription Services
Home » Categories » Products » Nagios XI » Documentation » Monitoring Configuration

Monitoring Office 365 Subscription Services

Monitoring Office 365 Subscription Services

Overview

You can now monitor your Microsoft Office 365 subscription services with Nagios XI. Metrics such as Mailbox Usage, Group Activity, and Product Usage are now visible and thresholds can be configured so that you are alerted to any critical or warning events in your Office 365 environment.

Before you can use the instructions outlined in this document, you must first obtain the following information from your Microsoft Office 365/Entra administrator:

  • Application (client) ID (GUID) created during plugin registration in Microsoft Entra.
  • Directory (tenant) ID (GUID), of your organization or domain.
  • Client secret - plugin authentication credentials, created in Microsoft Entra.

Notes for Administrators: 

You will need to setup an app registration, with a client secret and  these API permissions...
Microsoft graph
  • Directory.Read.All
  • Group.Read.All
  • Reports.Read.All
  • User.Read.All
Plus, Global Administrator role is required in order to provide admin consent for application permissions to the Microsoft graph API.
 
For more information, see Grant Tenant-Wide Admin Consent to an Application on the Microsoft site.
 
Steps:
  1. In the Microsoft Entra admin center, create an App Registration with a friendly name, like "Nagios". Note the Application (client) ID and Directory (tenant) ID listed on the Overview tab.
  2. Go to API Permissions and add permissions.
  3. Select/click on Microsoft graph.
  4. Select "Application Permissions" type.
  5. Select the following:
    • i. Directory -> Directory.Read.All
    • ii. Group -> Group.Read.All
    • iii. Reports -> Reports.Read.All
    • iiii. User -> User.Read.All
  6. Click "Update permissions"
  7. Click "Grant admin consent for [tenant name]" (you must be a Global Administrator) to approve.
  8. Go to "Certificates & secrets" tab and add a new Client Secret (select desired expiration).
  9. Note (copy/save) the Secret value. This will be the only time you will be able to see the entire value.

Using The Microsoft/Office 365 Wizard

To begin using the Microsoft/Office 365 wizard navigate via the top menu bar to Configure > Configuration Wizards and select the Microsoft/Office 365 wizard. In the following screenshot you can see how the search field allows you to quickly find a wizard.

 

Step 1

  • Enter the Application (client) ID.

  • Enter the Directory (tenant) ID.

  • Enter the Client Secret.

  • Click Next.

Step 2

On this step you will configure all of the options for monitoring. In the screenshot you can see some of the options available.

  • Enter a valid Host Name.

  • Select the metrics that you'd like to monitor. You can monitor the following:

      • Mailbox Activity (by User)
      • Mailbox Usage (by User)
      • Mailbox Counts
      • Office 365 User Activations (by User)
      • Office 365 Activations (by Product Type)
      • Office 365 User Product Usage
      • Office 365 User Service Usage
      • Office 365 Group Activity (by Group)
      • Office 365 Group Files
  • Click Next once you have selected all the required options.

Complete the wizard by choosing the required options in Step 3 – Step 5.

To finish up, click on Finish in the final step of the wizard. This will create the new host and services and begin monitoring.

Once the wizard applies the configuration, click the View status details for <Office 365 HOST> link to see the new services that were created.

 

 



Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Nagios XI - How To Use Deadpool In Nagios XI
Viewed 4634 times since Thu, Mar 16, 2017
Nagios XI - Problems with $ Signs in the Check Command
Viewed 8688 times since Tue, Jan 26, 2016
Nagios XI - Running Auto-Discovery Jobs
Viewed 6372 times since Wed, Jul 19, 2017
Nagios XI - Core Config Manager - Bulk Renaming Tool
Viewed 5463 times since Sun, Jul 30, 2017
Nagios XI - Installing the XI Mac OS/X Agent
Viewed 7265 times since Wed, Jan 27, 2016
Nagios XI - Monitoring Windows With SNMP
Viewed 11895 times since Tue, Jul 18, 2017
Nagios XI - Upgrading The Linux NRPE Agent
Viewed 8876 times since Wed, Aug 30, 2017
Nagios XI - Mod-Gearman Queues and Workers
Viewed 49289 times since Fri, Mar 4, 2016
Nagios Core - SNMP Explained - NWC15
Viewed 14454 times since Mon, Feb 8, 2016
Nagios XI - How to Integrate the Bischeck Plugin Extension with Nagios XI
Viewed 5314 times since Thu, Jan 28, 2016