{"id":145583,"status":"ok","playbook":{"id":1750,"items":{"plays":1,"tasks":8,"results":8,"hosts":2,"files":6,"records":0},"arguments":{"version":null,"verbosity":2,"private_key_file":"/home/ssh-gateway/.ssh/id_rsa","remote_user":"root","connection":"ssh","timeout":null,"ssh_common_args":null,"sftp_extra_args":null,"scp_extra_args":null,"ssh_extra_args":null,"ask_pass":false,"connection_password_file":null,"force_handlers":false,"flush_cache":false,"become":false,"become_method":"sudo","become_user":null,"become_ask_pass":false,"become_password_file":null,"tags":["all"],"skip_tags":[],"check":false,"diff":false,"inventory":["/home/ssh-gateway/ansible/kuly/bash-kvm-inventory-prod.sh"],"listhosts":false,"subset":"versatile-chipmunk.man-1.vm.plesk-server.com","extra_vars":"Not saved by ARA as configured by 'ignored_arguments'","vault_ids":[],"ask_vault_pass":false,"vault_password_files":[],"forks":20,"module_path":null,"syntax":false,"listtasks":false,"listtags":false,"step":false,"start_at_task":null,"args":["update_provider_metrics.yaml"]},"labels":[{"id":1,"name":"remote_user:root"},{"id":2,"name":"check:False"},{"id":3,"name":"tags:all"},{"id":80,"name":"subset:versatile-chipmunk.man-1.vm.plesk-server.com"}],"started":"2024-09-11T14:42:33.441623+01:00","ended":"2024-09-11T14:42:41.233763+01:00","duration":"00:00:07.792140","name":null,"ansible_version":"2.16.4","client_version":"1.7.1","python_version":"3.10.10","server_version":"1.7.1","status":"completed","path":"/home/ssh-gateway/ansible/kuly/update_provider_metrics.yaml","controller":"ssh-gw-4.layershift.com","user":"root"},"play":{"id":2050,"items":{"tasks":8,"results":8},"started":"2024-09-11T14:42:33.680905+01:00","ended":"2024-09-11T14:42:41.136154+01:00","duration":"00:00:07.455249","name":"Playbook to run update script","status":"completed"},"task":{"id":4169,"items":{"results":1},"path":"/home/ssh-gateway/ansible/kuly/update_provider_metrics.yaml","tags":[],"started":"2024-09-11T14:42:34.697955+01:00","ended":"2024-09-11T14:42:36.169070+01:00","duration":"00:00:01.471115","name":"Run update","uuid":"001851d0-75dc-a14c-e626-000000000098","action":"ansible.builtin.shell","lineno":11,"handler":false,"status":"completed","warnings":[],"deprecations":[],"exceptions":[],"file":3381},"host":{"id":61845,"name":"versatile-chipmunk.man-1.vm.plesk-server.com","changed":1,"failed":0,"ok":7,"skipped":1,"unreachable":0},"delegated_to":[],"content":{"changed":false,"cmd":"set -o pipefail\ncurl -Ls https://tgz.thecode.casa/agent360_plugins/install.sh  | bash -s provider_metrics\n","delta":"0:00:00.975678","end":"2024-09-11 14:42:36.119340","invocation":{"module_args":{"_raw_params":"set -o pipefail\ncurl -Ls https://tgz.thecode.casa/agent360_plugins/install.sh  | bash -s provider_metrics\n","_uses_shell":true,"argv":null,"chdir":null,"creates":null,"executable":"/bin/bash","expand_argument_vars":true,"removes":null,"stdin":null,"stdin_add_newline":true,"strip_empty_ends":true}},"msg":"","rc":0,"start":"2024-09-11 14:42:35.143662","stderr":"  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100 10702  100 10702    0     0   475k      0 --:--:-- --:--:-- --:--:--  475k\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100   345  100   345    0     0  21562      0 --:--:-- --:--:-- --:--:-- 21562\nRedirecting to /bin/systemctl status kcare.service\nRedirecting to /bin/systemctl restart agent360.service","stderr_lines":["  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current","                                 Dload  Upload   Total   Spent    Left  Speed","","  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0","100 10702  100 10702    0     0   475k      0 --:--:-- --:--:-- --:--:--  475k","  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current","                                 Dload  Upload   Total   Spent    Left  Speed","","  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0","100   345  100   345    0     0  21562      0 --:--:-- --:--:-- --:--:-- 21562","Redirecting to /bin/systemctl status kcare.service","Redirecting to /bin/systemctl restart agent360.service"],"stdout":"Conf already added, so this is an upgrade\nprovider_metrics:\n{\n    \"firewall_up\": 1,\n    \"http_response_code\": 200,\n    \"http_response_time_ms\": 3.979,\n    \"imunify360_and_fail2ban\": 1,\n    \"imunify360_license\": 2,\n    \"imunify360_services\": 0,\n    \"kcare_status\": 1,\n    \"mysql_free_connections\": 186,\n    \"mysql_iptables_drop\": 1,\n    \"mysql_response_time_ms\": 3.3071041107177734,\n    \"oom_kills_since_reboot\": 0,\n    \"queue_size\": 0,\n    \"ram_upgrade_required\": 0,\n    \"recent_oom_kills\": 0,\n    \"smtp_response_time_ms\": 4.019737243652344,\n    \"ssh_port_checksum_ok\": 1,\n    \"time_sync_enabled\": 1\n}","stdout_lines":["Conf already added, so this is an upgrade","provider_metrics:","{","    \"firewall_up\": 1,","    \"http_response_code\": 200,","    \"http_response_time_ms\": 3.979,","    \"imunify360_and_fail2ban\": 1,","    \"imunify360_license\": 2,","    \"imunify360_services\": 0,","    \"kcare_status\": 1,","    \"mysql_free_connections\": 186,","    \"mysql_iptables_drop\": 1,","    \"mysql_response_time_ms\": 3.3071041107177734,","    \"oom_kills_since_reboot\": 0,","    \"queue_size\": 0,","    \"ram_upgrade_required\": 0,","    \"recent_oom_kills\": 0,","    \"smtp_response_time_ms\": 4.019737243652344,","    \"ssh_port_checksum_ok\": 1,","    \"time_sync_enabled\": 1","}"]},"created":"2024-09-11T14:42:36.151902+01:00","updated":"2024-09-11T14:42:36.151926+01:00","started":"2024-09-11T14:42:34.747835+01:00","ended":"2024-09-11T14:42:36.143218+01:00","duration":"00:00:01.395383","changed":false,"ignore_errors":false}