madgeIPCurrentGateway

MADGEBOX-MIB · .1.3.6.1.4.1.494.10.4.2

Object

scalar mandatory RFC1155-SMIIpAddress
The IP gateway that is currently being used by
this device. The IP gateway could have been
obtained from madgeConfigIPGateway or by some
other means indicated by madgeIPDiscoveryMethod

Context

MIB
MADGEBOX-MIB
OID
.1.3.6.1.4.1.494.10.4.2
Type
scalar
Access
readonly
Status
mandatory
Parent
madgeIP

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

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

Syntax

Source
RFC1155-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4