.rpmpackages for Linux systems and a Windows installation package. Linux packages are distributed by the packagecloud.io service. Linux installation requires Python
v2.7installed on your server.
Install the psutil dependency (skip this step if psutil has already been installed)
$ sudo yum install epel-releasePackagecloud.io provides a setup script that manages
$ sudo yum install python-psutil
.debpackage installation including
https-transportsetup, setting PGP verification keys and adding a system
.listfile. You can see details here. So quick way is to download and run this script. Alternatively you can run the commands manually by following the instructions in the "manual" tab.
wget https://packagecloud.io/install/repositories/loadimpact/server-metrics-agent/script.rpm.shInstall last version of the package
sudo bash script.rpm.sh
sudo yum install li-metrics-agentRun the configuration tool. You will be asked to give the agent a name and your server metrics token. The name is used for identification in the Load Impact application so it is recommended to choose a short readable name. The name and token will be written to the `config-file`. You can read about advanced configuration of Nagios and custom metrics plugins here.
$ sudo li-metrics-agent-configYou can also press the "Check installation" button on the https://app.loadimpact.com/monitoring/load-impact page. If a new entry appears in the list then the agent has been successfully installed.
If something goes wrong it's recommended you check the
$ tail /var/log/li_metrics_agent.logYou can manage the agent as a regular Linux service
# Upstart systems (Centos 6)
sudo initctl status|stop|start|restart li_metrics_agent
# Systemd systems (Centos 7)
sudo systemctl status|stop|start|restart li_metrics_agent.service