Available by default on Expert and Angel licenses, but optional on the others.
Preamble:
The Quanta agent is able to recover advanced system data on different components of your infrastructure such as Apache, MySQL, Redis, Varnish, PostgreSQL...
Condition:
Before installing the application agents, it is necessary to install the Quanta agent and to have previously configured our depots.
Application Agents installation
Apache 
Compatibility : Debian 8 (Jessie), Debian 9 (Stretch), CentOS 6, CentOS 7 |
- Install the package
On Debianapt-get install quanta-agent-apache
On CentOSyum install quanta-agent-apache
- Check that the status module is correctly configured on your server with the command:
curl http://127.0.0.1/server-status
- If this is not the case, it will be necessary to implement the mod_status module of Apache:
https://httpd.apache.org/docs/current/mod/mod_status.html - If you want to modify the URL used by our module, you can modify the file:
/etc/quanta/modules.d/apache.yml - Restart the agent
On Debian/etc/init.d/quanta-agent restart
On CentOSservice quanta-agent restart
You should see the metrics appear in Quanta within a few minutes
MYSQL 
Compatibility : Debian 8 (Jessie), Debian 9 (Stretch), CentOS 6, CentOS 7 |
- Install the package
On Debianapt-get install quanta-agent-mysql
On CentOSyum install quanta-agent-mysql
- We recommend that you create a MySQL user dedicated to our probe, although it is not mandatory. To do this, you could use the command:
echo "CREATE USER quanta@localhost IDENTIFIED BY 'supersecret'; " | mysql -u root -p
- Enter the user name and password you have chosen in the file:
/etc/quanta/modules.d/mysqlstat.yml - Restart the agent
On Debian/etc/init.d/quanta-agent restart
On CentOSservice quanta-agent restart
You should see the metrics appear in Quanta within a few minutes
Install for PostgreSQL
Compatibility : Debian 8 (Jessie), Debian 9 (Stretch), CentOS 7 |
- Install the package
On Debianapt-get install quanta-agent-postgresql
On CentOSyum install quanta-agent-postgresql
- We recommend that you create a PostgreSQL user dedicated to our probe, although it is not mandatory. To do this, use the command:
echo "CREATE ROLE quanta LOGIN password 'supersecret';" | sudo -u postgres psql postgres
- Enter the user name and password you have chosen in the file:
/etc/quanta/modules.d/postgresql.yml - Restart the agent
On Debian/etc/init.d/quanta-agent restart
On CentOSservice quanta-agent restart
You should see the metrics appear in Quanta within a few minutes
Nginx 
Compatibility : Debian 8 (Jessie), Debian 9 (Stretch), CentOS 6, CentOS 7 |
- Install the package
On Debianapt-get install quanta-agent-nginx
On CentOSyum install quanta-agent-nginx
- Verify that the Nginx status module is correctly configured on your server with the command:
curl http://127.0.0.1/status
- If this is not the case, you will need to enter the appropriate configuration in your Nginx configuration as described here:
http://nginx.org/en/docs/http/ngx_http_stub_status_module.html - If you want to modify the URL used by our module, you can modify the file:
/etc/quanta/modules.d/nginx.yml - Restart the agent
On Debian/etc/init.d/quanta-agent restart
On CentOSservice quanta-agent restart
You should see the metrics appear within a few minutes
Varnish 
Compatibility Varnish 3.0: CentOS 6 (Varnishcache repository) |
- Install the package
On Debianapt-get install quanta-agent-varnish
On CentOSyum install quanta-agent-varnish
- If you are using several Varnish instances, you will have to indicate for which one you wish to get your data from, you will have to add the following lines at the end of the file: /Etc/quanta/modules.d/varnish.yml
varnish:
(This setting is available from version 1.1.0 of the agent)
instance: name_of_your_instance - Restart the agent
On Debian/etc/init.d/quanta-agent restart
On CentOSservice quanta-agent restart
You should see the metrics appear within a few minutes
Redis 
Compatibility : Debian 8 (Jessie), Debian 9 (Stretch), CentOS 6, CentOS 7 |
- Install the package
On Debianapt-get install quanta-agent-redis
On CentOSyum install quanta-agent-redis
- If you do not use the default port (6379) for Redis, you can modify it in the file
/etc/quanta/modules.d/redis.yml - If you're using the Redis authentication, you will have to uncomment the line and state the password in the file: /etc/quanta/modules.d/redis.yml
auth: password
- If you are using several Varnish instances, you will have to indicate for which one you wish to get your data from, you will have to add the following lines at the end of the file: /Etc/quanta/modules.d/redis.yml
instance: name_of_your_instance
- Restart the agent
On Debian/etc/init.d/quanta-agent restart
On CentOSservice quanta-agent restart
You should see the metrics appear in Quanta within a few minutes
Memcached 
Compatibility : Debian 8 (Jessie), Debian 9 (Stretch), CentOS 6, CentOS 7 |
- Install the package
On Debianapt-get install quanta-agent-memcached
On CentOSyum install quanta-agent-memcached
- If you do not use the default port (11211) for Memcached, you can modify it in the file
/etc/quanta/modules.d/memcached.yml - Restart the agent
On Debian/etc/init.d/quanta-agent restart
On CentOSservice quanta-agent restart
You should see the metrics appear in Quanta within a few minutes
0 Comments