vmVncDisplayId
MX-VM-MIB ·
.0.4500.1.100.100.1.300
Object
column r/w
Integer32
Vnc Display Id
Display Id for Vnc connections.
UnitAddress:DisplayId is the syntax to use in VNC clients.
The VNC server of a VM listens to the default port 5900 + the
DisplayId.
Configuring '-1' disables the VNC server for a VM.
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'MX-VM-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-VM-MIB::vmVncDisplayId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MX-VM-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-VM-MIB::vmVncDisplayId.<vmIdx>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MX-VM-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MX-VM-MIB::vmVncDisplayId'
Syntax
Integer32
Values & Constraints
Object Constraints
range: -1-99