Install the agent on a static server
Sending system information to Experience Monitoring requires installing the Experience Monitoring agent on all servers you wish to monitor.
- The agent is only compatible with Linux.
- This procedure can be used directly if your application or site is hosted on a static server. For autoscaling environments (including Docker), it must be adapted to manage the hostid correctly. See Install the agent in autoscaling environments.
Compatibility​
- Debian 10, 11, 12
- Ubuntu Jammy, Kinetic, Lunar
- CentOS 7, CentOS 8 Stream
Prerequisites​
-
To install the Experience Monitoring agent, you will need an auto-registration token. Each site has its own token. To retrieve a token, in the site you want, go to Settings > System. The token is displayed in a green box.
-
System agents must be able to communicate with our infrastructure. You may need to whitelist our IP addresses.
-
To add, modify, or delete a server in Experience Monitoring, you must have Admin or Owner permissions on your organization. Ask your administrator or support to grant you the correct rights.
Installation procedure​
- Debian
- Ubuntu
- CentOS/RHEL
- Other OSs
-
Add the following line to the /etc/apt/sources.list.d/quanta.list file.
- Buster (versions 10.*)
- Bullseye (versions 11.*)
- Bookworm (versions 12.*)
deb [signed-by=/usr/share/keyrings/quanta-archive-keyring.pgp] http://apt.quanta.io/debian buster maindeb [signed-by=/usr/share/keyrings/quanta-archive-keyring.pgp] https://apt.quanta.io/debian bullseye maindeb [signed-by=/usr/share/keyrings/quanta-archive-keyring.pgp] https://apt.quanta.io/debian bookworm mainIf unsure of your version of Debian, you can read the /etc/debian_version file.
-
Download and add the GPG key for our repository:
curl https://apt.quanta.io/quanta-repo-key.gpg | gpg -o /usr/share/keyrings/quanta-archive-keyring.pgp --dearmor -
Update the package list:
apt update -
Install the agent:
apt install quanta-agentYou will be prompted for the token during installation, and system data should appear in Experience Monitoring within a minute. You can then install application agents if you need them.
To install the Experience Monitoring agent:
-
Add the following line to the /etc/apt/sources.list.d/quanta.list file.
- Jammy
deb [signed-by=/usr/share/keyrings/quanta-archive-keyring.pgp] https://apt.quanta.io/ubuntu jammy main -
Download and add the GPG key for our repository:
curl https://apt.quanta.io/quanta-repo-key.gpg | gpg -o /usr/share/keyrings/quanta-archive-keyring.pgp --dearmor -
Update the package list:
apt update -
Install the agent:
apt install quanta-agentYou will be prompted for the token during installation, and system data should appear in Experience Monitoring within a minute. You can then install application agents or the PHP profiler if you need them.
Supported Versions:
- Centos 7
- Centos 8 Stream
To install the Experience Monitoring agent:
-
Create the repository configuration file /etc/yum.repos.d/quanta.repo. You can download the configuration file available here: https://rpm.quanta.io/quanta-centos-repo.txt
-
Install the GPG key for our repository:
curl https://rpm.quanta.io/quanta-repo-key.gpg -o /tmp/quanta.key && rpm --import /tmp/quanta.key && rm -f /tmp/quanta.key -
Update the package list:
yum makecache -
Install the agent:
yum install quanta-agent -
Edit the file /etc/quanta/agent.yml and replace YOUR_EXPERIENCE_MONITORING_TOKEN with your auto-registration token:
__YOUR_EXPERIENCE_MONITORING_TOKEN__ -
Start the agent:
systemctl start quanta-agent -
Enable the agent to start automatically on boot:
systemctl enable quanta-agentYou should see system data appear in Experience Monitoring within a minute. You can then install application agents or the PHP profiler if you need them.
We do not provide packages for other OSs, but the source code is publicly available on GitHub and can be compiled.
Troubleshooting agent installation​
I don't see data coming in, where can I find information to troubleshoot?
The agent uses syslog for logging; you will generally find logs in /var/log/daemon.log or /var/log/syslog. If you can't find the source of the error, please contact Centreon support.
You can send logs to another file by changing the file variable under the logger section in /etc/quanta/agent.yml (make sure to set up log rotation).
Modifying an existing installation​
If you want to modify the configuration of an Experience Monitoring agent that is already installed on one of your servers, you will find its configuration in the /etc/quanta/agent.yml file. It contains the main connection information, including the Experience Monitoring token corresponding to the relevant site. Access to this file can be useful if you monitor multiple sites with the same Experience Monitoring account and wish to specify the correct token to associate each server with its hosted site (e.g., for separate production and pre-production servers).
Here is an excerpt from the /etc/quanta/agent.yml file:
user: quanta-agent
directory: /var/run/quanta
pidfile: /var/run/quanta/agent.pid
daemonize: yes
poll_interval: 60
update_interval: 15
logger:
level: notice
file: syslog
hostid: [...] <- server ID, automatically generated at installation
quanta_token: [...] <- insert here the token corresponding to your site
[...]
Endpoint addresses for server agents​
If you use the Experience Monitoring agent, each of your servers regularly sends data (once per minute) to the Experience Monitoring service.
This is outbound HTTPS traffic (port 443) and is often allowed by default. However, if your firewall rules are strict and you need to allow specific destinations for Experience Monitoring, list the following destination IP addresses:
- 52.215.166.110
- 52.215.179.235
- 52.215.180.115