记录一次netdata未正常启动的解决

,
root@Rainbow:/var/log/frps# systemctl status netdata.service
● netdata.service - netdata - Real-time performance monitoring
     Loaded: loaded (/lib/systemd/system/netdata.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2023-01-05 15:08:48 CST; 20s ago
       Docs: man:netdata
             file:///usr/share/doc/netdata/html/index.html
             https://github.com/netdata/netdata
   Main PID: 3010 (netdata)
      Tasks: 29 (limit: 476)
     Memory: 57.2M
        CPU: 5.320s
     CGroup: /system.slice/netdata.service
             ├─3010 /usr/sbin/netdata -D
             ├─3012 /usr/sbin/netdata --special-spawn-server
             ├─3175 bash /usr/lib/netdata/plugins.d/tc-qos-helper.sh 1
             ├─3178 /usr/lib/netdata/plugins.d/apps.plugin 1
             └─3184 /usr/lib/netdata/plugins.d/nfacct.plugin 1

Jan 05 15:08:48 Rainbow systemd[1]: netdata.service: Deactivated successfully.
Jan 05 15:08:48 Rainbow systemd[1]: Stopped netdata - Real-time performance monitoring.
Jan 05 15:08:48 Rainbow systemd[1]: netdata.service: Consumed 10.250s CPU time.
Jan 05 15:08:48 Rainbow systemd[1]: Started netdata - Real-time performance monitoring.
Jan 05 15:08:48 Rainbow netdata[3010]: CONFIG: cannot load cloud config '/var/lib/netdata/cloud.d/cloud.conf'. Running with internal defaults.
Jan 05 15:08:48 Rainbow netdata[3010]: 2023-01-05 15:08:48: netdata INFO  : MAIN : CONFIG: cannot load cloud config '/var/lib/netdata/cloud.d/cloud.conf'. Running with internal defaults.

我的配置文件在/etc/netdata/netdata.conf
但这里显示未找到/var/lib/netdata/cloud.d/cloud.conf
复制cp /etc/netdata/netdata.conf /var/lib/netdata/cloud.d/cloud.conf后问题解决
做个记录


评论

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注