serverPort

MX-WEB-MIB · .0.1200.1.100.100

Object

scalar r/w MX-TCMxIpPort
Port
          
Listening port of the HTTP server.

Context

MIB
MX-WEB-MIB
OID
.0.1200.1.100.100
Type
scalar
Access
readwrite
Status
current
Parent
serverGroup

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MX-WEB-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-WEB-MIB::serverPort.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MX-WEB-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MX-WEB-MIB::serverPort'

Syntax

Source
MX-TCMxIpPort
Base type
Unsigned32

Values & Constraints

Type Constraints
range: 1..65535