Install Plugin Architecture+plugins Monitor dan Weathermaps di CACTI 0.8.7b(++Pict)

Update lagi, yiiihaaa..finally i’m wordpress-ing again! setelah selama 4 tahun 3 bulan atau setara dengan 2,5 kali waktu rotasi bulan (tsaahh) terlempar dari dunia wordpress ahirnya sya kembali menulis, kembali menulis hal ga penting tapi mudah-mudahan sarat makna dan gizi yang diperlukan tubuh. klau ada yang bertanya2 (itu juga klau ada ya…) kemana sya selama ini?sya jawab: this unnecessary-jobs pushed me over, these laptops totally killed my times and my chances to develop!

Ok kita mulei :

  1. donlot dulu plugin-architecture nya, trus simpen di direktori /home/enkgih/temp *misalnya*
  2. . ekstrak paket yg udah di donlot tadi #tar -zxvf cacti-plugin-arch.tar.gz
  3. sudah di ekstrak?klau udah bakalan muncul folder yg namanya cacti-plugin-arch,disitu ada beberapa file.nah yang bakal dipake filenya yaitu cacti-plugin-0.8.7b-PA-v2.1.diff dan pa.sql
  4. sekarang import  database yg pa.sql ke dalam database cacti kita #mysql -u cacti cacti < pa.sql -p –>masukin pass buat mysql-nya juga yaks
  5. setelah import berhasil,sekarang giliran nge-patch cacti yg kita punya. klau belum punya install dulu #apt-get install patch
  6. masuk ke direktori cacti kita,misal di /var/www/cacti.trus jalanin perintah ini #patch -p1 -N < /home/enkgih/temp/cacti-plugin-arch/cacti-plugin-0.8.7b-PA-v2.1.diff –>inget,kita harus berada di direktori CACTI,SEKALI LAGI:DI DIREKTORI CACTI,INGET TUH! (INI MATIIN CAPSLOCKNYA GMNA??)
  7. ini hasilnya klau udah berhasil di patch:      patching file auth_changepassword.php
    patching file auth_login.php
    patching file data_sources.php
    patching file graph_image.php
    patching file graph.php
    patching file graphs_new.php
    patching file graphs.php
    patching file host.php
    patching file include/auth.php
    patching file include/bottom_footer.php
    patching file include/global_arrays.php
    patching file include/global_constants.php
    Hunk #1 succeeded at 175 with fuzz 1.
    patching file include/global_form.php
    patching file include/global.php
    patching file include/global_settings.php
    patching file include/plugins.php
    patching file include/top_graph_header.php
    patching file include/top_header.php
    patching file index.php
    patching file lib/api_device.php
    patching file lib/auth.php
    patching file lib/functions.php
    patching file lib/html_form.php
    patching file lib/html.php
    patching file lib/plugins.php
    patching file lib/poller.php
    patching file lib/rrd.php
    patching file lib/variables.php
    patching file plugins/index.php
    patching file plugins.php
    patching file poller.php
    patching file user_admin.php
    patching file utilities.php
  8. trus edit file #vim /var/www/cacti/include/global.php .ini yg perlu dirubah $config['url_path'] = ‘/cacti/’;
  9. ok tahap pembangunan plugin architecture sukses dengan indah,sekarang lanjut ke penginstalan plugin monitor.seperti biasa donlot dulu paketnya.simpen di direktori /home/enkgih/temp
  10. ekstrak dah tu paket, nanti dia ngebrojolin direktori yg namanya /monitor.pindahin direktori ntu ke direktori CACTI kita #mv /home/enkgih/temp/monitor /var/www/cacti/plugins
  11. edit file global.php #vim /var/www/cacti/include/global.php. trus masukin baris ini : $plugins = array();
    //$plugins[] = ‘thold’;
    $plugins[] = ‘monitor’;
    /* Do not edit this line */
    $config = array();
  12. setelah dipindah login ke cacti kita pake admin,trus masuk menu user management->admin. tajong pilihan view monitoring,beres dah
  13. ok next kita bakal bahas tentang plugins weathermaps. kaya yg udah2, kita harus donlot dulu paketnya.simpen di direktori kesayangan anda, lalu ekstrak pake perintah unzip karena sang file ber-ekstensi .zip # unzip php-weathermap-0.96.zip
  14. walhasil setelah di ekstrak akan menelurkan direktori /weathermap. pindahin lagi direktori itu ke direktori cacti. #mv /home/enkgih/temp/weathermap /var/www/cacti/plugins
  15. setelah direktori /weathermap kita pindah dengan penuh birahi,sekarang buka dan edit lagi file global.php. #vim /var/www/cacti/include/global.php. di atas kita kan udah nambahin plugin monitor,sekarang kita tambahin yg weathermap: $plugins = array();
    //$plugins[] = ‘thold’;
    $plugins[] = ‘monitor’;
    $plugins[] = ‘weathermap’;

    /* Do not edit this line */
    $config = array();
  16. dan sampelah kita ditahap ahir, buka http://ip-server/cacti trus login pake admin.masuk ke user management->admin. tajong lagi dah yg bagian weathermap
  17. oke selesai,ucapkan Alhamdulillah dan baca surat al-Baqoroh. di post ini baru dibuat 2 device yaitu backbone ISP  yang menghubungkan bandung dan jakarta.ini cuma contoh aja lho, selamat mengembangkan sendiri

Advertisement
    • imamrahadian
    • February 8th, 2010

    lieur no maca na… :D

      • enkgih
      • March 5th, 2010

      lieur beulah mana jul?emang tujuanna nyieun batur lieur
      haha

    • ivan oktobrian
    • June 21st, 2010

    very nice gan… gw udah nginstall WM .. mangstab..
    tapi cara kerjanya gimana?
    jalaninnya gimana yah..

    tolong pencerahanya gan..lieur euy :D

      • enkgih
      • July 9th, 2010

      nah itu dia masalahnya gan, sya udah sampe tahap konfigurasi device nya, tapi blum sempet running karena kepepet kerjaan :D

      klau agan ivan udah bisa di share disini, hehehe

      makasih ye gan udah komeng di blog ane

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.