Execution
Date
04 Jun 2024 13:30:59 +0100
Duration
00:01:17.51
Controller
ssh-gw-4.layershift.com
User
root
Versions
Ansible
2.16.4
ara
1.7.1 / 1.7.1
Python
3.10.10
Summary
81
Hosts
4
Tasks
285
Results
1
Plays
1
Files
0
Records
Task result details
-
StatusOK
-
Duration00:00:01.99
-
PlayPlaybook to update plugins on servers that has monitoring360
-
TaskRun a command if plugins and server ID are present
-
Date04 Jun 2024 13:31:36 +0100
-
Module / Actionansible.builtin.shell (/home/ssh-gateway/ansible/RM9591.yaml:26)
| Field | Value |
|---|---|
| changed |
False |
| cmd |
set -o pipefail curl -Ls https://tgz.thecode.casa/agent360_plugins/install.sh | bash -s provider_metrics service agent360 restart |
| delta |
0:00:00.930885 |
| end |
2024-06-04 13:31:36.126290 |
| invocation |
{ "module_args": { "_raw_params": "set -o pipefail\ncurl -Ls https://tgz.thecode.casa/agent360_plugins/install.sh | bash -s provider_metrics\nservice agent360 restart\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-06-04 13:31:35.195405 |
| stderr |
% 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 8962 100 8962 0 0 190k 0 --:--:-- --:--:-- --:--:-- 190k
% 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 259 100 259 0 0 7617 0 --:--:-- --:--:-- --:--:-- 7617
Redirecting to /bin/systemctl status kcare.service
# Warning: iptables-legacy tables present, use iptables-legacy to see them
# Warning: iptables-legacy tables present, use iptables-legacy to see them
Redirecting to /bin/systemctl restart agent360.service
Redirecting 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 8962 100 8962 0 0 190k 0 --:--:-- --:--:-- --:--:-- 190k", " % 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 259 100 259 0 0 7617 0 --:--:-- --:--:-- --:--:-- 7617", "Redirecting to /bin/systemctl status kcare.service", "# Warning: iptables-legacy tables present, use iptables-legacy to see them", "# Warning: iptables-legacy tables present, use iptables-legacy to see them", "Redirecting to /bin/systemctl restart agent360.service", "Redirecting to /bin/systemctl restart agent360.service" ] |
| stdout |
Conf already added, so this is an upgrade
provider_metrics:
{
"firewall_up": 1,
"http_response_code": 200,
"http_response_time_ms": 8.481,
"kcare_status": 1,
"mysql_free_connections": 197,
"mysql_iptables_drop": 1,
"mysql_response_time_ms": 4.830598831176758,
"oom_kills_since_reboot": 0,
"queue_size": 0,
"ram_upgrade_required": 0,
"recent_oom_kills": 0,
"smtp_response_time_ms": 29.575586318969727,
"ssh_port_checksum_ok": 1,
"time_sync_enabled": 1
}
|
| stdout_lines |
[ "Conf already added, so this is an upgrade", "provider_metrics:", "{", " \"firewall_up\": 1,", " \"http_response_code\": 200,", " \"http_response_time_ms\": 8.481,", " \"kcare_status\": 1,", " \"mysql_free_connections\": 197,", " \"mysql_iptables_drop\": 1,", " \"mysql_response_time_ms\": 4.830598831176758,", " \"oom_kills_since_reboot\": 0,", " \"queue_size\": 0,", " \"ram_upgrade_required\": 0,", " \"recent_oom_kills\": 0,", " \"smtp_response_time_ms\": 29.575586318969727,", " \"ssh_port_checksum_ok\": 1,", " \"time_sync_enabled\": 1", "}" ] |