Sunday, January 7, 2018

how to install Netdata

Description: Netdata is per second data collection and visualization tool. It brings per second data collection and visualization to all applications, accessible through the web.
Please find the below installations steps for the same:
Step-1: Prepare system to install netdata on machine, Install below dependencices packages on machines before installing netdata on machine directly.
yum install autoconf automake curl gcc git libmnl-devel libuuid-devel lm_sensors make MySQL-python nc pkgconfig python python-psycopg2 PyYAML zlib-devel
Note: Please note that for RHEL/CentOS you might need EPEL.
Step-2: Clone the netdata package and run on the machine.
cd netdata
run script with root privileges to build, install, start netdata
Step-3: Once the installer completes, you can start netdata by executing it with /usr/sbin/netdata (the installer will also start it).
Access to the web site, for all graphs, is by default on port 19999, so go to:
Step-4: Configure in "/etc/netdata/health_alarm_notify.conf" file for email notifications.
Replace "root" with your email id. You can set the multiple recipients with space b/w email addresses. Ex: " ..."
Netdata using sendmail command to send the email notification. So we require to mention the full path of the sendmail command in the configuration file. If empty, the system $PATH will be searched for it. If not found, most notifications will be silently disabled.
Please use below command to check the sendmail command path on machines and add in configuration.
Command to check the sendmail path.
which sendmail
Add sendmail command full path in conf file "/etc/netdata/health_alarm_notify.conf"
It should be look like: sendmail="/usr/sbin/sendmail"
Save and exit from conf file and restart the netdata.
Note: If you want to check whether Email notifications working or not. So we can check the same by running below script.
sh /root/netdata/plugins.d/
Note: I have tested the above all steps on centos 6 and same will be working for centos7.

No comments:

Post a Comment

TicTic v2.2 - Android media app for creating and sharing short videos

Facebook Twitter Tiktik – Android app for creating and sharing short videos. The customizable social video application to build ...

Popular Posts