RRDtool

RRDtool RedHat/Fedora RPM packages from DAG repository.

Tested with 1.2.8 version:

http://dag.wieers.com/packages/rrdtool/perl-rrdtool-1.2.8-1.1.el3.test.i386.rpm http://dag.wieers.com/packages/rrdtool/rrdtool-1.2.8-1.1.el3.test.i386.rpm

# rpm -ihv perl-rrdtool-1.2.8-1.1.el3.test.i386.rpm rrdtool-1.2.8-1.1.el3.test.i386.rpm

cacti

TODO: use cacti from DAG repository!

http://www.cacti.net/downloads/packages/Redhat/9/cacti-0.8.6d.rh9.i386.rpm

cacti needs MySQL, PHP and WWW server installed (SLC3 versions seem to be sufficient).

  • install cacti RH9 package
    • [root@xxx root] rpm -ihv cacti-0.8.6d.rh9.i386.rpm --nodeps
      • --nodeps is needed because of lack of php-snmp package
    • [root@xxx root]# echo "RPM { Fake-Provides { "php-snmp" } }" >> /etc/apt/apt.conf
      • to silence apt

  • create MySQL database for cacti
    • [root@xxx root]# mysql
    • mysql> CREATE DATABASE cacti;
    • mysql> exit

  • import the default cacti database
    • [root@xxx root]# mysql cacti < /var/www/html/cacti/cacti.sql

  • create MySQL user for cacti
    • [root@xxx root]# mysql --user=root mysql
    • mysql> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'somepassword';
    • mysql> flush privileges;
    • mysql> exit

  • edit /var/www/html/cacti/include/config.php and change
       $database_default = "cacti";
       $database_hostname = "localhost";
       $database_username = "cactiuser";
       $database_password = "somepassword";

  • set the proper permissions for the cacti user
    • [root@xxx root]# cd /var/www/html/cacti
    • [root@xxx root]# chown -R cactiuser rra/ log/

  • TODO: crontab

  • remember to start WWW server and MySQL
    • [root@xxx root]# /etc/init.d/httpd start
    • [root@xxx root]# /etc/init.d/mysqld start

TODO:

  • use data from all sources to produce combined graph

-- BartlomiejZolnierkiewicz - 10 Jun 2005

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r4 - 2020-08-31 - TWikiAdminUser
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox/SandboxArchive All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback