PRTG pfSense SNMP OID’s

26 Nov

For monitoring pfSense using PRTG Network Monitor:

IF-MIB = iso.org.dod.internet.mgmt.mib-2.interfaces = 1.3.6.1.2.1.2
HOST-RESOURCES-MIB = iso.org.dod.internet.mgmt.mib-2.host = 1.3.6.1.2.1.25
SNMPv2-SMI = iso.org.dod.internet.private = 1.3.6.1.4
BEGEMOT-PF-MIB = .fokus.begemot.begemotPf.begemotPfObjects = .12325.1.200.1
Traffic in vr0 (LAN)
IF-MIB::ifTable.ifEntry.ifInOctets.1 = Counter32
1.3.6.1.2.1.2.2.1.10.1
IF-MIB::ifTable.ifEntry.ifOutOctets.1 = Counter32
1.3.6.1.2.1.2.2.1.16.1

Traffic in vr1 (WAN)
IF-MIB::ifTable.ifEntry.ifInOctets.2 = Counter32
1.3.6.1.2.1.2.2.1.10.2
IF-MIB::ifTable.ifEntry.ifOutOctets.2 = Counter32
1.3.6.1.2.1.2.2.1.16.2

Traffic in vr2 (OPT)
IF-MIB::ifTable.ifEntry.ifInOctets.3 = Counter32
1.3.6.1.2.1.2.2.1.10.3
IF-MIB::ifTable.ifEntry.ifOutOctets.3 = Counter32
1.3.6.1.2.1.2.2.1.16.3

Traffic in tun0 (VPN)
IF-MIB::ifTable.ifEntry.ifInOctets.8 = Counter32
1.3.6.1.2.1.2.2.1.10.1
IF-MIB::ifTable.ifEntry.ifOutOctets.8 = Counter32
1.3.6.1.2.1.2.2.1.16.1

CPU load
HOST-RESOURCES-MIB::hrDevice.hrProcessorTable.hrProcessorEntry.hrProcessorLoad.3 = INTEGER
1.3.6.1.2.1.25.3.3.1.2.3

Memory
HOST-RESOURCES-MIB::hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.1 = INTEGER
1.3.6.1.2.1.25.2.3.1.5.1
HOST-RESOURCES-MIB::hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.1 = INTEGER
1.3.6.1.2.1.25.2.3.1.6.1

Shared memory
HOST-RESOURCES-MIB::hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.2 = INTEGER
1.3.6.1.2.1.25.2.3.1.5.2
HOST-RESOURCES-MIB::hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.2 = INTEGER
1.3.6.1.2.1.25.2.3.1.6.2

Swap
HOST-RESOURCES-MIB::hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.3 = INTEGER
1.3.6.1.2.1.25.2.3.1.5.3
HOST-RESOURCES-MIB::hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.3 = INTEGER
1.3.6.1.2.1.25.2.3.1.6.3

Used space on ad0s1a (/)
HOST-RESOURCES-MIB::hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.4 = INTEGER
1.3.6.1.2.1.25.2.3.1.5.4
HOST-RESOURCES-MIB::hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.4 = INTEGER
1.3.6.1.2.1.25.2.3.1.6.4

Used space on md0 (/var/run)
HOST-RESOURCES-MIB::hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.6 = INTEGER
1.3.6.1.2.1.25.2.3.1.5.6
HOST-RESOURCES-MIB::hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.6 = INTEGER
1.3.6.1.2.1.25.2.3.1.6.6

Number of processes
HOST-RESOURCES-MIB::hrSystemProcesses.0 = Gauge32
1.3.6.1.2.1.25.1.6.0

Number of users
HOST-RESOURCES-MIB::hrSystemNumUsers.0 = Gauge32
1.3.6.1.2.1.25.1.5.0

Number of pfilter states
SNMPv2-SMI::enterprises::BEGEMOT-PF-MIB::pfStateTable.pfStateTableCount.0 = Gauge32
1.3.6.1.4.1.12325.1.200.1.3.1.0

Number of pfilter state inserts
SNMPv2-SMI::enterprises::BEGEMOT-PF-MIB::pfStateTable.pfStateTableInserts.0 = Counter64
1.3.6.1.4.1.12325.1.200.1.3.3.0

Number of pfilter state removal
SNMPv2-SMI::enterprises::BEGEMOT-PF-MIB::pfStateTable.pfStateTableRemovals.0 = Counter64
1.3.6.1.4.1.12325.1.200.1.3.4.0

Number of pfilter matches
SNMPv2-SMI::enterprises::BEGEMOT-PF-MIB::pfCounter.pfCounterMatch.0 = Counter64
1.3.6.1.4.1.12325.1.200.1.2.1.0

Accepted packets in vr0 (LAN)
SNMPv2-SMI::enterprises::BEGEMOT-PF-MIB::pfInterfaces.pfInterfacesIfTable.pfInterfacesIfEntry.pfInterfacesIf4PktsInPass.5 = Counter64
1.3.6.1.4.1.12325.1.200.1.8.2.1.11.5

Blocked packets in vr0 (LAN)
SNMPv2-SMI::enterprises::BEGEMOT-PF-MIB::pfInterfaces.pfInterfacesIfTable.pfInterfacesIfEntry.pfInterfacesIf4PktsInBlock.5 = Counter64
1.3.6.1.4.1.12325.1.200.1.8.2.1.12.5

Accepted packets in vr1 (WAN)
SNMPv2-SMI::enterprises::BEGEMOT-PF-MIB::pfInterfaces.pfInterfacesIfTable.pfInterfacesIfEntry.pfInterfacesIf4PktsInPass.6 = Counter64
1.3.6.1.4.1.12325.1.200.1.8.2.1.11.6

Blocked packets in vr1 (WAN)
SNMPv2-SMI::enterprises::BEGEMOT-PF-MIB::pfInterfaces.pfInterfacesIfTable.pfInterfacesIfEntry.pfInterfacesIf4PktsInBlock.6 = Counter64
1.3.6.1.4.1.12325.1.200.1.8.2.1.12.6

Accepted packets in vr2 (OPT)
SNMPv2-SMI::enterprises::BEGEMOT-PF-MIB::pfInterfaces.pfInterfacesIfTable.pfInterfacesIfEntry.pfInterfacesIf4PktsInPass.7 = Counter64
1.3.6.1.4.1.12325.1.200.1.8.2.1.11.7

Blocked packets in vr2 (OPT)
SNMPv2-SMI::enterprises::BEGEMOT-PF-MIB::pfInterfaces.pfInterfacesIfTable.pfInterfacesIfEntry.pfInterfacesIf4PktsInBlock.7 = Counter64
1.3.6.1.4.1.12325.1.200.1.8.2.1.12.7

References: