Hidup Mandiri Jati Diri Muslim Sejati

December 24, 2007

Cara Menginstall Cacti Dengan Plugins

Filed under: Linux Open Source

Ok langsung ajach… pertama-tama luw harus install cactinya dulu dunkz…

Nach untuk cara menginstall cacti luw bisa liat disini.

http://invaleed.wordpress.com/2007/01/17/howto-install-cacti-di-centos-44/

 

Ok sekarang giliran cara menginstall plugins nya broo….

Nach kebetulan cacti yg gw pakek versi

cacti-0.8.6h-1.0.rh9.rf.i386.rpm

OK sebelum luw install plugins ada baiknya dulu luw copy folder cacti di /var/www/html/cacti untuk jaga” klo installasi plugins luw ntar gagal hehehhehe

Luw copy dengan :

# cd /var/www/html

# cp -R cacti/ /var/www/

OK setelah Luw copy bru qta mulai….

Pertama-tama luw harus download dulu file pluginsnya…

http://cactiusers.org/downloads/patches/

Nach setelah luw download luw copy file cacti-plugin-arch.zip ke document root atau kemana lah terserah luw hehhehehehe….

Nach setelah itu luw extract dengan

# unzip cacti-plugin-arch.zip

Nach kan tuh ada folder files-0.8.6j coz gw makek yang itu sich jd gw posting di sini bwat makek yg itu hehehehhe…

OK sekarang luw copy file di folder files-0.8.6j ke /var/www/html/cacti

# cp files-0.8.6j/* /var/www/html/cacti/

Jika ada alert overwride yes saja karena itu untuk menginstall plugins nya…

Gw makek yang copy file untuk lebih gampang hehehehehhe….

Nach kemudian jgn lupa untuk edit di bagian include/config.php

# cd /var/www/html/cacti

# vi include/config.php

nach kemudian edit pada baris yang ini

$config[’url_path’] = ‘/cacti/’;

Jika url anda nanti http://servername/cacti maka luw edit seperti di atas. Jadi mis url cacti luw http://servername/monitoring/cacti berarti anda harus mengedit menjadi $config[’url_path’] = ‘/monitoring/cacti/’;

OK paham kan…. nach bis gtooo luw download plugins category cacti di

http://cactiusers.org/downloads/

Nach di sini gw kasih contoh plugins yang monitor, klo sudah luw download luw copy di /root/ taw dmn terserah hehehe…..

Setelah luw download luw extract tuh file,

# mkdir monitor

# mv monitor.zip /monitor

# unzip monitor.zip

# rm -rf monitor.zip

Setelah itu luw copy folder monitor

# cp -R monitor /var/www/html/cacti/plugins/

OK setelah itu tinggal luw edit di cacti

# cd /var/www/html/cacti

# vi include/config.php

Nach luw tinggal menambahkan

$plugins[] = ‘monitor’;

Akan tetapi cek dulu $plugins = array(); sudah ada ataw belum kalau sudah ada berarti luw tinggal nambahin yang $plugins[] = ‘monitor’; tadi.

OK sekarang tinggal buka kembali url cacti luw..

http://servername/cacti

Nach nanti di situ akan muncul tab plugins monitor yang sudah luw install…

null

sekian dulu dari coret-coretan gw nech…

Good Luck…..

Comments »

The URI to TrackBack this entry is: http://fahru.blogsome.com/2007/12/24/cacti-on-centos/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.






















robtex