All MIBs › LanMgr-Mib-II-MIB › svShareNumber
svShareNumber
Module: LanMgr-Mib-II-MIB
OID (symbolic): LanMgr-Mib-II-MIB::svShareNumber
OID (numeric): 1.3.6.1.4.1.77.1.2.26
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: The number of shared resources on this server.
What is svShareNumber?
Reports the number of shared resources published on this server, giving the row count of the share table. Admins use it as a quick check on how many shares exist without walking the whole table.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.77.1.2.26 snmpwalk -v2c -c public <target> LanMgr-Mib-II-MIB::svShareNumber
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.77.1.2.26.1 snmpget -v2c -c public <target> LanMgr-Mib-II-MIB::svShareNumber.1
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> svShareNumber.1
Start monitoring Microsoft Windows NT/2000 server running LAN Manager SNMP agent with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the LanMgr-Mib-II-MIB::svShareNumber OID value, configure state conditions and alerts, and monitor any Microsoft Windows NT/2000 server running LAN Manager SNMP agent from a single console.
OID Breakdown
Upper-level ancestors (6 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 |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.77 | lanmanager | LanMgr-Mib-II-MIB |
| 1.3.6.1.4.1.77.1 | lanmgr_2 | LanMgr-Mib-II-MIB |
| 1.3.6.1.4.1.77.1.2 | server | LanMgr-Mib-II-MIB |
| 1.3.6.1.4.1.77.1.2.26 | svShareNumber | LanMgr-Mib-II-MIB |