> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apinizer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SNMP

> Creates a connection definition that securely sends SNMP trap and inform messages. You can receive trap/inform messages from network devices and perform secure monitoring with v1/v2c/v3 protocols

## Overview

<AccordionGroup>
  <Accordion title="What is its Purpose?">
    <CardGroup cols={1}>
      <Card title="Trap/Inform Message Matching" icon="send">
        Used to match SNMP trap/inform messages from network and infrastructure devices with Apinizer Integration Flow components
      </Card>

      <Card title="Alarm Management" icon="bell">
        Facilitates alarm management for operations teams by routing multiple message types over the same connection
      </Card>

      <Card title="Multi-Version Support" icon="layers">
        Ensures consistent communication with devices having different security levels through SNMP v1, v2c, and v3 support
      </Card>

      <Card title="Environment Migration" icon="move">
        Accelerates migration of connection configurations to environments through project-based authorization and export/import support
      </Card>
    </CardGroup>
  </Accordion>

  <Accordion title="How it Works">
    <CardGroup cols={2}>
      <Card title="Connection Initialization" icon="play">
        When an SNMP connection is requested from Integration Flow or Connector, the system reads the configured connection parameters
      </Card>

      <Card title="Connection Pool Management" icon="database">
        A logical connection pool is maintained for lightweight UDP sessions; if an active socket exists, it is reused, otherwise a new SNMP session is opened
      </Card>

      <Card title="Authentication" icon="lock">
        Community string for SNMP v1/v2c, USM-based Authentication mechanism for SNMP v3 is activated
      </Card>

      <Card title="Data Communication" icon="send">
        Trap, inform, or get requests are sent over UDP ports 161/162 according to the defined message type, and responses are read
      </Card>

      <Card title="Connection Management" icon="settings">
        After the operation is completed, the connection returns to the pool; the socket is kept open for continuous trap listening
      </Card>

      <Card title="Error Management" icon="alert-circle">
        In case of connection error, timeout, or authentication error, retry is attempted up to the retryCount value, then the error is logged and transmitted to the user
      </Card>
    </CardGroup>
  </Accordion>

  <Accordion title="Use Cases">
    <CardGroup cols={2}>
      <Card title="Event Management System" icon="activity">
        Forwarding traps from network devices to the event management system
      </Card>

      <Card title="Data Center Monitoring" icon="monitor">
        Monitoring energy and climate control equipment in the data center with SNMP OID values
      </Card>

      <Card title="SIEM Integration" icon="shield">
        Routing SNMP inform messages from security devices to SIEM integration
      </Card>

      <Card title="REST API Bridges" icon="link">
        Communicating with SNMP-based REST API bridges provided by hardware manufacturers
      </Card>
    </CardGroup>
  </Accordion>
</AccordionGroup>

## Technical Features and Capabilities

<AccordionGroup>
  <Accordion title="Basic Features">
    <CardGroup cols={2}>
      <Card title="Multi-SNMP Version Support" icon="layers">
        Can connect to both legacy and secure USM-based devices with V1, V2c, and V3 selections.
      </Card>

      <Card title="Message Type Flexibility" icon="send">
        Different alarm scenarios are managed from a single connection by selecting Trap, Inform, or Get requests.
      </Card>

      <Card title="Dynamic PDU OID Management" icon="map">
        Device-specific fields are easily mapped through PDU OID for Message/Time fields and PDU Variable Map.
      </Card>

      <Card title="Environment-Based Configuration" icon="code-branch">
        Ability to define separate connection parameters for each environment (Development, Test, Production).
      </Card>

      <Card title="Enable/Disable Control" icon="toggle-on">
        Activating or deactivating the connection (enable/disable toggle). In passive state, the connection cannot be used but its configuration is preserved.
      </Card>
    </CardGroup>
  </Accordion>

  <Accordion title="Advanced Features">
    <CardGroup cols={2}>
      <Card title="PDU Variable Map Editor" icon="code">
        OIDs in the SNMP payload are renamed according to business rules using a key/value table.
      </Card>

      <Card title="USM Security Level Automation" icon="shield">
        Required authentication/privilege fields automatically become mandatory based on Security Level selection.
      </Card>

      <Card title="Global Migration and Project Sharing" icon="share">
        Connection can be migrated to the global area through Project Operations services and reused across multiple projects.
      </Card>

      <Card title="Connection Test Feature" icon="flask">
        Ability to validate connection parameters before saving through the "Test Connection" button.
      </Card>

      <Card title="Export/Import Feature" icon="file-export">
        Exporting connection configuration as a ZIP file. Importing to different environments (Development, Test, Production). Version control and backup capability.
      </Card>

      <Card title="Connection Monitoring" icon="chart-line">
        Monitoring connection health, pool status, and performance metrics.
      </Card>
    </CardGroup>
  </Accordion>
