Skip to content

netdatacli and netdata-claim.sh not installed #12

@theblockstalk

Description

@theblockstalk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions