Showing posts with label Others_Monitoring. Show all posts
Showing posts with label Others_Monitoring. Show all posts

Tuesday, 9 August 2016

How to Install NewRelic Agent on RHEL/Centos/Ubuntu/Debian/Windows

Install NewRelic on RHEL/Centos/Ubuntu/Debian/Windows


What is NewRelic?

New Relic is an American software analytics company based in San Francisco, California. Lew Cirne founded New Relic in 2008 and currently acts as the company's CEO. New Relic's technology, delivered in a software as a service (SaaS) model, monitors Web and mobile applications in real-time that run in cloud, on-premises, or hybrid environments. The name "New Relic" is an anagram of founder Lew Cirne's name.


Create a New Account for New Relic Free of cost: https://newrelic.com/
Sign up here & find out you License Key.
After Creating a new Account Login to your Account & Click on Right top Corner Drop down List , Then click on Account Settings.
Then you will find out th License key from the Right Panel.


1. For RHEL/CentOS 6 :


Step 1: Install & Add the New Relic yum repository :


# rpm -Uvh https://download.newrelic.com/pub/newrelic/el5/i386/newrelic-repo-5-3.noarch.rpm

Step 2: Install the Server Monitor package :


# yum install newrelic-sysmond -y

Step 3: Add license key to config file: (See /etc/newrelic/nrsysmond.cfg for other config options) :


# nrsysmond-config --set license_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Step 4: Start the NewRelic Monitor Process :


# /etc/init.d/newrelic-sysmond start

2. For Ubuntu/Debian :


Step 1: Add the New Relic apt repository :


# echo deb http://apt.newrelic.com/debian/ newrelic non-free >> /etc/apt/sources.list.d/newrelic.list
# wget -O- https://download.newrelic.com/548C16BF.gpg | apt-key add -
# apt-get update -y

Step 2: Install the Server Monitor package :


# apt-get install newrelic-sysmond -y

Step 3: Add license key to config file: (See /etc/newrelic/nrsysmond.cfg for other config options) :


# nrsysmond-config --set license_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Step 4: Start the NewRelic Monitor Process :


# /etc/init.d/newrelic-sysmond start

3. For Windows:


Step 1: Download the NewRelicServerMonitor msi/zip file :


Download Link:-- 

https://download.newrelic.com/windows_server_monitor/release/NewRelicServerMonitor_x64_3.3.5.0.msi /

Step 2: Run the Installer and the Put the License Key :

License Key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Thanks For Visiting on My Blog, For More Tutorials Keep Visiting My Blog.

Friday, 15 April 2016

How to install Netdata on Centos/RHEL 6.X


Install Netdata on Centos/RHEL 6.X

What is Netdata?

netdata is a extremely optimized Linux utility that provides real-time (per second) performance monitoring for Linux systems, applications, SNMP devices, etc. and shows full interactive charts that absolutely render all collected values over the web browser to analyze them.

Step 1: Stop the IPTables and Selinux, and Update the Date Time on the Server :

# service iptables stop
# chkconfig iptables off

# vi /etc/sysconfig/selinux

SELINUX=disabled ###(Change enabled to disabled)

--- save & quit (:wq) ---

# service ntpd restart
# ntpdate pool.ntp.org
# chkconfig ntpd on
# init 6

Step 2: Netdata Installation on Linux Systems :

# yum install -y zlib-devel gcc make git autoconf autogen automake pkgconfig

Step 3: clone the netdata repository from git and run netdata installer script to build it :

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

Step 4: Now it’s time to start netdata by executing the following command from the terminal & You can also stop netdata by terminating it’s process with killall command as shown :

# /usr/sbin/netdata
# killall netdata

N.B: Note: Netdata saves on exit its round robbin database information under /var/cache/netdata file, so that when you start again netdata, it will continue from where it was stopped last time.

Step 5: Updating netdata & Restart the netdata and Check on Browser:

# cd /mnt/netdata
# git pull
# ./netdata-installer.sh

http://IP-Address:19999

Thanks For Visiting on My Blog, For More Tutorials Keep Visiting My Blog.