New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help on Install - Raspberry PI - Debian (jessie) #1461

Closed
Firemanjoe opened this Issue Dec 28, 2016 · 10 comments

Comments

Projects
None yet
5 participants
@Firemanjoe

Firemanjoe commented Dec 28, 2016

Hey! This looks great! I'm running what I mentioned above and I'm trying to replace my existing monitoring system to this awesome one. How can I go about getting this installed, keeping in mind that I'm rather code dumb, although I'm learning.

Cheers!

@ktsaou

This comment has been minimized.

Show comment
Hide comment
@ktsaou

ktsaou Dec 28, 2016

Member

For Raspbian, OSMC, ArchLinux, just follow the installation procedure. It works nicely.

If you have a modern RPi (v2 or v3), the default settings are good. For RPi v1 (the single core), after you install netdata edit /etc/netdata/netdata.conf and set update every = 5 and restart netdata. With this setting netdata will collect data once every 5 seconds (it lowers the CPU utilization of netdata below 1%).

If you face any issues, just post here.

Member

ktsaou commented Dec 28, 2016

For Raspbian, OSMC, ArchLinux, just follow the installation procedure. It works nicely.

If you have a modern RPi (v2 or v3), the default settings are good. For RPi v1 (the single core), after you install netdata edit /etc/netdata/netdata.conf and set update every = 5 and restart netdata. With this setting netdata will collect data once every 5 seconds (it lowers the CPU utilization of netdata below 1%).

If you face any issues, just post here.

@ktsaou ktsaou added the question label Dec 28, 2016

@jareis

This comment has been minimized.

Show comment
Hide comment
@jareis

jareis Dec 29, 2016

Hello,

I just tried to install in a raspberry pi debian, and in the step 2:

$ bash netdata-installer.sh
netdata-installer.sh: line 2: $'\r': command not found
: No such file or directory4: /etc/profile
netdata-installer.sh: line 5: $'\r': command not found
netdata-installer.sh: line 7: $'\r': command not found
netdata-installer.sh: line 37: syntax error near unexpected token $'{\r'' 'etdata-installer.sh: line 37:banner() {

so I run $dos2unix netdata-installer.sh before executing the netdata-installer.sh . After i discovered that autogen.sh had a similar problem so: $dos2unix autogen.sh

And breaked the install in:

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-zlib --with-math --with-user=netdata CFLAGS=-O3 ... FAILED!

Any ideas?

jareis commented Dec 29, 2016

Hello,

I just tried to install in a raspberry pi debian, and in the step 2:

$ bash netdata-installer.sh
netdata-installer.sh: line 2: $'\r': command not found
: No such file or directory4: /etc/profile
netdata-installer.sh: line 5: $'\r': command not found
netdata-installer.sh: line 7: $'\r': command not found
netdata-installer.sh: line 37: syntax error near unexpected token $'{\r'' 'etdata-installer.sh: line 37:banner() {

so I run $dos2unix netdata-installer.sh before executing the netdata-installer.sh . After i discovered that autogen.sh had a similar problem so: $dos2unix autogen.sh

And breaked the install in:

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-zlib --with-math --with-user=netdata CFLAGS=-O3 ... FAILED!

Any ideas?

@jareis

This comment has been minimized.

Show comment
Hide comment
@jareis

jareis Dec 29, 2016

Running $ sudo ./netdata-installer.sh has the same behaviour...

jareis commented Dec 29, 2016

Running $ sudo ./netdata-installer.sh has the same behaviour...

@ktsaou

This comment has been minimized.

Show comment
Hide comment
@ktsaou

ktsaou Dec 30, 2016

Member

Please do these:

# become root
sudo su

# install all the packages needed to build and run netdata
curl -Ss 'https://raw.githubusercontent.com/firehol/netdata-demo-site/master/install-required-packages.sh' >/tmp/kickstart.sh && bash /tmp/kickstart.sh -i netdata
# press ENTER or Y as instructed

# download netdata
cd /usr/src
git clone https://github.com/firehol/netdata.git --depth=1
cd netdata
./netdata-installer.sh

Please copy and paste each line, without altering anything. They should work.

If something fails, please copy and paste here the output of the command, including the command you run (all the session of failed command).

Member

ktsaou commented Dec 30, 2016

Please do these:

# become root
sudo su

# install all the packages needed to build and run netdata
curl -Ss 'https://raw.githubusercontent.com/firehol/netdata-demo-site/master/install-required-packages.sh' >/tmp/kickstart.sh && bash /tmp/kickstart.sh -i netdata
# press ENTER or Y as instructed

# download netdata
cd /usr/src
git clone https://github.com/firehol/netdata.git --depth=1
cd netdata
./netdata-installer.sh

Please copy and paste each line, without altering anything. They should work.

If something fails, please copy and paste here the output of the command, including the command you run (all the session of failed command).

@ktsaou

This comment has been minimized.

Show comment
Hide comment
@ktsaou

ktsaou Dec 30, 2016

Member

I updated it. So, please read it on github.

Member

ktsaou commented Dec 30, 2016

I updated it. So, please read it on github.

@jareis

This comment has been minimized.

Show comment
Hide comment
@jareis

jareis Dec 30, 2016

Thanks @ktsaou, it worked.

jareis commented Dec 30, 2016

Thanks @ktsaou, it worked.

@ktsaou

This comment has been minimized.

Show comment
Hide comment
@ktsaou

ktsaou Dec 30, 2016

Member

ok. nice!
I am closing this now.

Member

ktsaou commented Dec 30, 2016

ok. nice!
I am closing this now.

@ktsaou ktsaou closed this Dec 30, 2016

@Firemanjoe

This comment has been minimized.

Show comment
Hide comment
@Firemanjoe

Firemanjoe Dec 30, 2016

Thanks Everything works great on my machine as well!

Firemanjoe commented Dec 30, 2016

Thanks Everything works great on my machine as well!

@slimshizn

This comment has been minimized.

Show comment
Hide comment
@slimshizn

slimshizn Apr 17, 2018

This works fine, thank you. How do we go about updating this with a new release?

slimshizn commented Apr 17, 2018

This works fine, thank you. How do we go about updating this with a new release?

@seetendra

This comment has been minimized.

Show comment
Hide comment
@seetendra

seetendra Sep 24, 2018

Do these steps to update

  1. cd /usr/src
  2. cd netdata
  3. ./netdata-installer.sh

seetendra commented Sep 24, 2018

Do these steps to update

  1. cd /usr/src
  2. cd netdata
  3. ./netdata-installer.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment