Skip to main content

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.

Server Monitoring Linux Unix

  1. Register the WhaTap repository.

    number-s At the top of Management > Agent Installation, select the OS tab and then select the server OS. number-s In the Add WhaTap Repository tab, copy the command and enter it.

    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 update
    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 refresh
  2. Install the package with the following command.

    number-s In the Install WhaTap Server Monitoring Patch tab, copy the command and enter it.

    sudo apt-get install whatap-infra
  3. Run the configuration script.

    number-s 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
Note

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.