HWDIAG-MIB2 :: patternName

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › HWDIAG-MIB2 › patternName

patternName

Module: HWDIAG-MIB2

OID (symbolic): HWDIAG-MIB2::patternName

OID (numeric): 1.3.6.1.4.1.42.2.45.1.1.1.1.3.1.3

Node type: OBJECT-TYPE

Type: DisplayString

Access: read-write

Description: The regular expression pattern

What is patternName?

This read-write DisplayString holds the regular expression pattern used by this diagnostic table entry. An admin sets it to define what text pattern the Hardware Diagnostic Suite should search for against the associated instance's diagnostic output. Setting patternName to a regex matching a specific error string lets the diagnostic agent flag matches for that instance automatically.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.42.2.45.1.1.1.1.3.1.3
snmpwalk -v2c -c public <target> HWDIAG-MIB2::patternName

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.42.2.45.1.1.1.1.3.1.3.1
snmpget -v2c -c public <target> HWDIAG-MIB2::patternName.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.42.2.45.1.1.1.1.3.1.3.1 s <value>

SNMPv3 example:

snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> patternName.1

Start monitoring Sun Microsystems server (Hardware Diagnostic Suite) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HWDIAG-MIB2::patternName OID value, configure state conditions and alerts, and monitor any Sun Microsystems server (Hardware Diagnostic Suite) from a single console.

OID Breakdown

Upper-level ancestors (8 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.42sunAGENT-STATS-MIB2
1.3.6.1.4.1.42.2prodAGENT-STATS-MIB2
Numeric OIDNameModule
1.3.6.1.4.1.42.2.45entdiagHWDIAG-MIB2
1.3.6.1.4.1.42.2.45.1agentHWDIAG-MIB2
1.3.6.1.4.1.42.2.45.1.1baseHWDIAG-MIB2
1.3.6.1.4.1.42.2.45.1.1.1hwdiagHWDIAG-MIB2
1.3.6.1.4.1.42.2.45.1.1.1.1diagagentHWDIAG-MIB2
1.3.6.1.4.1.42.2.45.1.1.1.1.3hDpatternTableHWDIAG-MIB2
1.3.6.1.4.1.42.2.45.1.1.1.1.3.1patternEntryHWDIAG-MIB2
1.3.6.1.4.1.42.2.45.1.1.1.1.3.1.3patternNameHWDIAG-MIB2