ENTERPRISE: Built-in integrations are available for Sensu Enterprise users only.

SNMP Integration

Overview

Send SNMP traps to a SNMP manager. Sensu Enterprise provides two SNMP MIB (management information base) modules for this integration. The SNMP integration is capable of creating either SNMPv1 or SNMPv2 traps for Sensu events. By default, SNMPv2 traps are created unless the integration is configured for SNMPv1, e.g. "version": 1. The SNMP manager that will be receiving SNMP traps from Sensu Enterprise should load the appropriate provided MIBs. The Sensu Enterprise SNMP MIB files can be altered to better fit certain environments and SNMP configurations.

Sensu Enterprise MIBs

SNMPv1 MIBs:

SNMPv2 MIBs:

Configuration

Example(s)

The following is an example global configuration for the snmp enterprise event handler (integration).

{
  "snmp": {
    "host": "8.8.8.8",
    "port": 162,
    "community": "public",
    "version": 2
  }
}

Integration Specification

snmp attributes

The following attributes are configured within the {"snmp": {} } configuration scope.

host
description
The SNMP manager host address.
required
false
type
String
default
127.0.0.1
example
"host": "8.8.8.8"
port
description
The SNMP manager trap port (UDP).
required
false
type
Integer
default
162
example
"port": 162
community
description
The SNMP community string to use when sending traps.
required
false
type
String
default
public
example
"community": "private"

Start your FREE trial today.

Already using Sensu Core? Upgrade to Sensu Enterprise today to take advantage of its enterprise console, added-value features, built-in integrations, FREE annual training, and enterprise-class support.