def METHOD_NAME(self, run_time):
    """
    Sends all the commands to the agent and then submits them
    via NRDP to Nagios.
    :return: 0 on success, 1 on error
    :rtype : int
    """
    logging.debug("Establishing passive handler: NRDP")
    super(Handler, self).METHOD_NAME()
    doc = xml.dom.minidom.Document()
    doc = Handler.get_xml_of_checkresults(doc, self.checks, run_time)
    # Verify there are any checks to send
    checks = doc.getElementsByTagName('checkresult')
    if len(checks) is 0:
        logging.debug("No NRDP checks. Skipping NRDP send.")
        return
    checkresults = doc.toxml()
    self.submit_to_nagios(checkresults)