Homework_SA
Teacher’s name: TITH Seth
Student’s name:
SOUN Marina
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”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