)]}'
{"docs/Plugins.md":[{"author":{"_account_id":26733,"name":"Amir Mofakhar","email":"amir@mofakhar.info","username":"amofakhar"},"change_message_id":"11bd331d181ad4a77ec103a5209124634c7726b5","unresolved":false,"context_lines":[{"line_number":1331,"context_line":"The Agent supports additional functionality through the use of Python scripts. A YAML file (http_check.yaml) contains the list of URLs to check (among other optional parameters). A Python script (http_check.py) runs checks each host in turn, returning a 0 on success and a 1 on failure in the result sent through the Forwarder and on the Monitoring API."},{"line_number":1332,"context_line":""},{"line_number":1333,"context_line":"Similar to other checks, the configuration is done in YAML, and consists of two"},{"line_number":1334,"context_line":"keys: `init_config` and `instances`. In the former you could provide Keystone"},{"line_number":1335,"context_line":"configuration for checks to retrive token for authentication that will be used"},{"line_number":1336,"context_line":"for all checks. While the later contains one or more URLs to check, plus"},{"line_number":1337,"context_line":"optional parameters like a timeout, username/password, pattern to match against"}],"source_content_type":"text/x-markdown","patch_set":5,"id":"9f6a8fd7_138a891a","line":1334,"range":{"start_line":1334,"start_character":44,"end_line":1334,"end_character":50},"updated":"2018-04-17 21:25:58.000000000","message":"In the former, you ...","commit_id":"5b6ed416f5be5f024ccf00a31681fdf66682f889"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"2b8ea15906044ac8c246c909101fb1f208a89bba","unresolved":false,"context_lines":[{"line_number":1331,"context_line":"The Agent supports additional functionality through the use of Python scripts. A YAML file (http_check.yaml) contains the list of URLs to check (among other optional parameters). A Python script (http_check.py) runs checks each host in turn, returning a 0 on success and a 1 on failure in the result sent through the Forwarder and on the Monitoring API."},{"line_number":1332,"context_line":""},{"line_number":1333,"context_line":"Similar to other checks, the configuration is done in YAML, and consists of two"},{"line_number":1334,"context_line":"keys: `init_config` and `instances`. In the former you could provide Keystone"},{"line_number":1335,"context_line":"configuration for checks to retrive token for authentication that will be used"},{"line_number":1336,"context_line":"for all checks. While the later contains one or more URLs to check, plus"},{"line_number":1337,"context_line":"optional parameters like a timeout, username/password, pattern to match against"}],"source_content_type":"text/x-markdown","patch_set":5,"id":"9f6a8fd7_74cc06bc","line":1334,"range":{"start_line":1334,"start_character":44,"end_line":1334,"end_character":50},"in_reply_to":"9f6a8fd7_138a891a","updated":"2018-04-18 05:58:44.000000000","message":"Done","commit_id":"5b6ed416f5be5f024ccf00a31681fdf66682f889"},{"author":{"_account_id":26733,"name":"Amir Mofakhar","email":"amir@mofakhar.info","username":"amofakhar"},"change_message_id":"11bd331d181ad4a77ec103a5209124634c7726b5","unresolved":false,"context_lines":[{"line_number":1332,"context_line":""},{"line_number":1333,"context_line":"Similar to other checks, the configuration is done in YAML, and consists of two"},{"line_number":1334,"context_line":"keys: `init_config` and `instances`. In the former you could provide Keystone"},{"line_number":1335,"context_line":"configuration for checks to retrive token for authentication that will be used"},{"line_number":1336,"context_line":"for all checks. While the later contains one or more URLs to check, plus"},{"line_number":1337,"context_line":"optional parameters like a timeout, username/password, pattern to match against"},{"line_number":1338,"context_line":"the HTTP response body, whether or not to include the HTTP response"}],"source_content_type":"text/x-markdown","patch_set":5,"id":"9f6a8fd7_5377a13b","line":1335,"range":{"start_line":1335,"start_character":28,"end_line":1335,"end_character":35},"updated":"2018-04-17 21:25:58.000000000","message":"retrieve","commit_id":"5b6ed416f5be5f024ccf00a31681fdf66682f889"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"2b8ea15906044ac8c246c909101fb1f208a89bba","unresolved":false,"context_lines":[{"line_number":1332,"context_line":""},{"line_number":1333,"context_line":"Similar to other checks, the configuration is done in YAML, and consists of two"},{"line_number":1334,"context_line":"keys: `init_config` and `instances`. In the former you could provide Keystone"},{"line_number":1335,"context_line":"configuration for checks to retrive token for authentication that will be used"},{"line_number":1336,"context_line":"for all checks. While the later contains one or more URLs to check, plus"},{"line_number":1337,"context_line":"optional parameters like a timeout, username/password, pattern to match against"},{"line_number":1338,"context_line":"the HTTP response body, whether or not to include the HTTP response"}],"source_content_type":"text/x-markdown","patch_set":5,"id":"9f6a8fd7_94cf5aaf","line":1335,"range":{"start_line":1335,"start_character":28,"end_line":1335,"end_character":35},"in_reply_to":"9f6a8fd7_5377a13b","updated":"2018-04-18 05:58:44.000000000","message":"Done","commit_id":"5b6ed416f5be5f024ccf00a31681fdf66682f889"},{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"2a8347d24b1db1af72f369a9c628542fe6874db8","unresolved":false,"context_lines":[{"line_number":1331,"context_line":"The Agent supports additional functionality through the use of Python scripts. A YAML file (http_check.yaml) contains the list of URLs to check (among other optional parameters). A Python script (http_check.py) runs checks each host in turn, returning a 0 on success and a 1 on failure in the result sent through the Forwarder and on the Monitoring API."},{"line_number":1332,"context_line":""},{"line_number":1333,"context_line":"Similar to other checks, the configuration is done in YAML, and consists of two"},{"line_number":1334,"context_line":"keys: `init_config` and `instances`. In the former, you could provide Keystone"},{"line_number":1335,"context_line":"configuration for checks to retrieve token for authentication that will be used"},{"line_number":1336,"context_line":"for all checks. While the later contains one or more URLs to check, plus"},{"line_number":1337,"context_line":"optional parameters like a timeout, username/password, pattern to match against"}],"source_content_type":"text/x-markdown","patch_set":7,"id":"9f6a8fd7_45320d12","line":1334,"range":{"start_line":1334,"start_character":56,"end_line":1334,"end_character":61},"updated":"2018-04-23 08:41:21.000000000","message":"can","commit_id":"ec64094d983d68e06ea559d56ff580a538b5b4fa"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"01570338b291c5dca765e1b7cde1aa68c367a160","unresolved":false,"context_lines":[{"line_number":1331,"context_line":"The Agent supports additional functionality through the use of Python scripts. A YAML file (http_check.yaml) contains the list of URLs to check (among other optional parameters). A Python script (http_check.py) runs checks each host in turn, returning a 0 on success and a 1 on failure in the result sent through the Forwarder and on the Monitoring API."},{"line_number":1332,"context_line":""},{"line_number":1333,"context_line":"Similar to other checks, the configuration is done in YAML, and consists of two"},{"line_number":1334,"context_line":"keys: `init_config` and `instances`. In the former, you could provide Keystone"},{"line_number":1335,"context_line":"configuration for checks to retrieve token for authentication that will be used"},{"line_number":1336,"context_line":"for all checks. While the later contains one or more URLs to check, plus"},{"line_number":1337,"context_line":"optional parameters like a timeout, username/password, pattern to match against"}],"source_content_type":"text/x-markdown","patch_set":7,"id":"9f6a8fd7_60bfff60","line":1334,"range":{"start_line":1334,"start_character":56,"end_line":1334,"end_character":61},"in_reply_to":"9f6a8fd7_45320d12","updated":"2018-04-23 09:11:55.000000000","message":"Done","commit_id":"ec64094d983d68e06ea559d56ff580a538b5b4fa"},{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"2a8347d24b1db1af72f369a9c628542fe6874db8","unresolved":false,"context_lines":[{"line_number":1344,"context_line":"a keystone token for authentication. Specific keystone information can"},{"line_number":1345,"context_line":"be provided for all checks in `init_config` section, or if it\u0027s not"},{"line_number":1346,"context_line":"provided there, the information from the agent config will be used."},{"line_number":1347,"context_line":"DEPRECIATED: providing Keystone configuration in each instance."},{"line_number":1348,"context_line":""},{"line_number":1349,"context_line":"Sample config:"},{"line_number":1350,"context_line":""}],"source_content_type":"text/x-markdown","patch_set":7,"id":"9f6a8fd7_a501a908","line":1347,"range":{"start_line":1347,"start_character":0,"end_line":1347,"end_character":11},"updated":"2018-04-23 08:41:21.000000000","message":"DEPRECATED","commit_id":"ec64094d983d68e06ea559d56ff580a538b5b4fa"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"01570338b291c5dca765e1b7cde1aa68c367a160","unresolved":false,"context_lines":[{"line_number":1344,"context_line":"a keystone token for authentication. Specific keystone information can"},{"line_number":1345,"context_line":"be provided for all checks in `init_config` section, or if it\u0027s not"},{"line_number":1346,"context_line":"provided there, the information from the agent config will be used."},{"line_number":1347,"context_line":"DEPRECIATED: providing Keystone configuration in each instance."},{"line_number":1348,"context_line":""},{"line_number":1349,"context_line":"Sample config:"},{"line_number":1350,"context_line":""}],"source_content_type":"text/x-markdown","patch_set":7,"id":"9f6a8fd7_80c493f6","line":1347,"range":{"start_line":1347,"start_character":0,"end_line":1347,"end_character":11},"in_reply_to":"9f6a8fd7_a501a908","updated":"2018-04-23 09:11:55.000000000","message":"Done","commit_id":"ec64094d983d68e06ea559d56ff580a538b5b4fa"}],"monasca_agent/collector/checks_d/http_check.py":[{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"78f237d2ffec2be2191bb1d3a823e0c8331b6eb4","unresolved":false,"context_lines":[{"line_number":45,"context_line":"                # the first config instance used."},{"line_number":46,"context_line":"                if keystone_config:"},{"line_number":47,"context_line":"                    ksclient \u003d keystone.Keystone(keystone_config)"},{"line_number":48,"context_line":"                elif init_keystone_config:"},{"line_number":49,"context_line":"                    ksclient \u003d keystone.Keystone(init_keystone_config)"},{"line_number":50,"context_line":"                else:"},{"line_number":51,"context_line":"                    ksclient \u003d keystone.Keystone(self._api_config)"}],"source_content_type":"text/x-python","patch_set":6,"id":"9f6a8fd7_1d2caa00","line":48,"updated":"2018-04-19 11:32:12.000000000","message":"I\u0027m just wondering if init_config shouldn\u0027t take precedence over instance config in that case. Keystone client is singleton, so only the first config instance can have any effect anyway.","commit_id":"66fd8e0e07d6cc547a013453d50eaecf33f7a714"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"06da7fbeb596680511e636e61d93c7ccefb5d6a7","unresolved":false,"context_lines":[{"line_number":45,"context_line":"                # the first config instance used."},{"line_number":46,"context_line":"                if keystone_config:"},{"line_number":47,"context_line":"                    ksclient \u003d keystone.Keystone(keystone_config)"},{"line_number":48,"context_line":"                elif init_keystone_config:"},{"line_number":49,"context_line":"                    ksclient \u003d keystone.Keystone(init_keystone_config)"},{"line_number":50,"context_line":"                else:"},{"line_number":51,"context_line":"                    ksclient \u003d keystone.Keystone(self._api_config)"}],"source_content_type":"text/x-python","patch_set":6,"id":"9f6a8fd7_0596553f","line":48,"in_reply_to":"9f6a8fd7_1d2caa00","updated":"2018-04-23 08:15:35.000000000","message":"Done, also I marked adding Keystone configuration to very instance as depreciated. But it\u0027s still working to not break backward compatibility.","commit_id":"66fd8e0e07d6cc547a013453d50eaecf33f7a714"},{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"2a8347d24b1db1af72f369a9c628542fe6874db8","unresolved":false,"context_lines":[{"line_number":46,"context_line":"                if init_keystone_config:"},{"line_number":47,"context_line":"                    ksclient \u003d keystone.Keystone(init_keystone_config)"},{"line_number":48,"context_line":"                elif keystone_config:"},{"line_number":49,"context_line":"                    # Using Keystone config in each instance is depreciated"},{"line_number":50,"context_line":"                    # but we don\u0027t want to break backward compatibility."},{"line_number":51,"context_line":"                    ksclient \u003d keystone.Keystone(keystone_config)"},{"line_number":52,"context_line":"                else:"}],"source_content_type":"text/x-python","patch_set":7,"id":"9f6a8fd7_60005f02","line":49,"range":{"start_line":49,"start_character":64,"end_line":49,"end_character":75},"updated":"2018-04-23 08:41:21.000000000","message":"deprecated in Rocky.","commit_id":"ec64094d983d68e06ea559d56ff580a538b5b4fa"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"01570338b291c5dca765e1b7cde1aa68c367a160","unresolved":false,"context_lines":[{"line_number":46,"context_line":"                if init_keystone_config:"},{"line_number":47,"context_line":"                    ksclient \u003d keystone.Keystone(init_keystone_config)"},{"line_number":48,"context_line":"                elif keystone_config:"},{"line_number":49,"context_line":"                    # Using Keystone config in each instance is depreciated"},{"line_number":50,"context_line":"                    # but we don\u0027t want to break backward compatibility."},{"line_number":51,"context_line":"                    ksclient \u003d keystone.Keystone(keystone_config)"},{"line_number":52,"context_line":"                else:"}],"source_content_type":"text/x-python","patch_set":7,"id":"9f6a8fd7_c0a5ab48","line":49,"range":{"start_line":49,"start_character":64,"end_line":49,"end_character":75},"in_reply_to":"9f6a8fd7_60005f02","updated":"2018-04-23 09:11:55.000000000","message":"Done","commit_id":"ec64094d983d68e06ea559d56ff580a538b5b4fa"},{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"2a8347d24b1db1af72f369a9c628542fe6874db8","unresolved":false,"context_lines":[{"line_number":47,"context_line":"                    ksclient \u003d keystone.Keystone(init_keystone_config)"},{"line_number":48,"context_line":"                elif keystone_config:"},{"line_number":49,"context_line":"                    # Using Keystone config in each instance is depreciated"},{"line_number":50,"context_line":"                    # but we don\u0027t want to break backward compatibility."},{"line_number":51,"context_line":"                    ksclient \u003d keystone.Keystone(keystone_config)"},{"line_number":52,"context_line":"                else:"},{"line_number":53,"context_line":"                    ksclient \u003d keystone.Keystone(self._api_config)"}],"source_content_type":"text/x-python","patch_set":7,"id":"9f6a8fd7_400bdb22","line":50,"updated":"2018-04-23 08:41:21.000000000","message":"We can skip this line.","commit_id":"ec64094d983d68e06ea559d56ff580a538b5b4fa"},{"author":{"_account_id":21922,"name":"Dobroslaw Zybort","email":"dobroslaw.zybort@ts.fujitsu.com","username":"dobrolaw.zybort"},"change_message_id":"01570338b291c5dca765e1b7cde1aa68c367a160","unresolved":false,"context_lines":[{"line_number":47,"context_line":"                    ksclient \u003d keystone.Keystone(init_keystone_config)"},{"line_number":48,"context_line":"                elif keystone_config:"},{"line_number":49,"context_line":"                    # Using Keystone config in each instance is depreciated"},{"line_number":50,"context_line":"                    # but we don\u0027t want to break backward compatibility."},{"line_number":51,"context_line":"                    ksclient \u003d keystone.Keystone(keystone_config)"},{"line_number":52,"context_line":"                else:"},{"line_number":53,"context_line":"                    ksclient \u003d keystone.Keystone(self._api_config)"}],"source_content_type":"text/x-python","patch_set":7,"id":"9f6a8fd7_6064df22","line":50,"in_reply_to":"9f6a8fd7_400bdb22","updated":"2018-04-23 09:11:55.000000000","message":"Done","commit_id":"ec64094d983d68e06ea559d56ff580a538b5b4fa"}]}
