Join the community today
Become a Member

addons/netdata.sh - new system monitor addon - part 2

Discussion in 'Beta release code' started by eva2000, Jul 11, 2017.

Thread Status:
Not open for further replies.
  1. eva2000

    eva2000 Administrator Staff Member

    30,898
    6,908
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,403
    Local Time:
    2:07 AM
    Nginx 1.13.x
    MariaDB 5.5
    This is preview part 2 for addons/netdata.sh that I am working on for Centmin Mod 123.09beta01+ and higher versions. Part 1 is outlined here.

    The Centmin Mod addons/netdata.sh is work in progress and undergoing private testing only right now to allow 64bit CentOS users to install a full system monitoring application called Netdata.

    Centmin Mod addons/netdata.sh will
    • Netdata installed off main hostname and accessed by /netdata_RANDOMSUFFIX where RANDOMSUFFIX is random generated digits unique to each install
    • Netdata will be password protected via auto configured nginx proxy upstream to Netdata backend which is running off TCP port 19999 and binded to 127.0.0.1
    • Auto detect if system Linux Kernel supports KSM - memory dedupe and enable it if supported
    • If Linux KSM - memory dedupe isn't supported, auto optimise Netdata history length based on detected memory available. Low memory systems will have a longer than default update interval and shorter global history length set to reduce memory usage requirements.
    • Auto enables and configures additional monitoring plugins for Nginx, MariaDB MySQL, postfix, PHP-FPM, redis and sensors
    • Health Monitoring - work in progress
    Below are preview screenshots of addons/netdata.sh on local virtualbox based CentOS 7.3 64bit Centmin Mod 123.09beta01 install.

    netdata-1.6.1-01.png netdata-1.6.1-02.png netdata-1.6.1-03.png netdata-1.6.1-04.png netdata-1.6.1-05.png netdata-1.6.1-06.png
     
    Last edited: Jul 11, 2017
    • Useful Useful x 1
  2. eva2000

    eva2000 Administrator Staff Member

    30,898
    6,908
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,403
    Local Time:
    2:07 AM
    Nginx 1.13.x
    MariaDB 5.5
    Netdata Nginx monitoring

    netdata-1.6.1-nginx-01.png
     
    • Like Like x 1
  3. eva2000

    eva2000 Administrator Staff Member

    30,898
    6,908
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,403
    Local Time:
    2:07 AM
    Nginx 1.13.x
    MariaDB 5.5
    MariaDB MySQL monitoring

    netdata-1.6.1-mariadb-mysql-01.png netdata-1.6.1-mariadb-mysql-02.png netdata-1.6.1-mariadb-mysql-03.png netdata-1.6.1-mariadb-mysql-04.png
     
    • Winner Winner x 1
  4. eva2000

    eva2000 Administrator Staff Member

    30,898
    6,908
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,403
    Local Time:
    2:07 AM
    Nginx 1.13.x
    MariaDB 5.5
    Quick look at Netdata system resource usage while running a nginx reverse proxy to Netdata backend with active browser monitoring via pidstat

    Code (Text):
    Average:      UID       PID    %usr %system  %guest    %CPU   CPU  Command
    Average:        0         9    0.00    0.11    0.00    0.11     -  rcu_sched
    Average:        0        51    0.00    0.09    0.00    0.09     -  ksmd
    Average:        0        64    0.00    0.02    0.00    0.02     -  kworker/0:1
    Average:        0       442    0.00    0.05    0.00    0.05     -  xfsaild/dm-1
    Average:        0       687    0.00    0.02    0.00    0.02     -  haveged
    Average:        0       691    0.09    0.02    0.00    0.11     -  rngd
    Average:        0       692    0.02    0.00    0.00    0.02     -  irqbalance
    Average:      996      1500    0.18    0.32    0.00    0.50     -  mysqld
    Average:     1001      1945    0.00    0.02    0.00    0.02     -  memcached
    Average:        0     13833    0.00    0.02    0.00    0.02     -  kworker/4:1
    Average:        0     15746    0.00    0.02    0.00    0.02     -  kworker/1:0
    Average:        0     15897    0.00    0.02    0.00    0.02     -  sshd
    Average:      995     17563    1.04    0.41    0.00    1.45     -  netdata
    Average:      995     17590    0.30    0.30    0.00    0.59     -  python
    Average:      995     17615    0.43    0.14    0.00    0.57     -  apps.plugin
    Average:     1000     18670    0.09    0.20    0.00    0.30     -  nginx
    Average:     1000     18671    0.09    0.11    0.00    0.20     -  nginx
    Average:     1000     18673    0.18    0.32    0.00    0.50     -  nginx
    Average:        0     19080    0.27    1.11    0.00    1.39     -  pidstat
    Average:      995     19085    0.02    0.02    0.00    0.05     -  bash
    

    Code (Text):
    Average:      UID       PID  minflt/s  majflt/s     VSZ    RSS   %MEM  Command
    Average:        0         1      0.02      0.00  190860   3816   0.20  systemd
    Average:        0       692      1.00      0.00   19168   1188   0.06  irqbalance
    Average:      996      1500    829.43      0.00  583848 175540   9.32  mysqld
    Average:      995     17563     30.66      0.00  198070  33549   1.78  netdata
    Average:      995     17590     68.88      0.00  182988  19068   1.01  python
    Average:     1000     18670      0.02      0.00  137960  52480   2.79  nginx
    Average:     1000     18673      0.05      0.00  137960  52480   2.79  nginx
    Average:        0     19080    434.39      0.00  108280   1178   0.06  pidstat
    Average:      995     19085     27.62      0.00    9636   1492   0.08  bash
    

    Code (Text):
    Average:      UID       PID   kB_rd/s   kB_wr/s kB_ccwr/s  Command
    Average:        0       956      0.00      0.09      0.00  rsyslogd
    Average:      995     17563      0.00      2.27      0.00  netdata
    Average:     1000     18670      0.00      1.18      0.00  nginx
    Average:     1000     18671      0.00      0.73      0.00  nginx
    Average:     1000     18673      0.00      1.91      0.00  nginx
    
     
    • Like Like x 2
Thread Status:
Not open for further replies.