gprsInactivityTime

MOXA-NP6000-MIB · .1.3.6.1.4.1.8691.2.8.1.3.15.2.5.2

Object

scalar r/w Integer32
0 ms: TCP connection will not be closed if the 
serial line becomes idle.
1-65535 ms: The NPort 6000 series device server
automatically closes the TCP connection if there is
no serial data activity for the given time. After
the connection is closed, the NPort 6000 series
device server starts listening for another
TCP connection.
Note: NPort 6150, 6250, 6250-S-SC, 6250-M-SC 
do not support write access.

Context

MIB
MOXA-NP6000-MIB
OID
.1.3.6.1.4.1.8691.2.8.1.3.15.2.5.2
Type
scalar
Access
readwrite
Status
current
Parent
gprsSetting

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

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

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647