Advanced System Metrics

Available by default on Expert and Angel licenses, but optional on the others.

 

Google_Chrome_2019-02-18_16-26-20_2x.png

Preamble:

The Quanta agent is able to recover advanced system data on different components of your infrastructure such as Apache, MySQL, Redis, Varnish, PostgreSQL...

Agent__1_.png


Condition:

Before installing the application agents, it is necessary to install the Quanta agent and to have previously configured our depots.


 

In this article

Application Agents installation 

Apache apache.png

Compatibility : Debian 8 (Jessie), Debian 9 (Stretch), CentOS 6, CentOS 7
  1. Install the package
    On Debian
    apt-get install quanta-agent-apache
    On CentOS
    yum install quanta-agent-apache
  2. Check that the status module is correctly configured on your server with the command:
    curl http://127.0.0.1/server-status
  3. 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

  4. If you want to modify the URL used by our module, you can modify the file:
    /etc/quanta/modules.d/apache.yml

  5. Restart the agent
    On Debian
    /etc/init.d/quanta-agent restart
    On CentOS
    service quanta-agent restart

You should see the metrics appear in Quanta within a few minutes 

  


MYSQL mysql.png

Compatibility : Debian 8 (Jessie), Debian 9 (Stretch), CentOS 6, CentOS 7
  1. Install the package
    On Debian
    apt-get install quanta-agent-mysql
    On CentOS
    yum install quanta-agent-mysql
  2. 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
  3. Enter the user name and password you have chosen in the file:
    /etc/quanta/modules.d/mysqlstat.yml
  4. Restart the agent
    On Debian
    /etc/init.d/quanta-agent restart
    On CentOS
    service quanta-agent restart

You should see the metrics appear in Quanta within a few minutes

 


Install for PostgreSQLlogopsgsql.png

Compatibility : Debian 8 (Jessie), Debian 9 (Stretch), CentOS 7
  1. Install the package
    On Debian
    apt-get install quanta-agent-postgresql
    On CentOS
    yum install quanta-agent-postgresql
  2. 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
  3. Enter the user name and password you have chosen in the file:
    /etc/quanta/modules.d/postgresql.yml
  4. Restart the agent
    On Debian
    /etc/init.d/quanta-agent restart
    On CentOS
    service quanta-agent restart

You should see the metrics appear in Quanta within a few minutes

 


Nginx nginx.png

Compatibility : Debian 8 (Jessie), Debian 9 (Stretch), CentOS 6, CentOS 7
  1. Install the package
    On Debian
    apt-get install quanta-agent-nginx
    On CentOS
    yum install quanta-agent-nginx
  2. Verify that the Nginx status module is correctly configured on your server with the command:
    curl http://127.0.0.1/status
  3. 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
  4. If you want to modify the URL used by our module, you can modify the file:
    /etc/quanta/modules.d/nginx.yml
  5. Restart the agent
    On Debian
    /etc/init.d/quanta-agent restart
    On CentOS
    service quanta-agent restart

You should see the metrics appear within a few minutes

 

 


Varnish varnish.jpeg

Compatibility Varnish 3.0: CentOS 6 (Varnishcache repository)
Compatibility Varnish 4.0: Debian 8 (Jessie), CentOS 7 (EPEL repository)
Compatibility Varnish 5.0: Debian 8 (Jessie), Debian 9 (Stretch)

  1. Install the package
    On Debian
    apt-get install quanta-agent-varnish
    On CentOS
    yum install quanta-agent-varnish
  2. 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:
    instance: name_of_your_instance
    (This setting is available from version 1.1.0 of the agent)
  3. Restart the agent
    On Debian
    /etc/init.d/quanta-agent restart
    On CentOS
    service quanta-agent restart

You should see the metrics appear within a few minutes

 


Redis redis.png

Compatibility : Debian 8 (Jessie), Debian 9 (Stretch), CentOS 6, CentOS 7
  1. Install the package
    On Debian
    apt-get install quanta-agent-redis
    On CentOS
    yum install quanta-agent-redis
  2. If you do not use the default port (6379) for Redis, you can modify it in the file
    /etc/quanta/modules.d/redis.yml
  3. 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
  4. 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
  5. Restart the agent
    On Debian
    /etc/init.d/quanta-agent restart
    On CentOS
    service quanta-agent restart

You should see the metrics appear in Quanta within a few minutes

 


 Memcached memcached.jpeg

Compatibility : Debian 8 (Jessie), Debian 9 (Stretch), CentOS 6, CentOS 7
  1. Install the package
    On Debian
    apt-get install quanta-agent-memcached
    On CentOS
    yum install quanta-agent-memcached
  2. If you do not use the default port (11211) for Memcached, you can modify it in the file
    /etc/quanta/modules.d/memcached.yml
  3. Restart the agent
    On Debian
    /etc/init.d/quanta-agent restart
    On CentOS
    service quanta-agent restart

You should see the metrics appear in Quanta within a few minutes

  

And now: Don't forget to install our PHP module !
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.