)]}'
{"monasca_setup/detection/plugins/rabbitmq.py":[{"author":{"_account_id":14273,"name":"Joe Keen","email":"joe.keen@hpe.com","username":"jkeen"},"change_message_id":"5184535f63ec54ffc7cbae6cadf9e2be6a017097","unresolved":false,"context_lines":[{"line_number":129,"context_line":"        \"\"\""},{"line_number":130,"context_line":"        config \u003d monasca_setup.agent_config.Plugins()"},{"line_number":131,"context_line":"        # First watch the process"},{"line_number":132,"context_line":"        config.merge(monasca_setup.detection.watch_process([\u0027rabbitmq-server\u0027], \u0027rabbitmq\u0027, detailed\u003dFalse))"},{"line_number":133,"context_line":"        log.info(\"\\tWatching the rabbitmq-server process.\")"},{"line_number":134,"context_line":"        config.merge(monasca_setup.detection.watch_process_by_username(\u0027rabbitmq\u0027, \u0027epmd\u0027, \u0027rabbitmq\u0027))"},{"line_number":135,"context_line":"        log.info(\"\\tWatching all processes owned by the rabbitmq user.\")"}],"source_content_type":"text/x-python","patch_set":3,"id":"3aaa91ec_66a64810","line":132,"range":{"start_line":132,"start_character":92,"end_line":132,"end_character":100},"updated":"2016-06-30 17:10:38.000000000","message":"We should consider removing this and allow the default process monitoring which includes cpu usage and memory usage.","commit_id":"fcbcc68554b3f912195aa3dfa1b3d0dd277ab3bd"},{"author":{"_account_id":22044,"name":"Mark Reynolds","email":"mark.reynolds2@hpe.com","username":"reynmark"},"change_message_id":"143771f3486cec24bc48235aee9d0464fde480aa","unresolved":false,"context_lines":[{"line_number":129,"context_line":"        \"\"\""},{"line_number":130,"context_line":"        config \u003d monasca_setup.agent_config.Plugins()"},{"line_number":131,"context_line":"        # First watch the process"},{"line_number":132,"context_line":"        config.merge(monasca_setup.detection.watch_process([\u0027rabbitmq-server\u0027], \u0027rabbitmq\u0027, detailed\u003dFalse))"},{"line_number":133,"context_line":"        log.info(\"\\tWatching the rabbitmq-server process.\")"},{"line_number":134,"context_line":"        config.merge(monasca_setup.detection.watch_process_by_username(\u0027rabbitmq\u0027, \u0027epmd\u0027, \u0027rabbitmq\u0027))"},{"line_number":135,"context_line":"        log.info(\"\\tWatching all processes owned by the rabbitmq user.\")"}],"source_content_type":"text/x-python","patch_set":3,"id":"3aaa91ec_50659ede","line":132,"range":{"start_line":132,"start_character":92,"end_line":132,"end_character":100},"in_reply_to":"3aaa91ec_66a64810","updated":"2016-07-01 09:19:23.000000000","message":"Done, also noticed this is where the process should be changed to epmd","commit_id":"fcbcc68554b3f912195aa3dfa1b3d0dd277ab3bd"},{"author":{"_account_id":18179,"name":"Kaiyan Sheng","email":"kaiyan.sheng@hpe.com","username":"kaiyan-sheng"},"change_message_id":"089cb1a2bf27cd98e4a3d7fa72a0382272bd616f","unresolved":false,"context_lines":[{"line_number":129,"context_line":"        \"\"\""},{"line_number":130,"context_line":"        config \u003d monasca_setup.agent_config.Plugins()"},{"line_number":131,"context_line":"        # First watch the process"},{"line_number":132,"context_line":"        config.merge(monasca_setup.detection.watch_process([\u0027rabbitmq-server\u0027], \u0027rabbitmq\u0027, detailed\u003dFalse))"},{"line_number":133,"context_line":"        log.info(\"\\tWatching the rabbitmq-server process.\")"},{"line_number":134,"context_line":"        config.merge(monasca_setup.detection.watch_process_by_username(\u0027rabbitmq\u0027, \u0027epmd\u0027, \u0027rabbitmq\u0027))"},{"line_number":135,"context_line":"        log.info(\"\\tWatching all processes owned by the rabbitmq user.\")"}],"source_content_type":"text/x-python","patch_set":3,"id":"3aaa91ec_21753f31","line":132,"range":{"start_line":132,"start_character":92,"end_line":132,"end_character":100},"in_reply_to":"3aaa91ec_66a64810","updated":"2016-06-30 21:37:08.000000000","message":"We have detailed default to be true in watch_process_by_username. That will give the cpu and memory usage back.","commit_id":"fcbcc68554b3f912195aa3dfa1b3d0dd277ab3bd"},{"author":{"_account_id":14273,"name":"Joe Keen","email":"joe.keen@hpe.com","username":"jkeen"},"change_message_id":"4aaef3f245220e41778ebe685c9faa5b40ea0205","unresolved":false,"context_lines":[{"line_number":131,"context_line":"        # First watch the process"},{"line_number":132,"context_line":"        config.merge(monasca_setup.detection.watch_process([\u0027rabbitmq-server\u0027], \u0027rabbitmq\u0027, detailed\u003dFalse))"},{"line_number":133,"context_line":"        log.info(\"\\tWatching the rabbitmq-server process.\")"},{"line_number":134,"context_line":"        config.merge(monasca_setup.detection.watch_process_by_username(\u0027rabbitmq\u0027, \u0027epmd\u0027, \u0027rabbitmq\u0027))"},{"line_number":135,"context_line":"        log.info(\"\\tWatching all processes owned by the rabbitmq user.\")"},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"        if not self._watch_api:"}],"source_content_type":"text/x-python","patch_set":3,"id":"3aaa91ec_3b39f1a4","line":134,"range":{"start_line":134,"start_character":0,"end_line":134,"end_character":103},"updated":"2016-06-30 19:27:33.000000000","message":"I think this will work but I\u0027m not sure why it was necessary to change the process name.  This should have found any processes run by the rabbitmq user so it should have already handled different process names.","commit_id":"fcbcc68554b3f912195aa3dfa1b3d0dd277ab3bd"},{"author":{"_account_id":22044,"name":"Mark Reynolds","email":"mark.reynolds2@hpe.com","username":"reynmark"},"change_message_id":"143771f3486cec24bc48235aee9d0464fde480aa","unresolved":false,"context_lines":[{"line_number":131,"context_line":"        # First watch the process"},{"line_number":132,"context_line":"        config.merge(monasca_setup.detection.watch_process([\u0027rabbitmq-server\u0027], \u0027rabbitmq\u0027, detailed\u003dFalse))"},{"line_number":133,"context_line":"        log.info(\"\\tWatching the rabbitmq-server process.\")"},{"line_number":134,"context_line":"        config.merge(monasca_setup.detection.watch_process_by_username(\u0027rabbitmq\u0027, \u0027epmd\u0027, \u0027rabbitmq\u0027))"},{"line_number":135,"context_line":"        log.info(\"\\tWatching all processes owned by the rabbitmq user.\")"},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"        if not self._watch_api:"}],"source_content_type":"text/x-python","patch_set":3,"id":"3aaa91ec_d086ae63","line":134,"range":{"start_line":134,"start_character":0,"end_line":134,"end_character":103},"in_reply_to":"3aaa91ec_3b39f1a4","updated":"2016-07-01 09:19:23.000000000","message":"Reverted back to original version and tested.","commit_id":"fcbcc68554b3f912195aa3dfa1b3d0dd277ab3bd"},{"author":{"_account_id":18179,"name":"Kaiyan Sheng","email":"kaiyan.sheng@hpe.com","username":"kaiyan-sheng"},"change_message_id":"df6a8da79837f9f11d9baf5d8e607eed5d0521d3","unresolved":false,"context_lines":[{"line_number":129,"context_line":"        \"\"\""},{"line_number":130,"context_line":"        config \u003d monasca_setup.agent_config.Plugins()"},{"line_number":131,"context_line":"        # First watch the process"},{"line_number":132,"context_line":"        config.merge(monasca_setup.detection.watch_process([\u0027epmd\u0027], \u0027rabbitmq\u0027, detailed\u003dTrue))"},{"line_number":133,"context_line":"        log.info(\"\\tWatching the rabbitmq-server process.\")"},{"line_number":134,"context_line":"        config.merge(monasca_setup.detection.watch_process_by_username(\u0027rabbitmq\u0027, \u0027rabbitmq\u0027, \u0027rabbitmq\u0027))"},{"line_number":135,"context_line":"        log.info(\"\\tWatching all processes owned by the rabbitmq user.\")"}],"source_content_type":"text/x-python","patch_set":4,"id":"3aaa91ec_26c9aa7a","line":132,"range":{"start_line":132,"start_character":90,"end_line":132,"end_character":94},"updated":"2016-07-01 14:57:31.000000000","message":"I would prefer detailed\u003dFalse here since we have watch_process_by_username with detailed\u003dTrue by default. @Joe, what you think on this?","commit_id":"7399822ee06173c3d5d7246746afb1c7517e7930"}],"monasca_setup/detection/utils.py":[{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"82eeee0fc12d94be233f06a40e9b01ce11d8aca4","unresolved":false,"context_lines":[{"line_number":67,"context_line":"        subprocess.check_call([\u0027service\u0027, sname, \u0027status\u0027], stdout\u003dPIPE, stderr\u003dPIPE)"},{"line_number":68,"context_line":"        return True"},{"line_number":69,"context_line":"    except subprocess.CalledProcessError:"},{"line_number":70,"context_line":"        return None"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"    return None"},{"line_number":73,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"3aaa91ec_f37e3f69","line":70,"updated":"2016-07-01 15:27:38.000000000","message":"Technically this should be False since it is now a Boolean method. The one above returns None because it returns the Process if found","commit_id":"4568993aecaacfac284fe57142d05f06db3a951a"},{"author":{"_account_id":22044,"name":"Mark Reynolds","email":"mark.reynolds2@hpe.com","username":"reynmark"},"change_message_id":"c79b60bc4d9e0e2a3f492e6ab42621ac3aeab214","unresolved":false,"context_lines":[{"line_number":67,"context_line":"        subprocess.check_call([\u0027service\u0027, sname, \u0027status\u0027], stdout\u003dPIPE, stderr\u003dPIPE)"},{"line_number":68,"context_line":"        return True"},{"line_number":69,"context_line":"    except subprocess.CalledProcessError:"},{"line_number":70,"context_line":"        return None"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"    return None"},{"line_number":73,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"3aaa91ec_b3b837c9","line":70,"in_reply_to":"3aaa91ec_f37e3f69","updated":"2016-07-01 15:33:45.000000000","message":"Done","commit_id":"4568993aecaacfac284fe57142d05f06db3a951a"},{"author":{"_account_id":11809,"name":"Craig Bryant","email":"craig.bryant@hpe.com","username":"craig-bryant"},"change_message_id":"82eeee0fc12d94be233f06a40e9b01ce11d8aca4","unresolved":false,"context_lines":[{"line_number":69,"context_line":"    except subprocess.CalledProcessError:"},{"line_number":70,"context_line":"        return None"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"    return None"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"def find_addr_listening_on_port(port):"}],"source_content_type":"text/x-python","patch_set":5,"id":"3aaa91ec_738b6f69","line":72,"range":{"start_line":72,"start_character":11,"end_line":72,"end_character":15},"updated":"2016-07-01 15:27:38.000000000","message":"See above","commit_id":"4568993aecaacfac284fe57142d05f06db3a951a"},{"author":{"_account_id":22044,"name":"Mark Reynolds","email":"mark.reynolds2@hpe.com","username":"reynmark"},"change_message_id":"c79b60bc4d9e0e2a3f492e6ab42621ac3aeab214","unresolved":false,"context_lines":[{"line_number":69,"context_line":"    except subprocess.CalledProcessError:"},{"line_number":70,"context_line":"        return None"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"    return None"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"def find_addr_listening_on_port(port):"}],"source_content_type":"text/x-python","patch_set":5,"id":"3aaa91ec_13ae6b81","line":72,"range":{"start_line":72,"start_character":11,"end_line":72,"end_character":15},"in_reply_to":"3aaa91ec_738b6f69","updated":"2016-07-01 15:33:45.000000000","message":"Done","commit_id":"4568993aecaacfac284fe57142d05f06db3a951a"}]}
