Linux

Installation

This manual is for OS with systemd, upstart and init.d service managers. For example:

  • Ubuntu Linux;

  • Red Hat Enterprise Linux;

  • CentOS Linux;

  • Debian 8 "Jessie" (for Raspberry Pi users).

If you use another service manager, contact us at care@saymon.info.

The user saymon is automatically created in the system during agent installation. The agent will work on behalf of this user.

If there is already a user in the system with such login, the agent will work on their behalf.

In order to install an agent on Linux, following steps must be performed:

On a host without Internet access

  1. Download sh-installer Linux 64 bit or Linux 32 bit.

  2. Move it to the user’s home directory on the host.

  3. Make the script executable:

    64 Bit
    sudo chmod +x saymon-agent-rl-linux-x64-jre-installer.sh
    32 Bit
    sudo chmod +x saymon-agent-rl-linux-i586-jre-installer.sh
  4. Execute the script:

    64 Bit
    sudo ./saymon-agent-rl-linux-x64-jre-installer.sh
    32 Bit
    sudo ./saymon-agent-rl-linux-i586-jre-installer.sh
  5. Follow the instructions in the terminal.

On a host with Internet access

  1. Execute the following command:

    64 Bit
    curl https://saymon.info/downloads/saymon-agent-rl-linux-x64-jre-installer.sh -o saymon-agent-instal.sh ; chmod +x saymon-agent-instal.sh ; sudo ./saymon-agent-instal.sh
    32 Bit
    curl https://saymon.info/downloads/saymon-agent-rl-linux-i586-jre-installer.sh -o saymon-agent-instal.sh ; chmod +x saymon-agent-instal.sh ; sudo ./saymon-agent-instal.sh
  2. Follow the instructions in the terminal.

Agent configuration

If necessary, agent configuration file /opt/saymon-agent/conf/agent.properties can be modified.

Log files

Centralized logging of the agent through SYSLOG can be activated in the file /opt/saymon-agent/conf/logback-upstart.xml.

Agent log-files are recorded to the directory /var/log/saymon.

Service work

It is possible to check agent status, start, restart or stop it with the following commands respectively:

sudo service saymon-agent status
sudo service saymon-agent start
sudo service saymon-agent restart
sudo service saymon-agent stop