private void setupOffHeapMonitorOnVm(final VM vm, final String attribute, final int highThreshold,
      final int lowThreshold) {
    vm.invoke(() -> setupOffHeapMonitor(attribute, highThreshold, lowThreshold));
  }
Creates and adds a generic GaugeMonitor for an attribute of the MemberMXBean on a VM.

@param vm a virtual machine.
@param attribute the attribute to monitor.
@param highThreshold the high threshold trigger.
@param lowThreshold the low threshold trigger.
geode-core/src/distributedTest/java/org/apache/geode/management/OffHeapManagementDUnitTest.java