httpMode
MX-WEB-MIB ·
.0.1200.1.100.50
Object
scalar r/w
Enumeration
HTTP Mode
Defines the HTTP mode(s) to which the Web server should
listen.
* Secure: The Web server only accepts requests using HTTPS.
Requests using HTTP are ignored.
* Unsecure: The Web server only accepts requests using HTTP.
Requests using HTTPS are ignored.
* Both: The Web server accepts requests using HTTP or HTTPS.
The Web server configured in 'Secure' or 'Both' modes listens
to HTTPS requests only if a server certificate with 'server
authentication' extended key usage is present on the unit.
Context
- MIB
- MX-WEB-MIB
- OID
.0.1200.1.100.50- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- serverGroup
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MX-WEB-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-WEB-MIB::httpMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MX-WEB-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MX-WEB-MIB::httpMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
100 | secure |
200 | unsecure |
300 | both |