</AccordionGroup>

## Connection Parameters

<AccordionGroup>
  <Accordion title="Required Parameters">
    <CardGroup cols={1}>
      <Card title="Name" icon="tag">
        **Description:** Connection name (must be unique)\
        **Example Value:** `Production_SNMP`\
        **Notes:** Cannot start with space, special characters should not be used
      </Card>

      <Card title="Version" icon="layers">
        **Description:** SNMP version to use (V1, V2c, V3)\
        **Example Value:** `V3`\
        **Notes:** It is recommended to select the highest version supported by the device
      </Card>

      <Card title="Connection String" icon="network">
        **Description:** UDP address and port of the SNMP target\
        **Example Value:** `udp:10.10.10.5/162`\
        **Notes:** Port 162 is used for trap, 161 for get/inform
      </Card>

      <Card title="Security/Community Name" icon="lock">
        **Description:** Community string or security name according to version\
        **Example Value:** `public`\
        **Notes:** Used as security name in V3, community is required in v1/v2c
      </Card>

      <Card title="Retry Count" icon="refresh-cw">
        **Description:** Number of retry attempts for failed messages\
        **Example Value:** `2`\
        **Notes:** A value of 0 means no retry will be performed
      </Card>

      <Card title="Timeout (seconds)" icon="clock">
        **Description:** Maximum wait time for SNMP request response\
        **Example Value:** `30`\
        **Notes:** Very low durations can cause packet loss
      </Card>

      <Card title="Message Type" icon="send">
        **Description:** Trap, Inform, or Get selections\
        **Example Value:** `TRAP`\
        **Notes:** The selected type triggers Integration Flow steps
      </Card>

      <Card title="PDU OID for Message" icon="code">
        **Description:** OID from which the alarm message will be read\
        **Example Value:** `.1.3.6.1.2.1.1.6`\
        **Notes:** Should be updated according to device documentation
      </Card>

      <Card title="Security Level" icon="shield">
        **Description:** USM security level to be used only in V3\
        **Example Value:** `AUTH_PRIV`\
        **Notes:** Additional authentication/priv fields become mandatory based on selection
      </Card>
    </CardGroup>
  </Accordion>

  <Accordion title="Optional Parameters">
    <CardGroup cols={1}>
      <Card title="Description" icon="file-text">
        **Description:** Description about the purpose of the connection\
        **Default Value:** (Empty)\
        **Recommended Value:** DC Trap Forwarder
      </Card>

      <Card title="PDU OID for Time" icon="clock">
        **Description:** OID to read for message timestamp\
        **Default Value:** `.1.3.6.1.2.1.1.3.0`\
        **Recommended Value:** Match with the device's sysUpTime OID
      </Card>

      <Card title="PDU Variable Map" icon="map">
        **Description:** Additional OID field name mappings\
        **Default Value:** (Empty)\
        **Recommended Value:** Add key/value pairs for critical fields
      </Card>

      <Card title="Privacy Protocol List" icon="shield">
        **Description:** Privacy algorithms supported for V3\
        **Default Value:** (AES128)\
        **Recommended Value:** Select all algorithms compatible with the device
      </Card>

      <Card title="Enable User Authentication" icon="user-check">
        **Description:** User-based USM authorization\
        **Default Value:** false\
        **Recommended Value:** Set to true for V3 and critical devices
      </Card>

      <Card title="Security Name" icon="user">
        **Description:** Name to use when user auth is enabled\
        **Default Value:** (Empty)\
        **Recommended Value:** Using the same value as Community is consistent
      </Card>

      <Card title="USM Authentication Protocol" icon="key">
        **Description:** Authentication algorithm such as MD5/SHA\
        **Default Value:** (Empty)\
        **Recommended Value:** Select a strong algorithm (e.g., SHA256)
      </Card>

      <Card title="Auth Passphrase" icon="lock">
        **Description:** Password for authentication\
        **Default Value:** (Empty)\
        **Recommended Value:** Provide at least 8 characters + complexity
      </Card>

      <Card title="USM Privacy Protocol" icon="shield-check">
        **Description:** Privacy algorithm such as DES/AES\
        **Default Value:** (Empty)\
        **Recommended Value:** Prefer AES256 if supported
      </Card>

      <Card title="Priv Passphrase" icon="key">
        **Description:** Privacy password\
        **Default Value:** (Empty)\
        **Recommended Value:** Manage passwords through secret manager
      </Card>
    </CardGroup>
  </Accordion>
