Skip to main content

5.6 – SNMP integration

Configuration in gateway.conf:

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

# percentagePercentage of license usage to sendtrigger alert
snmp.license.usage.warning.percentage=percentage = 0.5

PleaseThe checksnmp.address.get-set otherspecifies 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 configurationfiles 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 ininto installDir\snamp.the SNMP manager as needed.