SNMP Functionality in Hyperic

Topics marked with * relate to features available only in vFabric Hyperic.

This page summarizes VMware vFabric™ Hyperic® SNMP-related capabilities.

Simple SNMP Agent Availability Checks

You can configure an Hyperic Agent to monitor the availability of a remote SNMP agent. You configure a platform service of type "SNMP" on the platform of your choice. The Hyperic Agent queries the remote SNMP service for sysUpTime, and reports the service available if a response is received. For more information, see SNMP Platform Service in vFabric Hyperic Resource Configuration and Metrics.

Like other platform services, an SNMP platform service is limited to availability monitoring. To collect throughput and utilization metrics for SNMP devices, see the following section, Monitor SNMP Devices and Hosts with Built-In Plugins.

Monitor SNMP Devices and Hosts with Built-In Plugins

These are Hyperic's built-in capabilities for collecting availability, throughput, and utilization metrics for SNMP devices and hosts.

  • Network Host - Hyperic has built-in support for monitoring any SNMP host that implements HOST-RESOURCES-MIB (rfc2790), in addition to IF-MIB (rfc2863) and IP-MIB (rfc4293). (A network host is an SNMP device with storage.) You configure a platform of type "Network Host". 

  • Cisco IOS - Hyperic has built-in support for monitoring Cisco IOS routers. You configure a platform of type "Cisco IOS". The Cisco IOS platform extends Network Device, adding metrics from CISCO-PROCESS-MIB and CISCO-MEMORY-POOL-MIB. 

  • Cisco Pixos - Hyperic has built-in support for monitoring Cisco Pixos routers. You configure a platform of type "Cisco Pixos". The Cisco PIXOS platform extends Cisco IOS, adding metrics from CISCO-FIREWALL-MIB. 

Build Vendor-Specific SNMP Plugins

You can build your own plugin, leveraging Hyperic's SNMP plugin classes, to monitor specific SNMP device. Such a plugin is XML-only - development of custom plugin classes is not necessary. You write the plugin XML descriptor, point to the device MIB, and specify the inventory properties you wish to discover, and the metrics (OIDs) to collect. For more information see Write an SNMP Plugin in vFabric Hyperic Product Plug-in Development.

Send SNMP Notifications for Alerts

Available only in vFabric Hyperic

If you configure vFabric Hyperic to send SNMP messages to your NMS, you can use SNMP notifications in alert actions or as a step in an escalation.

You define SNMP options for HQ Server in the "SNMP Server Configuration Properties" section of the Administration > HQ Server Settings page. The properties you define specify the SNMP protocol version for communicating with the NMS (v1, v2c, or V3), the type of notification (v1 Trap, v2c Trap, or Inform), and the properties required for the SNMP version you use. After this configuration, you can select the SNMP notification type:

  • As an alert action — The notification sent when the alert fires will contain three variable bindings:

    • sysUptimeOID.0 — No configuration is required for this binding.

    • snmpTrapOID.0 — This binding is configured on the HQ Server settings page.

    • A variable binding for the alert data specified in the snmp_trap.gsp alert notification template - the alert definition name and the "short reason" for firing. Note that Alert templates may be customized, as described in Tailor Alert Notification Templates in vFabric Hyperic Administration.

  • As an escalation step — When you configure an SNMP notification as an escalation step, you can specify additional variable bindings. When the escalation step is performed, the trap will contain those variable bindings, along with SysUpTime.0, snmpTrapOID.0, and a variable binding for the alert data specified in the snmp_trap.gsp alert notification template. For more information and instructions, see Enable SNMP Trap Notifications in vFabric Hyperic Administration.

Integrate Hyperic with OpenNMS

You can export Hyperic platforms as OpenNMS nodes for import to OpenNMS, and send an SNMP trap to OpenNMS as an alert action. For more information see http://support.hyperic.com/display/hyperforge/HQU+OpenNMS.