jvmMemoryGCCall
OBJECT-TYPE
1.3.6.1.4.1.42.2.145.3.163.1.1.2.3
Description
This object makes it possible to remotelly trigger the Garbage Collector in the JVM. This object's syntax is an enumeration which defines: * Two state values, that can be returned from a GET request: unsupported(1): means that remote invocation of gc() is not supported by the SNMP agent. supported(2) : means that remote invocation of gc() is supported by the SNMP agent. * One action value, that can be provided in a SET request to trigger the garbage collector: start(3) : means that a manager wishes to trigger garbage collection. * Two result value, that will be returned in the response to a SET request when remote invocation of gc is supported by the SNMP agent: started(4) : means that garbage collection was successfully triggered. It does not mean however that the action was successfullly completed: gc might still be running when this value is returned. failed(5) : means that garbage collection couldn't be triggered. * If remote invocation is not supported by the SNMP agent, then unsupported(1) will always be returned as a result of either a GET request, or a SET request with start(3) as input value. * If a SET request with anything but start(3) is received, then the agent will return a wrongValue error. See java.lang.management.MemoryMXBean.gc()
Syntax
INTEGER { unsupported(1), supported(2), start(3), started(4), failed(5) }