</AccordionGroup>

### Timeout and Connection Pool Parameters

<CardGroup cols={2}>
  <Card title="Connection Timeout" icon="clock">
    **Description:** Maximum wait time for establishing connection\
    **Default:** 30000 ms\
    **Min:** 1000 ms | **Max:** 120000 ms
  </Card>

  <Card title="Request Timeout" icon="hourglass">
    **Description:** Maximum wait time for request response\
    **Default:** 30000 ms\
    **Min:** 1000 ms | **Max:** 120000 ms
  </Card>

  <Card title="Pool Size" icon="layer-group">
    **Description:** Maximum number of connections in connection pool\
    **Default:** 5\
    **Min:** 1 | **Max:** 50
  </Card>

  <Card title="SNMP Retry Interval" icon="repeat">
    **Description:** Wait time between retry attempts\
    **Default:** 5000 ms\
    **Min:** 1000 ms | **Max:** 30000 ms
  </Card>
</CardGroup>

## Usage Scenarios

<CardGroup cols={2}>
  <Card title="Network Alarm Consolidation" icon="activity">
    **Situation:** Hundreds of traps coming from core switches\
    **Solution:** Version V2c, message type TRAP, retry count 1, label interface OIDs in PDU map\
    **Expected Result:** All traps are collected over a single connection and routed to the relevant queue within Flow
  </Card>

  <Card title="Security Device Inform Flow" icon="shield">
    **Situation:** UTM device port 162 is closed\
    **Solution:** Message type INFORM, connection string udp:utm01/161, timeout 45, enable user authentication true\
    **Expected Result:** Connection automatically uses port 161, inform response is awaited
  </Card>

  <Card title="Energy Monitoring" icon="battery">
    **Situation:** UPS devices sending sysUpTime information\
    **Solution:** PDU OID for Time .1.3.6.1.2.1.1.3.0, define batteryStatus OID in variable map\
    **Expected Result:** Flow generates alerts based on batteryStatus value
  </Card>

  <Card title="SNMPv3 Secure Trap" icon="lock">
    **Situation:** Unauthorized access attempts detected\
    **Solution:** Version V3, security level AUTH\_PRIV, select SHA256 + AES128, read passphrase from secret manager\
    **Expected Result:** Traps arrive encrypted, authentication errors are logged
  </Card>

  <Card title="Test Environment Simulation" icon="flask">
    **Situation:** Fake traps from lab devices will be used in testing\
    **Solution:** Connection string udp:lab-simulator/162, parameters are set while enable is false, then enabled\
    **Expected Result:** Trap flow is validated in test scenarios without affecting the real production configuration
  </Card>
</CardGroup>

## Connection Configuration

### Creating a New SNMP Connection

<img src="https://mintcdn.com/apinizer/YX1NcEKlSBeHefxE/images/yonetici/baglantilar/snmp-variable-new.png?fit=max&auto=format&n=YX1NcEKlSBeHefxE&q=85&s=46ddbd67df667c4966d4ece5dd35928a" alt="Image 2024 9 9 15 35 35 Pn" width="1000" className="mr-auto" data-path="images/yonetici/baglantilar/snmp-variable-new.png" />

#### Configuration Steps

<Steps>
  <Step title="Navigating to Creation Page">
    * Go to **Connection → SNMP** section from the left menu.
    * Click the **\[+ Create]** button at the top right.
  </Step>

  <Step title="Entering Basic Information">
    **Enable Status (Active Status):**

    * Set active/passive status with toggle. New connections are active by default.

    **Name - Required:**

    * Example: `Production_SNMP`
    * Enter a unique name, cannot start with space.
    * System automatically checks. Green checkmark: available. Red cross: existing name.

    **Description:**

    * Example: "SNMP trap collector"
    * Max. 1000 characters.
    * Describe the purpose of the connection.

    <Info>
      In the action button area at the top of the page, you can use the **\[\<> Variable]** button to select dynamic values, and with global variables, you can manage connection parameters with variable-based values instead of fixed values. For detailed information, review the [Dynamic Variables](/en/concepts/core-concepts/dynamic-variables) page.
    </Info>
  </Step>

  <Step title="Environment Selection">
    * Select environment from dropdown menu: **Development**, **Test**, or **Production**.
    * Different connection parameters can be defined for each environment.
  </Step>

  <Step title="SNMP Basic Parameters">
    * Fill in **Version**, **Connection String**, **Message Type**, **Retry Count**, and **Timeout** fields.
    * Write the correct port according to device documentation, adjust retryCount value according to network quality, remember that timeout value is in seconds.
  </Step>

  <Step title="OID and Message Maps">
    * Determine **PDU OID for Message/Time** fields according to your device's MIB files.
    * If additional fields are needed, add OID and the field name to be read as key/value to the **PDU Variable Map** table.
  </Step>

  <Step title="Timeout and Connection Pool Settings">
    * Review connection/request timeout values in milliseconds in the advanced section.
    * Determine concurrent trap processing capacity with **Pool Size** and enter a value appropriate for network delay for **SNMP Retry Interval**.
  </Step>

  <Step title="Security and Authentication Settings">
    * If you selected SNMPv3, determine **Security Level**.
    * When **Enable User Authentication** is enabled, select USM Authentication/Privacy protocols, set passphrase fields to at least 8 characters, and use secret manager information.
  </Step>

  <Step title="Test Connection">
    * Click the **\[Test Connection]** button.
    * Test whether connection parameters are correct.
    * **Success:** Green confirmation message
    * **Failed:** Error details are shown
  </Step>

  <Step title="Saving">
    * Click the **\[Save and Deploy]** button at the top right.

    **Checklist:**

    * Unique name
    * Required fields filled
    * Test connection successful (recommended)

    **Result:**

    * Connection is added to the list
    * Becomes available in Integration Flow and Connector steps
    * Becomes active according to environment

    <Check>
      Connection created successfully! You can now use it in Integration Flow and Connector steps.
    </Check>
  </Step>
</Steps>

### Deleting a Connection

<CardGroup cols={2}>
  <Card title="Deletion Process" icon="trash">
    Select **Delete** from the **⋮** menu at the end of the row or click the **\[Delete]** button on the connection detail page
  </Card>

  <Card title="Deletion Tips" icon="info-circle">
    **Check Before Deleting:** It may be used in Integration Flow or Connector steps. If necessary, assign an alternative connection. Take a backup with **Export** before deleting
  </Card>

  <Card title="Alternative: Deactivation" icon="toggle-off">
    Use the **Disable** option instead of deleting. Connection becomes passive but is not deleted. Can be reactivated when needed
  </Card>
</CardGroup>

### Exporting/Importing Connections

<Info>
  In this step, users can export existing connections for backup, migration to different environments, or sharing purposes, or import a previously exported connection again. This operation is used to maintain data integrity in version management, transitions between test and production environments, or inter-team sharing processes.
</Info>

<AccordionGroup>
  <Accordion title="Export">
    <CardGroup cols={2}>
      <Card title="Method 1" icon="download">
        Select **⋮ → Export** from the action menu. ZIP file is automatically downloaded.
      </Card>

      <Card title="Method 2" icon="file-export">
        Click the **\[Export]** button on the connection detail page. ZIP file is downloaded.
      </Card>

      <Card title="File Format" icon="file-zipper">
        Format: `Date-connection-SNMP-export.zip`\
        Example: `13 Nov 2025-connection-Production_SNMP-export.zip`
      </Card>

      <Card title="ZIP Contents" icon="folder-open">
        * Connection JSON file
        * Metadata information
        * Dependency information (e.g., certificates, key store)
      </Card>

      <Card title="Use Cases" icon="list-check">
        * Backup
        * Migration between environments (Test → Prod)
        * Versioning
        * Team or project-based sharing
      </Card>
    </CardGroup>
  </Accordion>

  <Accordion title="Import">
    <CardGroup cols={2}>
      <Card title="Import Steps" icon="upload">
        * Click the **\[Import SNMP]** button on the main list.
        * Select the downloaded ZIP file.
        * System checks: Is format valid? Is there a name conflict? Are dependencies available?
        * Then click the **\[Import]** button.
      </Card>

      <Card title="Import Scenarios" icon="info-circle">
        **Scenario 1: Name Conflict** → Overwrite the old connection or create with a new name.

        **Scenario 2: Missing Dependencies** → Create missing certificates or key stores first or remove them during import.
      </Card>
    </CardGroup>
  </Accordion>
