logMatchCurrentCounter

UCD-SNMP-MIB · .1.3.6.1.4.1.2021.16.2.1.7

Object

Regex match counter. This counter will
be reset with each logfile rotation.

Context

MIB
UCD-SNMP-MIB
OID
.1.3.6.1.4.1.2021.16.2.1.7
Type
column
Access
readonly
Status
current
Parent
logMatchEntry

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'UCD-SNMP-MIB' -M '/opt/observium/mibs/net-snmp:/opt/observium/mibs/rfc' 'udp:<hostname>:161' 'UCD-SNMP-MIB::logMatchCurrentCounter'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'UCD-SNMP-MIB' -M '/opt/observium/mibs/net-snmp:/opt/observium/mibs/rfc' 'udp:<hostname>:161' 'UCD-SNMP-MIB::logMatchCurrentCounter.<logMatchIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'UCD-SNMP-MIB' -M '/opt/observium/mibs/net-snmp:/opt/observium/mibs/rfc' 'UCD-SNMP-MIB::logMatchCurrentCounter'

Syntax

Source
SNMPv2-SMICounter32
Base type
Unsigned32

Values & Constraints

Type Constraints
range: 0..4294967295