Thursday, December 17, 2015

Stay Cool with Tux





Looking to monitor Linux platforms?  Here's a quick start guide to doing just that...


This video guides with:
  • Building a CentOS_6.7 platform
    • (BEGINNING of Video – 14 minutes, 55 seconds)
  • Installing the RemoteManagement Agent on the Linux platform
    • (14 minutes, 55 seconds – 21 minutes, 25 seconds)
  • Delivering a GUI interface to the CentOS platform
    • (21 minutes, 25 seconds – END of Video)

 

The below material covers items used within the above video tutorial.  Please use this as a text reference to ensure that proper commands and resources are utilized when performing the procedures.


Building a CentOS_6.7 platform
  1. Download and load the minimal .iso (http://isoredirect.centos.org/centos/6/isos/x86_64/)
  2. Spin up ESXi and point to the minimal .iso package
  3. Navigate through the Operating System wizard
  4. In terminal, login with root account & password



Installing the RemoteManagement Agent on the Linux platform
NOTE: Perform the below as "root" / su

In terminal:
  1. yum install wget
  2. cd /etc/yum.repos.d
  3. wget http://repos.systemmonitor.us/rmmagent/CentOS_6/rmmagent.repo
  4. rpm --import http://repos.systemmonitor.us/rmmagent/CentOS_6/repodata/repomd.xml.key
  5. rpm -Uhv http://repos.systemmonitor.us/rmmagent/CentOS_6/x86_64/rmmagent-1.0.1.centos6-1.1.x86_64.rpm
    • For step #5, you may need to install additional components first (/do these steps if error is seen in step #5):
    1. yum install smartmontools
    2. yum install unzip
  6. cd /usr/local/rmmagent
  7. ./rmmagentd –i
  8. Register rmmagent as a service using chkconfig to ensure the Linux Monitoring Agent starts after a reboot
    • Please ensure the Linux Monitoring Agent is registered as a service to start automatically when the server enters runlevel 3. This can be achieved using chkconfig which updates system services runlevel information.
    • Use --add <servicename> to add the service then --list <servicename> to ensure this was successful.
    1. chkconfig --add rmmagent
    2. chkconfig --list rmmagent



Delivering a GUI interface to the CentOS platform
In terminal:
  1. yum -y groupinstall "Desktop" "Desktop Platform" "X Window System" "Fonts"
  2. startx