def disable_host_event_handler(self, host):
        """Disable event handlers for a host
        Format of the line that triggers function call::

        DISABLE_HOST_EVENT_HANDLER;<host_name>

        :param host: host to edit
        :type host: alignak.objects.host.Host
        :return: None
        """
        if host.event_handler_enabled:
            host.modified_attributes |= DICT_MODATTR["MODATTR_EVENT_HANDLER_ENABLED"].value
            host.event_handler_enabled = False
            self.send_an_element(host.get_update_status_brok())
def disable_host_event_handler ( self , host ) : if host . event_handler_enabled : host . modified_attributes |= DICT_MODATTR [ "MODATTR_EVENT_HANDLER_ENABLED" ] . value host . event_handler_enabled = False self . send_an_element ( host . get_update_status_brok ( ) )
Disable event handlers for a host
        Format of the line that triggers function call::

        DISABLE_HOST_EVENT_HANDLER;<host_name>

        :param host: host to edit
        :type host: alignak.objects.host.Host
        :return: None