All MIBs › UCD-SNMP-MIB › logMatchRegEx
logMatchRegEx
Module: UCD-SNMP-MIB
OID (symbolic): UCD-SNMP-MIB::logMatchRegEx
OID (numeric): 1.3.6.1.4.1.2021.16.2.1.4
Node type: OBJECT-TYPE
Type: DisplayString
Access: read-only
Description:
regular expression
What is logMatchRegEx?
This OID contains a regular expression pattern used to search system log files for specific events or error conditions. It defines what text to look for when monitoring device logs. A network engineer would configure this with a pattern like 'CRITICAL' to generate alerts when critical system events occur in log files.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2021.16.2.1.4 snmpwalk -v2c -c public <target> UCD-SNMP-MIB::logMatchRegEx
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2021.16.2.1.4.1 snmpget -v2c -c public <target> UCD-SNMP-MIB::logMatchRegEx.1
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4 | private | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4.1 | enterprises | ANIROOT-MIB |
| 1.3.6.1.4.1.2021 | ucdavis | UCD-SNMP-MIB |
| 1.3.6.1.4.1.2021.16 | logMatch | UCD-SNMP-MIB |
| 1.3.6.1.4.1.2021.16.2 | logMatchTable | UCD-SNMP-MIB |
| 1.3.6.1.4.1.2021.16.2.1 | logMatchEntry | UCD-SNMP-MIB |
| 1.3.6.1.4.1.2021.16.2.1.4 | logMatchRegEx | UCD-SNMP-MIB |