All MIBs › AGENT-STATS-MIB2 › uid
uid
Module: AGENT-STATS-MIB2
OID (symbolic): AGENT-STATS-MIB2::uid
OID (numeric): 1.3.6.1.4.1.42.2.12.2.2.30.4.6
Node type: OBJECT-TYPE
Type: Integer32
Access: read-only
Description: The user id of the process
What is uid?
This OID returns an integer representing the User ID (UID) under which the SNMP agent process is executing on the operating system. This is important for privilege verification and security auditing, ensuring the agent runs with appropriate system permissions. A concrete example would be 0, indicating the agent is running with root privileges, or 110 for a dedicated SNMP service user.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.42.2.12.2.2.30.4.6 snmpwalk -v2c -c public <target> AGENT-STATS-MIB2::uid
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.42.2.12.2.2.30.4.6.1 snmpget -v2c -c public <target> AGENT-STATS-MIB2::uid.1
Start monitoring Unix/Solaris hosts running an SNMP agent with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the AGENT-STATS-MIB2::uid OID value, configure state conditions and alerts, and monitor any Unix/Solaris hosts running an 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.42 | sun | AGENT-STATS-MIB2 |
| 1.3.6.1.4.1.42.2 | prod | AGENT-STATS-MIB2 |
| 1.3.6.1.4.1.42.2.12 | sunsymon | AGENT-STATS-MIB2 |
| 1.3.6.1.4.1.42.2.12.2 | agent | AGENT-STATS-MIB2 |
| 1.3.6.1.4.1.42.2.12.2.2 | modules | AGENT-STATS-MIB2 |
| 1.3.6.1.4.1.42.2.12.2.2.30 | agentStats | AGENT-STATS-MIB2 |
| 1.3.6.1.4.1.42.2.12.2.2.30.4 | procstats | AGENT-STATS-MIB2 |
| 1.3.6.1.4.1.42.2.12.2.2.30.4.6 | uid | AGENT-STATS-MIB2 |