All MIBs › MSSQLSERVER-MIB › mssqlSrvInfoTotalLocks
mssqlSrvInfoTotalLocks
Module: MSSQLSERVER-MIB
OID (symbolic): MSSQLSERVER-MIB::mssqlSrvInfoTotalLocks
OID (numeric): 1.3.6.1.4.1.311.1.4.1.1.2.1.17
Node type: OBJECT-TYPE
Type: Gauge
Access: read-only
Description: A count of all locks being used by SQL Server.
What is mssqlSrvInfoTotalLocks?
This read-only Gauge OID reports the total count of all locks currently held by SQL Server, a value a DBA checks first when investigating contention or performance slowdowns.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.311.1.4.1.1.2.1.17 snmpwalk -v2c -c public <target> MSSQLSERVER-MIB::mssqlSrvInfoTotalLocks
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.311.1.4.1.1.2.1.17.1 snmpget -v2c -c public <target> MSSQLSERVER-MIB::mssqlSrvInfoTotalLocks.1
Start monitoring Windows servers running Microsoft SQL Server with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the MSSQLSERVER-MIB::mssqlSrvInfoTotalLocks OID value, configure state conditions and alerts, and monitor any Windows servers running Microsoft SQL Server 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.311 | microsoft | InternetServer-MIB |
| 1.3.6.1.4.1.311.1 | software | InternetServer-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.311.1.4 | apps | MSSQLSERVER-MIB |
| 1.3.6.1.4.1.311.1.4.1 | mssqlServer | MSSQLSERVER-MIB |
| 1.3.6.1.4.1.311.1.4.1.1 | mssqlServerObjects | MSSQLSERVER-MIB |
| 1.3.6.1.4.1.311.1.4.1.1.2 | mssqlSrvInfoTable | MSSQLSERVER-MIB |
| 1.3.6.1.4.1.311.1.4.1.1.2.1 | mssqlSrvInfoEntry | MSSQLSERVER-MIB |
| 1.3.6.1.4.1.311.1.4.1.1.2.1.17 | mssqlSrvInfoTotalLocks | MSSQLSERVER-MIB |