ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Installing Netdata on CentOS 7

    IT Discussion
    linux centos centos 7 how to ntg lab netdata
    5
    27
    6.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      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!

      hobbit666H 1 Reply Last reply Reply Quote 7
      • scottalanmillerS
        scottalanmiller
        last edited by

        0_1459672765584_Screenshot from 2016-04-03 10:51:31.png

        1 Reply Last reply Reply Quote 2
        • scottalanmillerS
          scottalanmiller
          last edited by

          0_1459672829814_Screenshot from 2016-04-03 10:51:47.png

          1 Reply Last reply Reply Quote 2
          • scottalanmillerS
            scottalanmiller
            last edited by

            0_1459672858914_Screenshot from 2016-04-03 10:52:14.png

            1 Reply Last reply Reply Quote 2
            • scottalanmillerS
              scottalanmiller
              last edited by

              0_1459672881807_Screenshot from 2016-04-03 10:52:33.png

              1 Reply Last reply Reply Quote 2
              • scottalanmillerS
                scottalanmiller
                last edited by

                0_1459672913915_Screenshot from 2016-04-03 10:52:50.png

                1 Reply Last reply Reply Quote 2
                • scottalanmillerS
                  scottalanmiller
                  last edited by

                  0_1459672924949_Screenshot from 2016-04-03 10:53:25.png

                  1 Reply Last reply Reply Quote 2
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    0_1459672938768_Screenshot from 2016-04-03 10:58:07.png

                    1 Reply Last reply Reply Quote 2
                    • scottalanmillerS
                      scottalanmiller
                      last edited by

                      0_1459672950055_Screenshot from 2016-04-03 10:58:52.png

                      1 Reply Last reply Reply Quote 2
                      • scottalanmillerS
                        scottalanmiller
                        last edited by

                        0_1459672960620_Screenshot from 2016-04-03 10:59:15.png

                        1 Reply Last reply Reply Quote 2
                        • hobbit666H
                          hobbit666 @scottalanmiller
                          last edited by

                          @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?

                          scottalanmillerS 2 Replies Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @hobbit666
                            last edited by

                            @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.

                            1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @hobbit666
                              last edited by

                              @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.

                              1 Reply Last reply Reply Quote 0
                              • hobbit666H
                                hobbit666
                                last edited by

                                So if I wanted to see the dashboard from a windows machine?

                                scottalanmillerS 1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @hobbit666
                                  last edited by

                                  @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 🙂

                                  DashrenderD 1 Reply Last reply Reply Quote 1
                                  • DashrenderD
                                    Dashrender @scottalanmiller
                                    last edited by

                                    @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. 🙂

                                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller @Dashrender
                                      last edited by

                                      @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?

                                      dafyreD 1 Reply Last reply Reply Quote 0
                                      • dafyreD
                                        dafyre @scottalanmiller
                                        last edited by

                                        @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?

                                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                                        • scottalanmillerS
                                          scottalanmiller @dafyre
                                          last edited by

                                          @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.

                                          dafyreD DashrenderD 2 Replies Last reply Reply Quote 0
                                          • dafyreD
                                            dafyre @scottalanmiller
                                            last edited by

                                            @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.

                                            From ARS: http://arstechnica.com/information-technology/2015/06/microsoft-bringing-ssh-to-windows-and-powershell/

                                            and

                                            https://blogs.msdn.microsoft.com/powershell/2015/06/03/looking-forward-microsoft-support-for-secure-shell-ssh/

                                            I don't see it dethroning putty, et al for quite some time. But nice to know its coming.

                                            scottalanmillerS 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post