swSSHRegenerateHostKey

SSH-MIB · .1.3.6.1.4.1.2272.1.201.1.5.1.7

Object

scalar r/w Enumeration
As the object is set to active means to regenerate hostkey in
SSH server. If set to normal, do nothing.

Context

MIB
SSH-MIB
OID
.1.3.6.1.4.1.2272.1.201.1.5.1.7
Type
scalar
Access
readwrite
Status
current
Parent
swSSHMgmt

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

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
1normal
2active