certificateSubjectCommonName

MX-SECURITY-CERTIFICATES-MIB · .1.3.6.1.4.1.4935.10.200.1.500.50.100

Object

column OctetString
The certificate's subject name.
              
If the certificate contains a subject field, displays the common name.
Otherwise, displays the first non-empty subject alternative name from the following list:
   - Uniform Resource Identifier
   - DNS name
   - IP Address
   - RFC 822 name
              
See RFC 3280 sections 4.1.2.6 and 4.2.1.7 for details.

Context

MIB
MX-SECURITY-CERTIFICATES-MIB
OID
.1.3.6.1.4.1.4935.10.200.1.500.50.100
Type
column
Access
readonly
Status
current
Parent
certificateEntry
Groups
1

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'MX-SECURITY-CERTIFICATES-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-SECURITY-CERTIFICATES-MIB::certificateSubjectCommonName'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MX-SECURITY-CERTIFICATES-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-SECURITY-CERTIFICATES-MIB::certificateSubjectCommonName.<certificateName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MX-SECURITY-CERTIFICATES-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MX-SECURITY-CERTIFICATES-MIB::certificateSubjectCommonName'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 0-128

Conformance