{"id":694,"date":"2018-10-18T12:07:16","date_gmt":"2018-10-18T12:07:16","guid":{"rendered":"https:\/\/www.appservgrid.com\/paw92\/?p=694"},"modified":"2018-10-18T15:53:33","modified_gmt":"2018-10-18T15:53:33","slug":"collectd-system-performance-monitor-installation-on-centos-7","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/10\/18\/collectd-system-performance-monitor-installation-on-centos-7\/","title":{"rendered":"CollectD System Performance Monitor Installation On Centos 7"},"content":{"rendered":"<p>Collectd is a daemon which collects system performance data and metrics. It runs as a daemon and the data it collects can either be processed locally or sent to a central logging server. It is easy to configure and set up and can be configured to report to various metric analytics platforms. This is is a guide to install the daemon on Centos 7. You can read more about the project <a href=\"https:\/\/collectd.org\/\">here<\/a>. The platform is robust and offers hundreds of plugins for monitoring various services. Once you have installed it, you can use the metrics to determine bottlenecks in system performance and potential opportunities to improve.<\/p>\n<h2>Install CollectD<\/h2>\n<p>Make sure everything is up to date:<\/p>\n<p>yum update<br \/>\nyum upgrade<\/p>\n<p>The required packages are contained the EPEL repository so you will need to install that:<\/p>\n<p>yum install epel-release<\/p>\n<p>The install the service itself:<\/p>\n<p>yum install collectd<\/p>\n<h2>Configure CollectD<\/h2>\n<p>Once it has been installed you can edit the configuration to match what you need to monitor. The configuration is located at \/etc\/collectd.conf there are numerous plugins you can enable to monitor different aspects of the server or services. In this particular guide we are just going to leave the base install. We are just going to update the hostname:<\/p>\n<p>nano \/etc\/collectd.conf<\/p>\n<p>Un-comment this line and configure it to match your servers hostname<\/p>\n<p>#Hostname &#8220;localhost&#8221;<\/p>\n<p>If this hostname does not actually resolve you will want to uncomment<\/p>\n<p>#FQDNLookup true<\/p>\n<p>And set it to false<\/p>\n<p>FQDNLookup false<\/p>\n<p>You will need to enable the service on CentOS 7:<\/p>\n<p>systemctl enable collectd<\/p>\n<p>Then you can go ahead and start the logging daemon:<\/p>\n<p>systemctl start collectd<\/p>\n<p>You can verify its running by checking its status<\/p>\n<p># systemctl status collectd<br \/>\n\u25cf collectd.service &#8211; Collectd statistics daemon<br \/>\nLoaded: loaded (\/usr\/lib\/systemd\/system\/collectd.service; disabled; vendor preset: disabled)<br \/>\nActive: active (running) since Wed 2017-09-06 22:05:51 EDT; 4 days ago<br \/>\nDocs: man:collectd(1)<br \/>\nman:collectd.conf(5)<br \/>\nMain PID: 8497 (collectd)<br \/>\nCGroup: \/system.slice\/collectd.service<br \/>\n\u2514\u25008497 \/usr\/sbin\/collectd<\/p>\n<p>You are looking for a \u2018Active: active (running)\u2019 running status. That\u2019s it for installing the service itself, we will be releasing more guides on how to configure various platforms for it to report to.<\/p>\n<p>Sep 11, 2017LinuxAdmin.io<\/p>\n<p><a href=\"https:\/\/linuxadmin.io\/collectd-install-centos-7\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Collectd is a daemon which collects system performance data and metrics. It runs as a daemon and the data it collects can either be processed locally or sent to a central logging server. It is easy to configure and set up and can be configured to report to various metric analytics platforms. This is is &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/10\/18\/collectd-system-performance-monitor-installation-on-centos-7\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;CollectD System Performance Monitor Installation On Centos 7&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-694","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/694","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=694"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/694\/revisions"}],"predecessor-version":[{"id":823,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/694\/revisions\/823"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=694"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=694"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}