sTunnelCertificateStatus
BINTEC-STUNNEL-MIB ·
.0.12.1.2.1.17
Object
column Enumeration
The certificatestatus displays if and which error occured during the certificate validation. If no error occured it is ok(2). The four possible errors are the cert is untrusted(3), the cert has expired(4), the cert has a wrong id or type or the cert has been revoked(5). If no cert is available the status is no_cert_available(7). In any other (certificate) error situation the status is set to undefined_ssl_error(8).
Context
- MIB
- BINTEC-STUNNEL-MIB
- OID
.0.12.1.2.1.17- Type
- column
- Access
- readonly
- Status
- current
- Parent
- sTunnelEntry
Net-SNMP examples
How SNMP and these commands workWalk 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 'BINTEC-STUNNEL-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BINTEC-STUNNEL-MIB::sTunnelCertificateStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BINTEC-STUNNEL-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BINTEC-STUNNEL-MIB::sTunnelCertificateStatus.<sTunnelIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BINTEC-STUNNEL-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BINTEC-STUNNEL-MIB::sTunnelCertificateStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | initial |
2 | cert-ok |
3 | invalid-cert-untrusted |
4 | invalid-cert-expired |
5 | invalid-cert-wrong-id-or-type |
6 | invalid-cert-revoked |
7 | no-cert-available |
8 | undefined-ssl-error |