All MIBs › UCD-IPFILTER-MIB › ipfInHits
ipfInHits
Module: UCD-IPFILTER-MIB
OID (symbolic): UCD-IPFILTER-MIB::ipfInHits
OID (numeric): 1.3.6.1.4.1.2021.13.2.1.1.3
Node type: OBJECT-TYPE
Type: Counter32
Access: read-only
Description: Hits of the incoming IP Filter rule.
What is ipfInHits?
This counter tracks how many times the corresponding incoming IP filter rule has matched inbound packets. Administrators watch this value to verify a firewall rule is actually being triggered by traffic, or to spot a rule generating unexpectedly high hit counts that may indicate an attack or misconfiguration. A rapidly increasing ipfInHits count on a 'deny' rule could signal a scan or flood targeting the device.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2021.13.2.1.1.3 snmpwalk -v2c -c public <target> UCD-IPFILTER-MIB::ipfInHits
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2021.13.2.1.1.3.1 snmpget -v2c -c public <target> UCD-IPFILTER-MIB::ipfInHits.1
Start monitoring Unix/Linux/BSD hosts running Net-SNMP with IP Filter (ipf) firewall (rule/hit-counter status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the UCD-IPFILTER-MIB::ipfInHits OID value, configure state conditions and alerts, and monitor any Unix/Linux/BSD hosts running Net-SNMP with IP Filter (ipf) firewall (rule/hit-counter status) from a single console.
How to Use in IPNetwork Monitor
OID Breakdown
Upper-level ancestors (11 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.2021 | ucdavis | UCD-SNMP-MIB |
| 1.3.6.1.4.1.2021.13 | ucdExperimental | UCD-SNMP-MIB |
| 1.3.6.1.4.1.2021.13.2 | ipFilter | IPFILTER |
| 1.3.6.1.4.1.2021.13.2.1 | ipfInTable | IPFILTER |
| 1.3.6.1.4.1.2021.13.2.1.1 | ipfInEntry | IPFILTER |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2021.13.2.1.1.3 | ipfInHits | UCD-IPFILTER-MIB |