</AccordionGroup>

### Connection Usage Areas

<CardGroup cols={2}>
  <Card title="Creating and Activating Connection" icon="plus-circle">
    **Steps:**

    1. Create the connection
    2. Validate the connection with **Test Connection**
    3. Save and activate with **Save and Deploy**
    4. Ensure the connection is in **Enabled** status
  </Card>

  <Card title="Usage in Integration / Connector Steps" icon="workflow">
    Connection is selected in steps that require communication with external systems such as message queue (queue), topic, email, FTP/SFTP, LDAP, or similar. Example: Steps like "Send Message", "Consume Message", "Upload File", "Read Directory". Connection selection is made from the Connection field in the configuration of these steps
  </Card>

  <Card title="Scheduled Job Usage" icon="clock">
    Access to external systems is provided by selecting the connection in scheduled tasks (e.g., sending messages at certain intervals, file processing, etc.). When the connection changes, the job execution behavior is updated accordingly
  </Card>

  <Card title="Test Usage" icon="check-circle">
    The correctness of the connection can be checked independently from Integration Flow with the Connection Test feature. This test is critical in the debugging process
  </Card>
</CardGroup>

## Best Practices

<AccordionGroup>
  <Accordion title="Do's and Best Practices">
    <CardGroup cols={2}>
      <Card title="Trap Addressing" icon="send">
        **Bad:** Leaving all devices with a single community\
        **Good:** Defining separate community for each device class\
        **Best:** Assigning different security names to each device group using SNMPv3 USM users
      </Card>

      <Card title="OID Management" icon="map">
        **Bad:** Leaving PDU Variable Map empty\
        **Good:** Adding only critical OIDs\
        **Best:** Mapping all OIDs to be used in business rules with meaningful names and versioning
      </Card>

      <Card title="Retry/Timeout Setting" icon="clock">
        **Bad:** Leaving default retryCount and timeout values in every environment\
        **Good:** Updating retryCount according to network quality\
        **Best:** Measuring latency in Prod environment and optimizing timeout/interval values with data
      </Card>

      <Card title="Flow Integration" icon="workflow">
        **Bad:** Using the same connection in independent flows without version control\
        **Good:** Documenting the connection version used per flow\
        **Best:** Versioning the exported connection with Git repository or artifact management and matching with flow changes
      </Card>

      <Card title="Environment Management" icon="layers">
        **Bad:** Using the same connection parameters in all environments\
        **Good:** Creating separate connection for each environment\
        **Best:** Managing all environments in a single connection using Environment option, only changing environment during inter-environment transitions
      </Card>

      <Card title="Connection Test" icon="check-circle">
        **Bad:** Saving and deploying connection without testing\
        **Good:** Validating with Test Connection before saving\
        **Best:** Testing after every parameter change, performing full integration test in test environment before moving to production
      </Card>
    </CardGroup>
  </Accordion>

  <Accordion title="Security Best Practices">
    <CardGroup cols={2}>
      <Card title="Community String Management" icon="key">
        Do not use default public/private strings in production environment. Determine unique string per device and store in secret manager
      </Card>

      <Card title="USM Password Policy" icon="lock">
        Passwords shorter than 8 characters carry brute-force risk. Make auth/priv passphrase fields complex and change them at regular intervals
      </Card>

      <Card title="SNMP Network Segmentation" icon="network">
        Open traffic only to management VLANs, allow only necessary source IPs in firewall, drop the rest
      </Card>

      <Card title="Credential Management" icon="user-check">
        Store sensitive information such as usernames and passwords using environment variables or secret manager. Do not hardcode credentials in code or configuration files. Update passwords periodically
      </Card>

      <Card title="SSL/TLS Usage" icon="shield-check">
        Always enable SSL/TLS in production environment. Use self-signed certificates only in development environment. Track certificate expiration dates and renew them on time
      </Card>

      <Card title="Access Control" icon="lock">
        Allow only authorized users to change connection configuration. Store connection change logs. Implement change approval process for critical connections
      </Card>
    </CardGroup>
  </Accordion>

  <Accordion title="Don'ts">
    <CardGroup cols={2}>
      <Card title="Static OID Maps" icon="alert-triangle">
        **Why avoid:** OID changes are not noticed when new devices are added\
        **Alternative:** Regularly review and version PDU Variable Map
      </Card>

      <Card title="Unlimited Retransmission" icon="alert-triangle">
        **Why avoid:** Infinite retry unnecessarily loads devices and network\
        **Alternative:** Keep retryCount value low, manage errors with Flow logic
      </Card>

      <Card title="Not Opening Firewall Ports" icon="alert-triangle">
        **Why avoid:** Connection constantly times out when UDP 161/162 is closed\
        **Alternative:** Coordinate port opening with network teams and automate access tests
      </Card>

      <Card title="Using Production Connection in Test Environment" icon="alert-triangle">
        **Why avoid:** Test data can be written to production system, real users can be affected, security risk occurs\
        **Alternative:** Create separate connection for each environment, use environment parameter, separate connection names by adding prefix according to environment (Test\_, Prod\_)
      </Card>

      <Card title="Very Low Timeout Values" icon="alert-triangle">
        **Why avoid:** Connection constantly times out in network delays, Integration steps fail\
        **Alternative:** Adjust timeout values according to real usage scenarios, measure network latency and determine timeouts accordingly
      </Card>

      <Card title="Not Using Connection Pool" icon="alert-triangle">
        **Why avoid:** New connection is opened for each request, performance decreases, resource consumption increases, target system load increases\
        **Alternative:** Enable connection pool, adjust pool size according to traffic volume, set up pool monitoring
      </Card>
    </CardGroup>
  </Accordion>

  <Accordion title="Performance Tips">
    <CardGroup cols={2}>
      <Card title="Trap Prioritization" icon="arrow-up">
        **Recommendation:** Define separate connection or higher pool size for critical devices\
        **Impact:** Prevents delay of vital alarms
      </Card>

      <Card title="Retry Policy" icon="refresh-cw">
        **Recommendation:** Adjust retry and interval values according to latency measurements\
        **Impact:** Unnecessary packet transmission decreases, network efficiency increases
      </Card>

      <Card title="OID Caching" icon="database">
        **Recommendation:** Cache frequently used OID results within Flow\
        **Impact:** PDU processing time shortens, CPU consumption decreases
      </Card>

      <Card title="Connection Pool Optimization" icon="database">
        **Recommendation:** Adjust pool size according to peak traffic (recommended: concurrent request count × 1.5), set idle connection timeouts, perform pool health check\
        **Impact:** Connection opening cost decreases by 80%, response times decrease, resource usage is optimized
      </Card>

      <Card title="Timeout Values Optimization" icon="hourglass">
        **Recommendation:** Measure real network latency, adjust timeout values accordingly, avoid very low or very high timeouts\
        **Impact:** Unnecessary waits are prevented, fast fail-over is provided, user experience improves
      </Card>

      <Card title="Connection Monitoring" icon="activity">
        **Recommendation:** Monitor connection pool usage, track timeout rates, perform connection health check, set up alerting\
        **Impact:** Problems are detected proactively, performance bottlenecks are identified early, downtime decreases
      </Card>
    </CardGroup>
  </Accordion>
