Belajar Nagios

Os yang digunakan saat dokumentasi ini ditulis adalah ubuntu-server 8.04.
Menggunakan nagios v3.0.3.

Dokumen instalasi dapat diikuti dengan mudah (“kopi paste”) dari ubuntu quickstart.

Pada waktu kompile plugin, agar dapat plugin check-snmp, pastikan sudah menginstall paket snmp.

apt-get install snmp

Setelah selesai instalasi, anda bisa belajar membuat monitoring host dari contoh localhost.
Kopi paste isi localhost dan ganti ip monitoring.
Cek apakah ada masalah, bila tidak silakan restart service nagios.

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
/etc/init.d/nagios restart

Read more »

Gagal install perl via CPAN di ubuntu 7.10

# perl -MCPAN -e 'install IP::Country'
...
...
Checking if your kit is complete...
Looks good
Writing Makefile for IP::Country
-- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible

Masalah ini muncul ketika saya ingin mengintall model perl via CPAN di ubuntu 7.10.
Read more »

Compile spine 0.8.7b di debian

Error pada waktu kompile

cacti-spine-0.8.7a# ./configure
configure: error: cannot run /bin/sh config/config.sub

Setelah di investigasi di google, ternyata belum ada library libtool

apt-get install libtool

Setelah masalah libtool selesai, muncul lagi masalah berikutnya :d

$ ./configure
...
...
configure: error:

*** [Gentoo] sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.22, ltmain.sh = "1.5.22 Debian 1.5.22-4") ***

Please run:

  libtoolize --copy --force

Solusinya dari forum :
Read more »

Mikrotik: case hotspot stiki.ac.id

Kasus ini ditanyakan ke saya oleh mas Ronny Susetyo aka ballacksave, admin (ngaku-nya newbie) stiki.ac.id via YM

topologi-stiki.gif

Nah pertanyaan saya pada dasarx sama seperti dasep yaitu bgm client yg di bawah mikrotik
(dosen, sabarnet,hotspot) klo buka jaringan yg diatas mikrotik seperti webserver, mail dan webhosting (203.134.237.0/29) bisa nggak ke limit, tapi klo browsing ke internet tetep ke limit.
nb:
di mikrotikx saya pake /ip hotspot, untuk bagi2 bandwidthx……
mohon pencerahan…

Read more »

How to convert a MT box in an Anti Spam server with v2.9

Diambil dari http://forum.mikrotik.com/viewtopic.php?t=15721

Hi there, for months I have the idea how to transform one Mikrotik OS in an Anti Spam server. After more than 20 days applying few scripts, firewall rules and address list, I have achieved reduce from 45.000 mails per day to only 11.000/12.000 without many complaints from my customers.

Before continuing, some details about this:

Yes, I know that exists others solutions.
Yes, I know with Linux can obtain the same results.
Yes, I know that it seems a crazy solution.
Yes, I know (in the practice) that this solutions generate a moderate cpu usage. I have a Pentium IV with 75% of cpu usage (this can change with new features from MT… see scripts explanation) and we are a little ISP.
Yes, yes, yes…
but
I use MT from six years ago (when John Tully & Arnis Riekstins answered the company mails themselves) and always I try to resolve any networking necessity whit MT.
I had the trust that can resolve this whit MT.
and after thinking about this, I can’t never sleep all night from many days, so, for my health and wife I made it !!!

Read more »

Disconnecting the users with bad signal [2.9.X]

Diambil dari http://forum.mikrotik.com/viewtopic.php?f=9&t=20370

YOU WANT IT – YOU GOT IT 8)

Small manual:
Install – click system->scripts, click “+”, enter in the name whatevery you want (like signallimiter), click ok, done!

6z42kbr.jpg
Read more »