#netdata missing /opt/netdata

1 messages · Page 1 of 1 (latest)

past siren
#

Hello!

We're trying to install netdata on multiple servers and we have some issues. On some of the servers /opt/netdata is missing entirely and we can't manage to fix it. We get no errors during the install but the default alerts, configs etc are missing entirely. We've also tried to manually purge all the netdata installation and install it manually on those nodes but that doesn't work either. We've tried with --native-only , --build-only etc.

surreal hinge
#

Hi. Install prefix depends on installation method. For instance, static build (--static-only) installs Netdata under /opt/netdata/, native and build (by defaylt) under /.

past siren
#

well, we can't find a stable way to install it so we get the config files in the same directory on all the nodes, what would you recommend?

past siren
surreal hinge
#

What configs?

#

Check /etc/netdata

#

You can check directories ...

past siren
# surreal hinge You can check directories ...

Thanks! I was looking for stock health config, it's either in /opt/netdata/etc/netdata/health.d or /etc/netdata/health.d and I also need to bulk update the stock health config , is there any way i can make sure that netdata is installed in /opt/netdata so I can have only one update or do I have to make sure I'm working with both directories?

We are using the same os on all servers and i've also tried with --install-prefix /opt/netdata/ and it still installed netdata in /

I'm using the kickstart from:

surreal hinge
#
  1. --install-prefix /opt
  2. it is applicable only when building from source
#

stock health config files are overwritten on every update, you don't want to modify them

#

make sure that netdata is installed in /opt/netdata

Install static version (--static-only)

past siren
surreal hinge
#

a file with the same name in the user directory overwrites a file in the stock directory with the same name