Git Product home page Git Product logo

sys_metrics's Introduction

sys_metrics


  • Track system performance statistics with collectd, a Unix daemon that collects system metrics periodically and provides mechanisms to store and publish the collected metrics.

  • Collecting system metrics allows system administrators to monitor available resources, detect bottlenecks, and make informed decisions about servers and projects.

collectd is an open source daemon that collects system performance statistics periodically and provides mechanisms to store and publish the collected metrics.

Steps to Install & Configure ( so that it knows what data to collect and how to send the values collected ) the daemon :


\\ install
sudo apt-get update
sudo apt-get install collectd
  • After running the second command you will see the following message :
After this operation, 226 MB of additional disk space will be used.
Do you want to continue? [Y/n]
  • Type Y , then hit Enter to continue installation.

  • After the installation is completed , next step is to configure the collectd plugins.

sudo cp /etc/collectd/collectd.conf /home/[username]/workspace/collectd.conf
sudo rm /etc/collectd/collectd.conf
sudo ln -s /home/[username]/workspace/collectd.conf /etc/collectd/collectd.conf
  • Now edit the collectd.conf file. [Here you will be enabling certain plugins, updating paths etc.]
  • So now restart collectd : sudo systemctl restart collectd
  • To check the status of collectd: sudo systemctl status collectd

Note :

    • If everything works fine then we should get the following message in the terminal : Active: active (running)
    • We will also be able to see that collectd was initialized and plugins were loaded in your collectd.log file.
  • Verify whether there are issues in the configuration file by running the following:

collectd -t ; echo $?

If you receive an output other than 0 then there is something wrong with collectd.conf file.

sys_metrics's People

Contributors

chiraag-kakar avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.