{"id":156343,"status":"ok","playbook":{"id":1911,"items":{"plays":1,"tasks":8,"results":1094,"hosts":138,"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":null,"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"}],"started":"2024-09-12T09:25:47.971179+01:00","ended":"2024-09-12T09:28:46.592669+01:00","duration":"00:02:58.621490","name":null,"ansible_version":"2.16.11","client_version":"1.7.2","python_version":"3.10.10","server_version":"1.7.2","status":"failed","path":"/home/ssh-gateway/ansible/kuly/update_provider_metrics.yaml","controller":"ssh-gw-4.layershift.com","user":"root"},"play":{"id":2211,"items":{"tasks":8,"results":1094},"started":"2024-09-12T09:25:48.209794+01:00","ended":"2024-09-12T09:28:39.894657+01:00","duration":"00:02:51.684863","name":"Playbook to run update script","status":"completed"},"task":{"id":4598,"items":{"results":138},"path":"/home/ssh-gateway/ansible/kuly/update_provider_metrics.yaml","tags":[],"started":"2024-09-12T09:26:30.105065+01:00","ended":"2024-09-12T09:26:52.330872+01:00","duration":"00:00:22.225807","name":"Run update","uuid":"001851d0-75dc-bafd-73b0-000000000098","action":"ansible.builtin.shell","lineno":11,"handler":false,"status":"failed","warnings":[],"deprecations":[],"exceptions":[],"file":3707},"host":{"id":65561,"name":"fantastic-sole.man-1.vm.plesk-server.com","changed":0,"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:02.080260","end":"2024-09-12 09:26:40.049124","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-12 09:26:37.968864","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   401k      0 --:--:-- --:--:-- --:--:--  418k\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  11896      0 --:--:-- --:--:-- --:--:-- 11896\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   401k      0 --:--:-- --:--:-- --:--:--  418k","  % 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  11896      0 --:--:-- --:--:-- --:--:-- 11896","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\": 9.305000000000001,\n    \"imunify360_and_fail2ban\": 1,\n    \"imunify360_license\": 2,\n    \"imunify360_services\": 0,\n    \"kcare_status\": 1,\n    \"mysql_free_connections\": 198,\n    \"mysql_iptables_drop\": 1,\n    \"mysql_response_time_ms\": 7.893562316894531,\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\": 6.557941436767578,\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\": 9.305000000000001,","    \"imunify360_and_fail2ban\": 1,","    \"imunify360_license\": 2,","    \"imunify360_services\": 0,","    \"kcare_status\": 1,","    \"mysql_free_connections\": 198,","    \"mysql_iptables_drop\": 1,","    \"mysql_response_time_ms\": 7.893562316894531,","    \"oom_kills_since_reboot\": 0,","    \"queue_size\": 0,","    \"ram_upgrade_required\": 0,","    \"recent_oom_kills\": 0,","    \"smtp_response_time_ms\": 6.557941436767578,","    \"ssh_port_checksum_ok\": 1,","    \"time_sync_enabled\": 1","}"]},"created":"2024-09-12T09:26:50.830743+01:00","updated":"2024-09-12T09:26:50.830766+01:00","started":"2024-09-12T09:26:36.899517+01:00","ended":"2024-09-12T09:26:50.824460+01:00","duration":"00:00:13.924943","changed":false,"ignore_errors":false}