HWDIAG-MIB2 :: hdtotal

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › HWDIAG-MIB2 › hdtotal

hdtotal

Module: HWDIAG-MIB2

OID (symbolic): HWDIAG-MIB2::hdtotal

OID (numeric): 1.3.6.1.4.1.42.2.45.1.1.1.1.3.1.5

Node type: OBJECT-TYPE

Type: Integer32

Access: read-write

Description: The total number of matches in current file

What is hdtotal?

This read-write Integer32 reports the total number of matches found for this pattern in the current diagnostic file. An admin reads it to see how many times the configured regular expression pattern matched during the most recent diagnostic scan of that instance. A nonzero hdtotal value tells the admin the diagnostic pattern actually found matching entries, worth investigating further in the underlying diagnostic log.

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.5
snmpwalk -v2c -c public <target> HWDIAG-MIB2::hdtotal

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.5.1
snmpget -v2c -c public <target> HWDIAG-MIB2::hdtotal.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.5.1 i <value>

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::hdtotal 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.5hdtotalHWDIAG-MIB2