Installasi dan Konfigurasi Smokeping di FreeBSD 7

Pendahuluan Tulisan ini dibuat karena udah beberapa kali harus install smokeping tapi selalu ada kelewat satu step. NGOX!! Smokeping apaan t...

Pendahuluan
Tulisan ini dibuat karena udah beberapa kali harus install smokeping tapi selalu ada kelewat satu step. NGOX!!
Smokeping apaan tuch?? Kata deskripsinya: SmokePing is a latency logging and graphing system. It consists of a daemon process which organizes the latency measurements and a CGI which presents the graphs.
Kelebihan yang kerasa:
  1. Ga perlu adanya snmp2-an kaya cacti ato mrtg.
  2. Basednya pake ping jadi ngitungnya berdasarkan time bukan penggunaan bandwidth (orang awam bakalan lebih paham).
  3. Bisa dipake senjata ke ISP yg suka nyangkal kalo koneksi kita pernah putus.
Mari kita lanjutkan ke step selanjutnya:
Installasi
1. Install apache20
# /usr/ports/www/apache20/
# make install clean
2. Install smokepingnya
# /usr/ports/net-mgmt/smokeping
# make install clean
Jangan lupa centang fping ama echoping pada option, proses ini akan menginstall otomatis:
  • rrdtool
  • SpeedyCGI
  • fping
  • echoping
3. Asusmsi kalo di mesin sudah terinstall perl5.8
# cpan
cpan> install socket6
cpan> install Net::DNS
cpan> quit
Konfigurasi
1. Edit httpd.conf nya
# ee /usr/local/etc/apache2/httpd.conf
  • check apakah module speedycgi udah keload
LoadModule speedycgi_module   libexec/apache2/mod_speedycgi.so
kalo udah berarti dah aman.
  • aktifkan & Tambahin  .cgi pada AddHandler
AddHandler cgi-script .cgi
  • Tambahin smokeping.cgi pada DirectoryIndex
DirectoryIndex index.html index.php smokeping.cgi
2. Bikin file smokeping.conf di folder /usr/local/etc/apache2/Include
# ee /usr/local/etc/apache2/Include/smokeping.conf
isi filenya:
Alias /smokeping "/usr/local/smokeping/htdocs"

<Directory "/usr/local/smokeping/htdocs">
        Options ExecCGI
        Allow from all
</Directory>

Alias /smokeimg/ /usr/local/smokeping/htdocs/img/
Alias /cropper/ /usr/local/smokeping/htdocs/cropper/
3. Edit smoekping config.
# ee /usr/local/etc/smokeping/config
owner    = Kabayan
contact  = kabayan@indofreebsd.or.id
mailhost = localhost
sendmail = /usr/sbin/sendmail
# NOTE: do not put the Image Cache below cgi-bin
# since all files under cgi-bin will be executed ... this is not
# good for images.
imgcache = /usr/local/smokeping/htdocs/img
imgurl   = /smokeimg
datadir  = /var/smokeping
piddir  = /var/smokeping
cgiurl   = http://server-smokeping.com/smokeping/smokeping.cgi
smokemail = /usr/local/etc/smokeping/smokemail
tmail = /usr/local/etc/smokeping/tmail

*** Alerts ***
to = kabayan@indofreebsd.or.id
from = smokeping@server-smokeping.com

+ Indofreebsd
menu = Targets

++ indofreebsd

menu = indofreebsd
title = indofreebsd
host = www.indofreebsd.or.id
4. Jalankan apache ama smokepingnya
# /usr/local/etc/rc.d/apache2 forcestart
# /usr/local/etc/rc.d/smokeping forcestart
5. Pasang di rc.conf biar autorun
# ee /etc/rc.conf

apache2_enable="YES"
smokeping_enable="YES"
6. BERES

COMMENTS

Name

Application Support,19,database server,1,Desktop/XWindow,1,DNS Server,2,Email Server,3,Firewall,1,FTP Server,2,General,2,IPFilter,1,Kernel,2,Networking,8,Proxy Server,4,Security,6,Tips and Trick,5,Web Server,2,
ltr
item
IndoFreeBSD: Installasi dan Konfigurasi Smokeping di FreeBSD 7
Installasi dan Konfigurasi Smokeping di FreeBSD 7
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFrBCEGu3Gxe4u1w_L9NarmV1x-JS5F3B5sTHJlI_E1zqytCW2yInhsLx2xFlK9GaePbMWx-_bNm9oYkisUetoQXCwIz0SwIZ9Wbj86jcoqNpMqhOvdaQlKF74EZX6s9zUdEwBGKbexsKx/s1600/demo.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFrBCEGu3Gxe4u1w_L9NarmV1x-JS5F3B5sTHJlI_E1zqytCW2yInhsLx2xFlK9GaePbMWx-_bNm9oYkisUetoQXCwIz0SwIZ9Wbj86jcoqNpMqhOvdaQlKF74EZX6s9zUdEwBGKbexsKx/s72-c/demo.png
IndoFreeBSD
http://www.indofreebsd.or.id/2015/02/installasi-dan-konfigurasi-smokeping-di.html
http://www.indofreebsd.or.id/
http://www.indofreebsd.or.id/
http://www.indofreebsd.or.id/2015/02/installasi-dan-konfigurasi-smokeping-di.html
true
1901051463523757307
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content