Tuesday, April 9, 2013

Configure Cacti on suse


 How to install Cacti in SuSE 11
I.   Install service:
èApache2
·      Apache2
·      Apache2-mod_php5
·      Apache2-utils
·      Apache2-example-pages
·      Apache2 –prefox
       èPHP5
·         Php5
·         Php5-mysql
·         Php5-snmp
·         Php5-mod
·         Php5-dom
·         Php5-iconv
·         Php5-pdo
·         Php5-xmlwirter
·         Php5-xmlreader
·         Php5-posix
·         Php5-ctype
·         Php5-json
·         Php5-socket

è MySQL
·         Mysql
·         Php5-mysql
·         Mysql-client
·         Rrdtool
      èSNMP
·         Net-snmp
·         Perl-net-snmp
·         Perl-snmp

II.  Configure and install Cacti
èPackage cacti and run package –php5-socket

èExtract file “cacti-0.8.8a.tar.gz” to path /srv/www/htdocs and rename cacti-0.8.8a to cacti
èCreate group & user cacti with password
èRestart serice mysql
èConfigure user root to access to mysql database
èCreate database for “cacti” and set privileges cacti database to “cactiuser”
èDump cacti database
èEdit file in path “/srv/www/htdocs/cacti/include/config.php” to change database_password to”cactiuser” to “123”
èSet permission for “rra” and “log”
èMake cron schedule with “crontab -e”
èRestart service:
èAccess to webpage: http://192.168.10.82/cacti

èNext to install
èNext

èlog in user admin and password admin
èChange password “admin” to “123”
èResults cacti

III.    Add host on windows XP
è Install service snmp:
Control penal è add or remove program
    
     èRUNèservices.msc
    



    
èStart add host on webpage
    
èEnable host

èAdd graph
èResults


IV.  Add host on windows server 2008

èInstall service snmp


èRunèservices.msc
















èStart add host

èAdd graph






è Results





The end



No comments:

Post a Comment