Linux and Unix
If you select a newly generated server monitoring project, the agent installation screen appears. It is also possible in Management > Agent Installation for the project.
-
Register the WhaTap repository.
At the top of Management > Agent Installation, select the OS tab and then select the server OS. In the Add WhaTap Repository tab, copy the command and enter it.
- Debian / Ubuntu
- CentOS
- Amazon Linux
wget http://repo.whatap.io/debian/release.gpg -O -|sudo apt-key add -
wget http://repo.whatap.io/debian/whatap-repo_1.0_all.deb
sudo dpkg -i whatap-repo_1.0_all.deb
sudo apt-get updatesudo rpm --import http://repo.whatap.io/centos/release.gpg
sudo rpm -Uvh http://repo.whatap.io/centos/5/noarch/whatap-repo-1.0-1.noarch.rpmsudo rpm --import http://repo.whatap.io/centos/release.gpg
echo "[whatap]" | sudo tee /etc/yum.repos.d/whatap.repo > /dev/null
echo "name=whatap packages for enterprise linux" | sudo tee -a /etc/yum.repos.d/whatap.repo > /dev/null
echo "baseurl=http://repo.whatap.io/centos/latest/\$basearch" | sudo tee -a /etc/yum.repos.d/whatap.repo > /dev/null
echo "enabled=1" | sudo tee -a /etc/yum.repos.d/whatap.repo > /dev/null
echo "gpgcheck=0" | sudo tee -a /etc/yum.repos.d/whatap.repo > /dev/null- SUSE
- FreeBSD
- XenServer
sudo rpm --import http://repo.whatap.io/suse/release.gpg
echo "[whatap]" | sudo tee /etc/zypp/repos.d/whatap.repo > /dev/null
echo "name=whatap packages for enterprise linux" | sudo tee -a /etc/zypp/repos.d/whatap.repo > /dev/null
echo "baseurl=http://repo.whatap.io/suse/12/x86_64" | sudo tee -a /etc/zypp/repos.d/whatap.repo > /dev/null
echo "enabled=1" | sudo tee -a /etc/zypp/repos.d/whatap.repo > /dev/null
echo "gpgcheck=1" | sudo tee -a /etc/zypp/repos.d/whatap.repo > /dev/null
sudo zypper refreshwget http://repo.whatap.io/freebsd/10/whatap-infra.txz
sudo rpm --import http://repo.whatap.io/centos/release.gpg
sudo rpm -Uvh http://repo.whatap.io/centos/python/5/noarch/whatap-repo-1.0-1.noarch.rpm -
Install the package with the following command.
In the Install WhaTap Server Monitoring Patch tab, copy the command and enter it.
- Debian / Ubuntu
- SUSE
- FreeBSD
- CentOS / Amazon Linux / XenServer
sudo apt-get install whatap-infra
sudo zypper install whatap-infra
pkg install whatap-infra.txz
sudo yum install whatap-infra
-
Run the configuration script.
Go to the Start Server Monitoring tab, get the command or execute the command below after adding the project access key and server IP.
echo "license=[Granted Project Access Key]" |sudo tee /usr/whatap/infra/conf/whatap.conf
echo "whatap.server.host=[Granted WhaTap Server IP]" |sudo tee -a /usr/whatap/infra/conf/whatap.conf
echo "createdtime=`date +%s%N`" |sudo tee -a /usr/whatap/infra/conf/whatap.conf
sudo service whatap-infra restart
Cautions
TCP outbound 6600 PORT must be open for data transmission.
Server agent installation file configuration
-
Common files
-
ChangeLog.txt: Agent's revision history
-
whatap.conf: In this file, the address of the server to collect data and the server's project access key are entered.
-
-
Linux/FreeBSD
-
whatap_infrad: Agent that collects and transmits data.
-
whatap_infrad.pid: File in which the PID of the running agent has been written.
-
VERSION: File in which the versions of the installed agents have been written.
-