# Integrate OpManager with Google AI for AI-Powered Network Monitoring Connect OpManager to Google's Gemini models to generate alarm, device, device group, and problem summaries, scripts, and SNMP OID suggestions. You need a [Google AI Studio API key](https://ai.google.dev/gemini-api/docs/api-key). **Privacy:** To safeguard sensitive data, OpManager applies a [PII masking](https://www.manageengine.com/network-monitoring/help/ai-settings.html) layer before any information is sent to Google AI. Device and user identifiers, including IP addresses, hostnames, and serial numbers, are masked prior to transmission and automatically restored in the response, ensuring generated summaries and scripts remain accurate without exposing sensitive details to the AI vendor. **Paid vs free API keys:** Google states that prompts and responses sent with a paid tier (billing-enabled) API key are [not used to improve Google products](https://aistudio.google.com/docs/terms#data-use-paid), while content sent on the free tier may be. For production use, use an API key from a billing-enabled Google project, and review [Google's current terms](https://ai.google.dev/gemini-api/docs/billing) for your key type. - [Configuration in OpManager](https://www.manageengine.com/network-monitoring/help/integrate-opmanager-with-googleai.html#config) - [AI Settings: assigning vendors per feature](https://www.manageengine.com/network-monitoring/help/integrate-opmanager-with-googleai.html#ai-settings) - [AI-generated summaries in OpManager](https://www.manageengine.com/network-monitoring/help/integrate-opmanager-with-googleai.html#ai) ## Configuration in OpManager To enable AI-generated summaries in OpManager, you must first configure the Google AI integration. This requires generating an API key from Google AI Studio and entering it in OpManager to establish a secure connection between the two systems. For help creating a key, see Google's [Gemini API key documentation](https://ai.google.dev/gemini-api/docs/api-key). 1. Go to **Settings → General Settings → Integrations → GenAI → Google AI**. 2. Enter your **Organization Name** (optional). 3. In the **API Key** field, paste the key copied from your Google AI Studio account. If you haven't generated one yet, click **Generate API Key** to open Google AI Studio, then copy and paste the key into this field. ![Google AI Integration - ManageEngine OpManager](https://www.manageengine.com/sites/meweb/images/network-monitoring/images/googleai_integration_page.png) 4. Click **Fetch Model** to retrieve all models available for the provided API key. 5. Select the desired model from the **Model** dropdown. For the models Google offers, see Google's [Gemini models](https://ai.google.dev/gemini-api/docs/models) documentation. 6. Set the **Token Count** as required for your environment. Use the following guidance: - **What it controls:** Token Count sets the ceiling on the number of tokens the model can use to generate a response. A higher value helps accommodate more detailed summaries and scripts, if the model generates them. - **Recommended range:** 1,000 to 2,000 tokens for Device Summary, Device Group Summary, All Alarms Summary, and SNMP OID generation; 2,000 to 3,000 tokens for Individual Alarm Summary, Problem Summary, and Script Generation. Do not exceed the maximum output limit of the selected model. - Treat these values as a starting point rather than a fixed rule. The tokens needed depend on the model and how much reasoning it applies. One model may produce a summary in under 1,000 tokens, while a more reasoning-heavy model may need 4,000 to 5,000 tokens for a basic device summary. In general, the ranges above work well. - **Trade-offs:** Higher values increase Google AI usage cost and response time. Values that are too low can truncate the response, especially for features that use more tokens, such as Problem Summary and Script Generation. 7. Acknowledge the data privacy notice and click **Proceed**. ![Google AI Data Privacy Notice - ManageEngine OpManager](https://www.manageengine.com/sites/meweb/images/network-monitoring/images/googleai_privacy_note.png) 8. Click **Save**. To verify the integration, enable Google AI for All Alarms Summary on the **AI Settings** page, go to **Alarms**, and click the **Summarize** tab. The summary should carry the **Generated by Google AI** tag. ## AI Settings: assigning vendors per feature After completing the integration, navigate to the [AI Settings](https://www.manageengine.com/network-monitoring/help/ai-settings.html) page to control which vendor and model powers each AI feature in OpManager. 1. Go to **Settings → General Settings → AI Settings**. From this page, you can: - **Enable or disable** individual AI features using their toggle. - **Assign a vendor and model** independently for each feature using the **Vendor** and **Model** dropdowns. - **Apply a single vendor and model to all features at once** by enabling the **Apply to all features** checkbox. ![AI Settings page | OpManager](https://www.manageengine.com/sites/meweb/images/network-monitoring/images/ai_settings_page.png) The following features can be configured independently: | Feature | Description | |---|---| | **All Alarms Summary** | Consolidates all active alarms into a single prioritized summary | | **Individual Alarm Summary** | Analyzes a single alarm for probable cause and remediation steps | | **Device Group Summary** | Summarizes health and performance trends across a device group | | **Device Summary** | Generates a focused health overview for a single device | | **Problem Summary** | Analyzes correlated alarms and identifies the probable root cause | | **Script Generation** | Produces script templates from a natural-language description | | **SNMP OIDs for Performance Monitors** | Fetches relevant SNMP OIDs based on a plain-language description (available from OpManager version 12.9.120 onward) | If multiple vendors (such as [OpenAI](https://www.manageengine.com/network-monitoring/help/integrate-opmanager-with-openai.html), [DeepSeek](https://www.manageengine.com/network-monitoring/help/integrate-opmanager-with-deepseek.html), [SiliconFlow](https://www.manageengine.com/network-monitoring/help/integrate-opmanager-with-siliconflow.html), [Azure OpenAI](https://www.manageengine.com/network-monitoring/help/integrate-opmanager-with-azure-openai.html), or [Anthropic](https://www.manageengine.com/network-monitoring/help/integrate-opmanager-with-anthropic.html)) are configured, each feature can be assigned a different vendor. For example, alarm summaries can run on Google AI while script generation uses a locally deployed [Ollama](https://www.manageengine.com/network-monitoring/help/integrate-opmanager-with-ollama.html) instance. ## AI-generated summaries in OpManager With the Google AI integration configured and enabled in **AI Settings**, the following features become available: - [All alarms summary](https://www.manageengine.com/network-monitoring/help/integrate-opmanager-with-googleai.html#sum-1) - [Individual alarm summary](https://www.manageengine.com/network-monitoring/help/integrate-opmanager-with-googleai.html#sum-2) - [Device group summary](https://www.manageengine.com/network-monitoring/help/integrate-opmanager-with-googleai.html#sum-3) - [Device summary](https://www.manageengine.com/network-monitoring/help/integrate-opmanager-with-googleai.html#sum-4) - [Problem summary](https://www.manageengine.com/network-monitoring/help/integrate-opmanager-with-googleai.html#sum-5) - [Script generation](https://www.manageengine.com/network-monitoring/help/integrate-opmanager-with-googleai.html#script) - [SNMP OIDs for Performance Monitors](https://www.manageengine.com/network-monitoring/help/integrate-opmanager-with-googleai.html#snmp) ### All Alarms Summary OpManager can consolidate all active alarms into a single, easy-to-read summary highlighting the most critical details across your monitored infrastructure. 1. Navigate to **Alarms** and select the **Summarize** tab in the top-right corner. OpManager will instantly generate the summary without any additional input. ![All Alarms Summary by Google AI Integration - ManageEngine OpManager](https://www.manageengine.com/sites/meweb/images/network-monitoring/images/googleai_multiple_alarm_summary.png) ### Individual Alarm Summary OpManager's Google AI integration can analyze individual alarms in detail, identifying the alarm type, listing probable causes, and generating a detailed, actionable summary for that specific alarm. 1. Navigate to **Alarms** and open any alarm of your choice. 2. Select the **Summarize** tab to generate a detailed summary for that alarm. ![Individual Alarm Summary by Google AI Integration - ManageEngine OpManager](https://www.manageengine.com/sites/meweb/images/network-monitoring/images/googleai_single_alarm_summary.png) ### Device Group Summary The Google AI integration enables AI-generated summaries for device groups in OpManager, providing a consolidated snapshot of device conditions, key performance metrics, and actionable recommendations across all devices within the group. Group-level summaries are better suited for monitoring large network segments, offering a broader view that helps identify patterns and issues across multiple devices at once. 1. Go to **Settings → Configurations → Groups**. Device groups can also be accessed directly from the **Inventory**. 2. Select a device group and click the **Summarize** tab to generate the AI-powered summary. [![Device Group page with Summarize tab - ManageEngine OpManager](https://www.manageengine.com/sites/meweb/images/network-monitoring/images/siliconflow_grouppage.png)](https://www.manageengine.com/sites/meweb/images/network-monitoring/images/siliconflow_grouppage.png) [![Device Group Summary by Google AI Integration - ManageEngine OpManager](https://www.manageengine.com/sites/meweb/images/network-monitoring/images/googleai_group_summary.png)](https://www.manageengine.com/sites/meweb/images/network-monitoring/images/googleai_group_summary.png) ### Device Summary OpManager's Google AI integration can generate a focused summary for any individual device, covering its overall health status and key performance metrics in a single consolidated view. 1. Navigate to **Inventory** and select a device to open its snapshot page. 2. Click the **Summarize** tab within the snapshot page to trigger the AI-generated summary. [![Device snapshot page with Summarize tab - ManageEngine OpManager](https://www.manageengine.com/sites/meweb/images/network-monitoring/images/siliconflow_devicepage.png)](https://www.manageengine.com/sites/meweb/images/network-monitoring/images/siliconflow_devicepage.png) [![Device Summary by Google AI Integration - ManageEngine OpManager](https://www.manageengine.com/sites/meweb/images/network-monitoring/images/googleai_device_summary.png)](https://www.manageengine.com/sites/meweb/images/network-monitoring/images/googleai_device_summary.png) ### Problem Summary OpManager's Google AI integration extends AI analysis to correlated **Problems**. When related alarms are grouped into a single **Problem** through [Event Correlation](https://www.manageengine.com/network-monitoring/problem-and-event-correlation.html), Google AI analyzes the associated alarms and identifies the probable root cause, tagged with a high or medium confidence level, along with suggested remediation steps. 1. Navigate to **Alarms → Problems** and open the **Problem** you want to analyze. 2. Click **Analyze with AI** to generate the summary. ![Problem Summary by Google AI Integration - ManageEngine OpManager](https://www.manageengine.com/sites/meweb/images/network-monitoring/images/googleai_problem_summary.png) ### Script Generation OpManager's [script monitoring](https://www.manageengine.com/network-monitoring/help/script-template.html) supports the execution of custom scripts (including PowerShell, Shell, VBScript, Perl, and Python) to monitor devices and capture script outputs as metrics. The Google AI integration extends this capability by allowing script templates to be generated automatically using AI. Instead of writing scripts manually, a plain-language prompt can be entered and Google AI will produce the required script instantly, simplifying the process of building custom monitoring templates. 1. Go to **Settings → Monitoring → Script Templates**. 2. Click **Add** and fill in the required monitoring details. 3. Under the **Script Details** section, click **Generate with AI** to open the Google AI prompt interface. [![Script Template page with Generate with AI - ManageEngine OpManager](https://www.manageengine.com/sites/meweb/images/network-monitoring/images/siliconflow_script_template_page.png)](https://www.manageengine.com/sites/meweb/images/network-monitoring/images/siliconflow_script_template_page.png) [![Script Generation by Google AI Integration - ManageEngine OpManager](https://www.manageengine.com/sites/meweb/images/network-monitoring/images/googleai_script_template_generation.png)](https://www.manageengine.com/sites/meweb/images/network-monitoring/images/googleai_script_template_generation.png) 4. In the prompt window, enter a description of the script to be generated (for example: *PowerShell script that returns free space percentage on C: as a number*). 5. Click **Generate** for Google AI to process the prompt and produce the script automatically. 6. Review the generated script and save it as a template to use for device monitoring. **Caution:** AI-generated scripts can contain errors or unintended commands. Always review the generated script, and test it on a non-production device, before saving it as a template and deploying it for monitoring. ### SNMP OIDs for Performance Monitors From OpManager version 12.9.120 onward, Google AI can fetch relevant SNMP OIDs based on a plain-language description of the metric you want to monitor, eliminating the need to look up OIDs manually. 1. Ensure **SNMP OIDs for Performance Monitors** is enabled on the **AI Settings** page. 2. Go to **Actions → Add SNMP Monitor** and select the target device. For details on adding SNMP monitors, see [Add Custom SNMP Monitor](https://www.manageengine.com/network-monitoring/help/add-snmp-monitor.html). 3. Click **Get OID Details**. 4. Describe the metric to monitor, including the device type or model if known (for example: *Interface input error rate on a Cisco Catalyst 9300*), and click **Fetch**. 5. Click **Use this OID** to populate the formula field. 6. Click the **Query Device** icon to verify the OID, then save the monitor. ![SNMP OID lookup by Google AI Integration - ManageEngine OpManager](https://www.manageengine.com/sites/meweb/images/network-monitoring/images/googleai_perf_monitor_generation.png) The OpManager—Google AI integration consolidates AI-powered summaries, real-time insights, automated script generation, and SNMP OID lookup into a unified workflow — significantly reducing the need for manual analysis and enabling faster, more informed decision-making across network operations.