</AccordionGroup>

## Troubleshooting

<AccordionGroup>
  <Accordion title="Trap Not Reaching Target">
    <Warning>
      Connection string may be incorrect, firewall blocking UDP 162, or device not sending traps.
    </Warning>

    <Steps>
      <Step title="Connection String Validation">
        Verify IP/port in connection string.
      </Step>

      <Step title="UDP Port Access">
        Test UDP 162 access with network team.
      </Step>

      <Step title="Device Test">
        Send manual trap from device and examine logs.
      </Step>
    </Steps>
  </Accordion>

  <Accordion title="SNMPv3 Authentication Failed">
    <Warning>
      Security level may be incorrect, auth/priv passphrase may be wrong, or time synchronization may be missing.
    </Warning>

    <Steps>
      <Step title="Security Level Matching">
        Match security level and protocols with device.
      </Step>

      <Step title="Password Update">
        Re-enter passwords in secret manager.
      </Step>

      <Step title="Time Synchronization">
        Align device and Apinizer clocks with NTP.
      </Step>
    </Steps>
  </Accordion>

  <Accordion title="Connection Timeout">
    <Warning>
      Network delay, target system responding slowly, or timeout value may be too low.
    </Warning>

    <Steps>
      <Step title="Network Check">
        Check network connectivity.
      </Step>

      <Step title="System Health">
        Check target system health.
      </Step>

      <Step title="Timeout Settings">
        Increase timeout values.
      </Step>

      <Step title="Log Review">
        Review connection logs.
      </Step>
    </Steps>
  </Accordion>

  <Accordion title="Authentication Failed">
    <Warning>
      Wrong username/password, expired credentials, or permission problem may exist.
    </Warning>

    <Steps>
      <Step title="Credentials">
        Verify credentials.
      </Step>

      <Step title="User Status">
        Check that user is active in target system.
      </Step>

      <Step title="Permission Check">
        Check that necessary permissions are granted.
      </Step>

      <Step title="Certificate Check">
        Check SSL/TLS certificates.
      </Step>
    </Steps>
  </Accordion>

  <Accordion title="Pool Exhausted">
    <Warning>
      Pool size may be too low, connection leak may exist, or traffic may be too high.
    </Warning>

    <Steps>
      <Step title="Pool Size">
        Increase pool size.
      </Step>

      <Step title="Connection Check">
        Check that connections are properly closed.
      </Step>

      <Step title="Idle Timeout">
        Set idle connection timeouts.
      </Step>

      <Step title="Metric Monitoring">
        Monitor connection usage metrics.
      </Step>
    </Steps>
  </Accordion>

  <Accordion title="Connection Test Successful But Integration Flow Gives Error">
    <Warning>
      Different connection may be selected in Integration/Connector step, step may be misconfigured, or Flow/Job may not be redeployed.
    </Warning>

    <Steps>
      <Step title="Enable Toggle">
        Check that connection's enable toggle is active.
      </Step>

      <Step title="Connection Selection">
        Verify that correct connection is selected in Integration Flow.
      </Step>

      <Step title="Connection Deploy">
        Redeploy the connection.
      </Step>

      <Step title="Flow/Job Deploy">
        Redeploy Integration Flow or Job.
      </Step>

      <Step title="Log Check">
        Check Gateway logs.
      </Step>
    </Steps>
  </Accordion>
