Lukman Prihandika Blog's

Nrimo ing pandum, urip wis ono sing ngatur

Monitoring Latency Jitter with Smokeping

leave a comment »

Salah satu tool monitoring trafik yang lumayan menarik untuk di coba adalah smokeping. Aplikasi ini khusus di buat untuk mengamati paket loss, latency dan jitter. Berikut cara installasinya,

root@brokenz:~# aptitude install smokeping curl libauthen-radius-perl libnet-ldap-perl libnet-dns-perl libio-socket-ssl-perl libnet-telnet-perl libsocket6-perl libio-socket-inet6-perl apache2

Sedikit ubah settingan konfigurasi di /etc/smokeping/config.d/General

root@brokenz:~# vi /etc/smokeping/config.d/General

*** General ***

@include /etc/smokeping/config.d/pathnames

# Please edit this to suit your installation
owner    = Falko Timme
contact  = satriyaningjagat@gmail.com
cgiurl   = http://xxx.xx.xx.xx/cgi-bin/smokeping.cgi
mailhost = smtp.gmail.com
# specify this to get syslog logging
syslogfacility = local0
# each probe is now run in its own process
# disable this to revert to the old behaviour
# concurrentprobes = no

Setting configurasi email sent

root@brokenz:~# vi /etc/smokeping/config.d/Alerts

*** Alerts ***
to = satriyaningjagat@gmail.com
from = smokealert@busda.com
[…]

Ubah tampilan judul di menu home web dan tambahkan host yang ingin di probe

root@brokenz:~# vi /etc/smokeping/config.d/Targets

[…]
remark = Selamat datang di Smokeping kami
[…]

[…]
+ World

menu = World
title = World

++ Europe

menu = Europe
title =European Connectivity

+++ Germany

menu = Germany
title = German Connectivity
alerts = bigloss,someloss,startloss

++++ Heise

menu = Heise
title = Heise
host = http://www.heise.de

+++ UK

menu = United Kingdom
title = United Kingdom

++++ BBC

menu = BBC
title = BBC
host = bbc.co.uk

++ USA

menu = North America
title =North American Connectivity

+++ MIT

menu = MIT
title = Massachusetts Institute of Technology Webserver
host = web.mit.edu

Simpan dan lihat hasilnya di http://xxx.xx.xx.xx/cgi-bin/smokeping.cgi

Written by brokenz1

January 7, 2010 at 4:41 am

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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: