def _start_monitor_greenlet(self, rate_secs, attr_defns):
        """
        Creates and starts a ResourceMonitor
        """
        log.debug("%r: _start_monitor_greenlet rate_secs=%s attr_defns=%s", self._platform_id, rate_secs, attr_defns)

        resmon = ResourceMonitor(
            self._platform_id, rate_secs, attr_defns, self._get_attribute_values, self._receive_from_monitor
        )
        self._monitors[rate_secs] = resmon
        resmon.start()
    def _start_monitor_greenlet(self, rate_secs, attr_defns):
        """
        Creates and starts a ResourceMonitor
        """
        log.debug("%r: _start_monitor_greenlet rate_secs=%s attr_defns=%s",
                  self._platform_id, rate_secs, attr_defns)

        resmon = ResourceMonitor(self._platform_id, rate_secs, attr_defns,
                                 self._get_attribute_values,
                                 self._receive_from_monitor)
        self._monitors[rate_secs] = resmon
        resmon.start()
    def _start_monitor_greenlet(self, rate_millis, attr_defns):
        """
        Creates and starts a ResourceMonitor
        """
        log.debug("%r: _start_monitor_greenlet rate_millis=%d attr_defns=%s",
                  self._platform_id, rate_millis, attr_defns)

        resmon = ResourceMonitor(self._platform_id,
                                 rate_millis, attr_defns,
                                 self._get_attribute_values,
                                 self._notify_driver_event)
        self._monitors[rate_millis] = resmon
        resmon.start()
    def _start_monitor_greenlet(self, attr_id, attr_defn):
        """
        Creates and starts a ResourceMonitor
        """
        assert 'monitorCycleSeconds' in attr_defn
        if log.isEnabledFor(logging.DEBUG):
            log.debug("CIDEVSA-450 %r: _start_monitor_greenlet attr_id=%r attr_defn=%s",
                  self._platform_id, attr_id, attr_defn)

        resmon = ResourceMonitor(self._platform_id,
                                 attr_id, attr_defn,
                                 self._get_attribute_values,
                                 self._notify_driver_event)
        self._monitors[attr_id] = resmon
        resmon.start()