Thursday, November 10, 2016

Network Latency SmokePing Ubuntu 14 04

Network Latency SmokePing Ubuntu 14 04


ketoprakdjawir.- SmokePing adalah tools untuk memantau latency pada jaringan anda.
Berikut beberapa infonya dari Web Resmi SmokePing.

About SmokePing
SmokePing keeps track of your network latency:
  • Best of breed latency visualisation.
  • Interactive graph explorer.
  • Wide range of latency measurment plugins.
  • Master/Slave System for distributed measurement.
  • Highly configurable alerting system.
  • Live Latency Charts with the most ‘interesting’ graphs.
  • Free and OpenSource Software written in Perl written by Tobi Oetiker, the creator of MRTG and RRDtool 
Untuk penginstallan nya dibawah ini.
  1. Masuk sebagai root.
    $ sudo su
  2. Lakukan penginstallan SmokePing nya.
    # apt-get install smokeping apache2 sendmail
  3. Pindah directory ke /etc/apache2/conf-available
    # cd /etc/apache2/conf-available
  4. Lakukan simbolic atau buat link ke apache2
    # ln -s ../../smokeping/apache2.conf smokeping.conf
  5. Aktifkan config dan mod_cgi
    # a2enconf smokeping
    # a2enmod cgid
  6. Reload apache2
    # service apache2 reload
  7. Pindah directory ke /etc/smokeping/config.d/
    # cd /etc/smokeping/config.d
  8. Modif File General. Backup, Kosongkan file General, kemudian isi file General.
    # cp General General.backup
    # > General
    nano General
  9. Isikan dan sesuaikan dengan kondisi anda saat ini.
     *** General ***

    owner = Rendra Risdiantanto
    contact = rendra.mvi170@gmail.com
    mailhost = smtp.gmail.com
    cgiurl = http://localhost/cgi-bin/smokeping.cgi
    syslogfacility = local0

    @include /etc/smokeping/config.d/pathnames
  10. Modif File Alerts. Backup, Kosongkan file Alerts, kemudian isi file Alerts.
    # cp Alerts Alerts.backup
    #> Alerts
    #nano Alerts
  11. Isikan dan sesuaikan dengan kondisi anda saat ini.
     *** Alerts ***
    to = rendra.mvi170@gmail.com
    from = rendra.mvi170@gmail.com

    +someloss
    type = loss
    # in percent
    pattern = >0%,*12*,>0%,*12*,>0%
    comment = loss 3 times in a row
  12. Modif File Pathnames. Backup, Kosongkan file Pathnames, kemudian isi file Pathnames.
    # cp pathnames pathnames.backup
    # > pathnames
    # nano pathnames
  13. Isikan dan sesuaikan dengan kondisi anda saat ini.
    sendmail = /bin/false
    imgcache = /var/cache/smokeping/images
    imgurl = ../smokeping/images
    datadir = /var/lib/smokeping
    piddir = /var/run/smokeping
    smokemail = /etc/smokeping/smokemail
    tmail = /etc/smokeping/tmail
  14. Modif File Targets. Backup, Kosongkan file Targets, kemudian isi file Targets.
    # cp Targets Targets.backup
    # > Targets
    # nano Targets
  15. Isikan dan sesuaikan dengan kondisi anda saat ini.
     *** Targets ***

    probe = FPing

    menu = Top
    title = Pantauan Grafik Latency

    #remark = Selamat Datang di smokeping Latency

    + Ketoprak-Djawir
    menu = Ketoprak Djawir
    title = Network Ketoprak Djawir

    ++ Router-Core
    menu = Router Core
    title = Router Core (RB2011UiAS-2HnD)
    host = 192.168.3.1
    #alerts = someloss

    ++ Modem-ADSL-Speedy
    menu = Modem ADSL
    title = Modem ADSL (Speedy)
    host = 192.168.2.1
    #alerts = someloss

    ++ Link-Backup
    menu = Link Backup
    title = Link Backup (Speedy)
    host = 192.168.1.254
    #alerts = someloss

    ++ Server-Proxy
    menu = Server Proxy
    title = Server Proxy (Ubuntu 14.04 LTS)
    host = 192.168.3.2
    #alerts = someloss
  16. Reload SmokePing dan Apachenya.
    # service smokeping restart
    # service apache2 reload
  17. Buka SmokePing di browser client
    http://ip-server/cgi-bin/smokeping.cgi

    Available link for download