You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have successfully run the netdata-agent.yml on my machine (no errors reported). After this I run the claim.yml script and get the following output:
PLAY [Claim netdata node] ******************************************************************************************************************************************************************
TASK [Gathering Facts] *********************************************************************************************************************************************************************
ok: [testing.local.primary]
TASK [claim : Get information about running agent] *****************************************************************************************************************************************
fatal: [testing.local.primary]: FAILED! => {"changed": false, "cmd": "netdatacli aclk-state json", "msg": "[Errno 2] No such file or directory: b'netdatacli': b'netdatacli'", "rc": 2, "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
PLAY RECAP *********************************************************************************************************************************************************************************
testing.local.primary : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
If I connect to the machine I can see that the netedata program and service is installed but netdatacli and netdata-claim.sh (also used in claim.yml) programs are not installed.
root@f1d7424c1e81:/# systemctl status netdata
● netdata.service - netdata - Real-time performance monitoring
Loaded: loaded (/lib/systemd/system/netdata.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2023-10-03 09:24:07 UTC; 27min ago
Docs: man:netdata
file:///usr/share/doc/netdata/html/index.html
https://github.com/firehol/netdata
Main PID: 13613 (netdata)
Tasks: 14 (limit: 9200)
CGroup: /docker/f1d7424c1e813b4baa85bed2d057ed1791bd5b519933786b9cfb27ee904dbb95/system.slice/netdata.service
├─13613 /usr/sbin/netdata -D
├─13620 bash /usr/lib/x86_64-linux-gnu/netdata/plugins.d/tc-qos-helper.sh 1
└─13655 /usr/lib/x86_64-linux-gnu/netdata/plugins.d/apps.plugin 1
Oct 03 09:24:07 f1d7424c1e81 systemd[1]: Started netdata - Real-time performance monitoring.
root@f1d7424c1e81:/# netdata -v
netdata 1.9.0
root@f1d7424c1e81:/# netdatacli
bash: netdatacli: command not found
root@f1d7424c1e81:/# netdata-claim.sh
bash: netdata-claim.sh: command not found
This was tested on a Docker image running Ubuntu 18.04
The text was updated successfully, but these errors were encountered:
You ended up with a version soooo Ancient, I am really sorry for that (and for not replying sooner, feel free to direct ping me next time) let me try to fix that but, to be honest on ubuntu 18.04 you need static installations. so this is not trivial.
pid1
linked a pull request
Jan 15, 2025
that will
close
this issue
I have successfully run the
netdata-agent.yml
on my machine (no errors reported). After this I run theclaim.yml
script and get the following output:If I connect to the machine I can see that the
netedata
program and service is installed butnetdatacli
andnetdata-claim.sh
(also used inclaim.yml
) programs are not installed.This was tested on a Docker image running Ubuntu 18.04
The text was updated successfully, but these errors were encountered: