Skip to main content

5.6 – SNMP integration

Configuration in gateway.conf:

# Agent address and port
snmp.address.get-set = udp:192.168.1.68/1161
snmp.mib.prop.file = /SparkGateway/snmp/snmp-agent-mib.properties
snmp.table.size.limits.prop.file = /SparkGateway/snmp/snmp-agent-table-size-limits.properties

# Percentage of license usage to trigger alert
snmp.license.usage.warning.percentage = 0.5

The snmp.address.get-set specifies the IP address and port of the SNMP server (SNMP manager).
UDP ports 161 and 162 are the default for SNMP requests and traps.

The snmp.license.usage.warning.percentage defines the license usage threshold at which a trap will be sent to the SNMP manager.

All MIB files are stored in the installDir\snmp directory, including:

  • gateway-alert-mib
    Includes objects such as gatewayStatus, sessionCount, totalLicense, and licenseUsed.
  • gateway-info-mib
    Contains licenseAlert and attackAlert.
  • gateway-mib
    Combined file that includes all the objects from the previous two.

You can load these MIB files into the SNMP manager as needed.