Graphical Monitoring with Collectd in Linux

Monitoring with collectd

First of all

enter you ip and hostname in /etc/hosts

[root@nagiosclient ~]# vi /etc/hosts nagiosclient


install epel repo

[root@nagiosclient ~]# rpm -ivh                                   -release-6-8.noarch.rpm

install collectd with some other packages including httpd package

[root@nagiosclient ~]# yum install -y collectd colllect-rrdtool rrdtool collectd-web httpd

configuration file is /etc/collectd.conf

configuration file for the collectd element of the webserver


change the allowed hosts to all as below to access web collectd from another server or workstation

# Configuration for collectd.

ScriptAlias /collectd/bin/ /usr/share/collectd/collection3/bin/
Alias /collectd/ /usr/share/collectd/collection3/

    AddHandler cgi-script .cgi
    DirectoryIndex bin/index.cgi
    #Order Deny,Allow
    Allow from all


Start the services

[root@nagiosclient ~]# /etc/init.d/httpd start
Starting httpd:                                            [  OK  ]
[root@nagiosclient ~]# /etc/init.d/collectd start
Starting collectd:                                         [  OK  ]

Now got to web browser of any system in LAN and put


NOTE:  dont forget the / at the end















If you want to monitor more then just uncomment plugins in /etc/collectd.conf
























Now Just restart the service

[root@nagiosclient ~]# service collectd restart
Stopping collectd: [ OK ]


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.