Installing Netdata on CentOS 7
-
Having learned about Netdata this morning here on ML it seemed like the perfect project for a sunny Sunday morning while the family was all still asleep. So here is the simple install on CentOS 7.
yum install zlib-devel gcc make git autoconf autogen automake pkgconfig cd /opt git clone https://github.com/firehol/netdata.git --depth=1 cd netdata ./netdata-installer.sh
That's it, Netdata is up and running. For me, I want to run this manually so as not to incur any performance hit when not in use. This is a real time performance analysis tool, not a capacity planning or warning package so having it run when not used is not very useful.
If you have a local desktop you could navigate to http://localhost:19999/ to see the output. It's that easy. However, who has a Linux server like that? So instead we need to see this remotely. Using SSH this is very simple:
ssh you.host.com -L 19999:127.0.0.1:19999
Now from your local web browser just look at http://localhost:19999/ instead!
-
-
-
-
-
-
-
-
-
-
@scottalanmiller said:
If you have a local desktop you could navigate to http://localhost:19999/ to see the output. It's that easy. However, who has a Linux server like that? So instead we need to see this remotely. Using SSH this is very simple:
ssh you.host.com -L 19999:127.0.0.1:19999
Now from your local web browser just look at http://localhost:19999/ instead!
Don't fully get this step?
Is this so I can see the dashboard from another host?
Is you.host.com then name of the remote machine or the one that you just install Netdata on? -
@hobbit666 said:
Is you.host.com then name of the remote machine or the one that you just install Netdata on?
Yes. Those two are one and the same.
-
@hobbit666 said:
Don't fully get this step?
Is this so I can see the dashboard from another host?Yes, so that you can see the Netdata dashboard from where you are sitting without needing to have it exposed to the world in any way. No ports open at all.
-
So if I wanted to see the dashboard from a windows machine?
-
@hobbit666 said:
So if I wanted to see the dashboard from a windows machine?
Exactly. But you need to enter the SSH options into Putty instead of putting them onto the command line, of course. As always... extra steps to do it in Windows
-
@scottalanmiller said:
@hobbit666 said:
So if I wanted to see the dashboard from a windows machine?
Exactly. But you need to enter the SSH options into Putty instead of putting them onto the command line, of course. As always... extra steps to do it in Windows
Until this summer, at least on Windows 10.
-
@Dashrender said:
@scottalanmiller said:
@hobbit666 said:
So if I wanted to see the dashboard from a windows machine?
Exactly. But you need to enter the SSH options into Putty instead of putting them onto the command line, of course. As always... extra steps to do it in Windows
Until this summer, at least on Windows 10.
Why?
-
@scottalanmiller said:
@Dashrender said:
@scottalanmiller said:
@hobbit666 said:
So if I wanted to see the dashboard from a windows machine?
Exactly. But you need to enter the SSH options into Putty instead of putting them onto the command line, of course. As always... extra steps to do it in Windows
Until this summer, at least on Windows 10.
Why?
Because Windows 10 may have a native SSH client built in?
-
@dafyre said:
@scottalanmiller said:
@Dashrender said:
@scottalanmiller said:
@hobbit666 said:
So if I wanted to see the dashboard from a windows machine?
Exactly. But you need to enter the SSH options into Putty instead of putting them onto the command line, of course. As always... extra steps to do it in Windows
Until this summer, at least on Windows 10.
Why?
Because Windows 10 may have a native SSH client built in?
That would be the assumption, but I've heard nothing about that. Seems like that would be big news.
BASH and WSL I know about, but SSH I've not heard mentioned or implied until now.
-
@scottalanmiller said:
@dafyre said:
@scottalanmiller said:
@Dashrender said:
@scottalanmiller said:
@hobbit666 said:
So if I wanted to see the dashboard from a windows machine?
Exactly. But you need to enter the SSH options into Putty instead of putting them onto the command line, of course. As always... extra steps to do it in Windows
Until this summer, at least on Windows 10.
Why?
Because Windows 10 may have a native SSH client built in?
That would be the assumption, but I've heard nothing about that. Seems like that would be big news.
BASH and WSL I know about, but SSH I've not heard mentioned or implied until now.
and
I don't see it dethroning putty, et al for quite some time. But nice to know its coming.