jvmThreadContentionMonitoring
JVM-MANAGEMENT-MIB ·
.1.3.6.1.4.1.42.2.145.3.163.1.1.3.5
Object
The state of the Thread Contention Monitoring feature.
This feature can be:
unsupported: The JVM does not support Thread Contention Monitoring.
enabled : The JVM supports Thread Contention Monitoring, and it
is enabled.
disabled : The JVM supports Thread Contention Monitoring, and it
is disabled.
Only enabled(3) and disabled(4) may be supplied as values to a
SET request. unsupported(1) can only be set internally by the
agent.
When the feature is unsupported(1), any attempt to change
that value will fail: trying to set this object to
enabled(3) or disabled(4) will result in an `inconsistentValue'
error. Trying to set it to any other value will result in an
`wrongValue' error.
See java.lang.management.ThreadMXBean.
isThreadContentionMonitoringSupported(),
java.lang.management.ThreadMXBean.
isThreadContentionMonitoringEnabled(),
java.lang.management.ThreadMXBean.
setThreadContentionMonitoringEnabled()
Context
- MIB
- JVM-MANAGEMENT-MIB
- OID
.1.3.6.1.4.1.42.2.145.3.163.1.1.3.5- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- jvmThreading
- Groups
- 1
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 'JVM-MANAGEMENT-MIB' -M '/opt/observium/mibs/oracle:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'JVM-MANAGEMENT-MIB::jvmThreadContentionMonitoring.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'JVM-MANAGEMENT-MIB' -M '/opt/observium/mibs/oracle:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'JVM-MANAGEMENT-MIB::jvmThreadContentionMonitoring'
Syntax
- Source
- JvmImplOptFeatureStateTC
- Base type
Enumeration
Values & Constraints
Type Values
1 | unsupported |
3 | enabled |
4 | disabled |
Conformance
Member of