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 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.42 | sun | AGENT-STATS-MIB2 |
| 1.3.6.1.4.1.42.2 | prod | AGENT-STATS-MIB2 |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.42.2.45 | entdiag | HWDIAG-MIB2 |
| 1.3.6.1.4.1.42.2.45.1 | agent | HWDIAG-MIB2 |
| 1.3.6.1.4.1.42.2.45.1.1 | base | HWDIAG-MIB2 |
| 1.3.6.1.4.1.42.2.45.1.1.1 | hwdiag | HWDIAG-MIB2 |
| 1.3.6.1.4.1.42.2.45.1.1.1.1 | diagagent | HWDIAG-MIB2 |
| 1.3.6.1.4.1.42.2.45.1.1.1.1.3 | hDpatternTable | HWDIAG-MIB2 |
| 1.3.6.1.4.1.42.2.45.1.1.1.1.3.1 | patternEntry | HWDIAG-MIB2 |
| 1.3.6.1.4.1.42.2.45.1.1.1.1.3.1.3 | patternName | HWDIAG-MIB2 |