systemReboot

NPSYSTEM · .1.3.6.1.4.1.5504.2.5.11.1.6

Object

scalar r/w SNMPv2-SMIInteger32
Set 1 to reboot the box

Context

MIB
NPSYSTEM
OID
.1.3.6.1.4.1.5504.2.5.11.1.6
Type
scalar
Access
readwrite
Status
current
Parent
systemObjects

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

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

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647