SNMP Monitoring and Notification Integration

ZStack Cube Virtualization Edition supports integration with third-party monitoring platforms through SNMP. Third-party platforms can use MIB files to collect resource monitoring data or parse alarm messages. SNMP Trap receivers can also be used as alarm endpoints to receive alarm messages pushed by the platform.

Key SNMP Concepts

SNMP Protocol
A protocol used for managing devices on a network.
Network Management System
A system that monitors and manages network devices through SNMP. In this feature, the network management system corresponds to the third-party monitoring platform.
SNMP Agent
An agent process in managed objects that responds to requests from the network management system or proactively sends Trap information. In this feature, the SNMP Agent role is provided by the ZStack Cube Virtualization Edition management node.
MIB Library
A database maintained by the SNMP Agent that defines managed object attributes. Third-party platforms collect monitoring data or parse alarm messages based on the MIB library.
SNMP Trap Receiver
A third-party server that receives alarm messages from ZStack Cube Virtualization Edition. It can be added as an alarm endpoint and associated with alarms.

Notes

The SNMP components were updated in ZStack Cube Virtualization Edition 2.4.10.25. If you upgraded from an earlier version and have integrated with an external monitoring platform, download the new MIB file and update it to the external monitoring platform to avoid missing or abnormal monitoring data.

Configure SNMP Management

  • Enable SNMP Management.
    1. In the navigation pane, choose System Management > SNMP Management, click Enable SNMP Management.
    2. In the Enable SNMP Management dialog, configure the following options.
      Option Description
      SNMP Agent Port Specify the port used to receive and respond to requests from third-party monitoring platforms. The default value is 1160. The value range is 1024 to 65565.
      Protocol Version v2c and v3 are supported.
      • For v2c, set Community.
      • For v3, set Username, and enable User Authentication and Data Encryption as needed.
      Community String Set a community string for the connection authentication between the third-party monitoring platform and this platform
      Username Set the username used for SNMP v3 access authentication.
      User Authentication Used for secure authentication between the third-party monitoring platform and the platform. After this option is enabled, set the authentication protocol and authentication password.
      Data Encryption Used to encrypt communication messages between the platform and the third-party monitoring platform. After this option is enabled, set the encryption protocol and encryption password.
      SNMP Trap Receiver Enter the third-party server name, IP address, and port for receiving pushed alarm messages.
    3. Review the configuration and click OK.
  • Modify SNMP configuration.
    In the navigation pane, choose System Management > SNMP Management > SNMP Configurations, click Modify Configuration, and modify SNMP configuration as needed.
  • Disable the SNMP service.
    In the navigation pane, choose System Management > SNMP Management > SNMP Configurations, and click Disable.
    • After SNMP is disabled, third-party platforms no longer proactively obtain resource monitoring data from the platform.
    • After SNMP is disabled, the platform still pushes alarm messages to SNMP Trap receivers that have been added as endpoints.
    • The platform retains the current SNMP configuration for use the next time SNMP is enabled.

Download MIB Files

MIB files are used by third-party platforms to collect ZStack Cube Virtualization Edition resource monitoring data and parse alarm messages.

Procedure

  1. In the navigation pane, choose System Management > SNMP Management > SNMP Configurations.
  2. On the SNMP Configurations tab, click Download MIB File.

Manage SNMP Trap Receivers

Procedure

  1. In the navigation pane, choose System Management > SNMP Management > SNMP Trap Receiver.
  2. Manage SNMP Trap receivers.
    • Click Add SNMP Trap Receiver to add a receiver.
    • Select a receiver and click Actions > Modify Configuration to modify receiver configuration.
    • Select a receiver and click Actions > Delete to delete the receiver.
      Note: If the selected SNMP Trap receiver has been added as an alarm endpoint, the corresponding endpoint is deleted at the same time.