</AccordionGroup>

## Frequently Asked Questions (FAQ)

<AccordionGroup>
  <Accordion title="Which versions does SNMP Connection support?">
    <Info>
      V1, V2c, and V3 are supported; USM security options open when V3 is selected.
    </Info>
  </Accordion>

  <Accordion title="Can I send both trap and inform with the same connection?">
    <Info>
      No, message type takes a single value. You need to create two connections for two different types or duplicate with export/import.
    </Info>
  </Accordion>

  <Accordion title="What is PDU Variable Map used for?">
    <Info>
      Provides readable field names on the Integration Flow side by mapping OID field names and allows you to easily add new OIDs.
    </Info>
  </Accordion>

  <Accordion title="How should security level selection be in SNMPv3?">
    <Info>
      AUTH\_PRIV is recommended if device supports it; in this case, you need to select authentication and privacy protocols and enter passwords.
    </Info>
  </Accordion>

  <Accordion title="What happens if trap port is closed?">
    <Warning>
      If UDP 162 is blocked, connection falls to timeout. Request firewall rule opening from network team and run Test Connection.
    </Warning>
  </Accordion>

  <Accordion title="Can I use the same connection in multiple Integration Flows?">
    <Check>
      Yes, the same connection can be used in multiple Integration Flow or Connector steps. This provides centralized management and guarantees configuration consistency. However, changes made to the connection will affect all usage locations, so care should be taken.
    </Check>
  </Accordion>

  <Accordion title="Is using connection pool mandatory?">
    <Info>
      Using connection pool is not mandatory but strongly recommended in high-traffic systems. Reusing existing connections instead of opening new connection for each request significantly increases performance.
    </Info>
  </Accordion>

  <Accordion title="Should I create different connections for Test and Production?">
    <Check>
      Yes, it is recommended to create separate connection for each environment. Alternatively, you can manage all environments within a single connection using the environment parameter. This approach provides easier management and less error risk.
    </Check>
  </Accordion>

  <Accordion title="Connection Test is successful but not working in Integration Flow, why?">
    <Warning>
      Several reasons may exist:
    </Warning>

    1. Connection enable toggle may be passive
    2. Different connection may be selected in Integration step
    3. Connection may not be deployed
    4. Integration Flow may not be redeployed yet
  </Accordion>
</AccordionGroup>
