s5AgSslCertificateData

S5-AGENT-MIB · .1.3.6.1.4.1.45.1.6.4.7.1.5

Object

scalar r/w OctetString
This object returns data about the SSL certificate currently
in use.  Note that the actual certificate data may be longer
than the 1024 bytes allowed in this object.  In this case,
the data will be truncated, and only the first 1024 bytes
will be returned.  Certificate data is always ASCII text.

Context

MIB
S5-AGENT-MIB
OID
.1.3.6.1.4.1.45.1.6.4.7.1.5
Type
scalar
Access
readwrite
Status
current
Parent
s5AgentSslScalars

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

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

Syntax

OctetString

Values & Constraints

Object Constraints
range: 0-1024