Showing posts with label cacti. Show all posts
Showing posts with label cacti. Show all posts

Wednesday, August 30, 2017

Ubiquiti AirOS 5 6 Cacti Templates

Ubiquiti AirOS 5 6 Cacti Templates



After many requests and much procrastination, here are the templates for AirOS 5.6 for Cacti.

You will now be able to graph individual client connection details directly from the AP!

Graphs Available:
Access Point / Client Direct Polling:
  • CPU
  • Combined Link Details
  • Uptime
  • Interface Traffic
  • Air Rate
  • Signal
  • Airmax
  • Air Rate
Connected Client Graphs:
  • Combined Link Details
  • Airmax
  • Traffic
  • Signal
  • Air Rate
AP Only
  • Station Count
Installation:

Download from DropBox

Remember to put the following files into /cacti/resource/snmp_queries

AirOS5.6-AP.xml
AirOS5.6-CPE.xml

Combined Link Details: AP / Client / Client on AP

Station Count: AP Only

Interface Traffic: AP / Client / Client on AP

Airmax: AP / Client / Client on AP

Air Rate: AP / Client / Client on AP

CPU Usage: AP / Client

Signal: AP / Client / Client on AP

Uptime: AP / Client



download file now

Read more »

Monday, August 28, 2017

Ubiquiti Airos 5 6 CPE on Cacti

Ubiquiti Airos 5 6 CPE on Cacti


PLEASE NOTE THAT THERE IS A NEW VERSION AT:
http://www.binaryheartbeat.net/2015/08/ubiquiti-airos-56-cacti-templates.html

Ubiquiti has created a new MIB definition to go with the new version of AirOS.  I made myself some new templates to monitor 5.6 version AirOS devices, I will try to update the templates when the 5.6 goes final.

I am working with Cacti version 0.8.7i since that is the current version available to apt-get install on Ubuntu 12.04.

Client Signal - Polled From AP

AP CPU Uage

AP Station Count

AP Uptime

Client Connection Details - Polled from AP

Client Connection Details - Polled from Client





The new AirOs version allows you to graph the stats of clients connected to an AirOS AP by polling the AP itself. If you need any additional data on the graphs, or have any suggestions on how I can improve the graphs, let me know so that I can update them.

Remember to put AirOS5_6.xml and AirOS5_6_AP.xml in your /cacti/resource/snmp_queries/ directory.
You can import the host templates through the Cacti web interface.

The AirOS5_6_AP.xml specifically allows you to graph details from AP connected clients by polling the AP. Please note that currently there is still one problem, the station list returns the station names in HEX. I still have to figure out how to change that.

A note on client traffic:
At this point in time version 5.6-beta3.21929 does not seem to actually post the traffic to the snmp agent.
Client traffic, whether polled from the client itself, or the AP, will be graphed from the perspective of the client once Ubiquiti fixes the bug.

Download Version 0.1 from DropBox




download file now

Read more »

Wednesday, August 9, 2017

Tutorial Install Cacti di Ubuntu Server Untuk Kebutuhan Monitoring Trafik Client

Tutorial Install Cacti di Ubuntu Server Untuk Kebutuhan Monitoring Trafik Client


Cacti adalah aplikasi open source yang yang merupakan solusi pembuatan grafik network yang lengkap yang didesign untuk memanfaatkan kemampuan fungsi RRDTool sebagai peyimpanan data dan pembuatan grafik. Cacti menyediakan pengumpulan data yang cepat, pola grafik advanced, metoda perolehan multiple data, dan fitur pengelolaan user. Semuanya dikemas secara intuitif, sebuah interface yang mudah digunakan mudah dipahami untuk jaringan LAN hingga jaringan yang kompleks dengan ratusan perangkat.
Cacti menyimpan semua data/informasi yang diperlukan untuk membuat grafik dan mengumpulkannya dengan database MySQL. Untuk menjalankan cacti diperlukan software pendukung seperti :

  • MySQL 

  • PHP 

  • RRDTool 

  • Net-SNMP

  • Apache atau IIS (Webserver yang support PHP)

Perlu diketahui, pada tutorial kali ini saya menggunakan Ubuntu 14.04 sebagai OS Media instalasinya. Berikut langkah-langkah proses instalasi Cacti di Ubuntu Server 14.04 :
## Install Apache, Mysql, dan PHP 
$ sudo apt-get install apache2 mysql-server php5 libapache2-mod-php5
 
## Install RRDtools
$ sudo apt-get install rrdtools
 
## Install SNMP dan SNMPD  
$ sudo apt-get install snmp snmpd
 
## Instalasi dan Konfigurasi Cacti
$ sudo apt-get install cacti
Configuring libphp-adodb <ok>  
Web Server apache2
Configure database for cacti <ok>
Password of the database administrative user isipasswordrootmysqlanda

## Konfigurasi selesai,selanjutnya restart pada servise SNMP
$ sudo /etc/init.d/snmpd restart
Copy - Paste di Terminal
Selanjutnya buka browser dan ketikan http://ipaddress/cacti atau http://domain.com/cacti , Maka akan muncul halaman seperti dibawah dan lanjutkan (Next)





User Admin inilah yang memiliki wewenang tinggi dalam mengkonfigursi cacti, bahkan untuk membuat user lain yang biasa dilakukan ISP untuk tiap customernya. Setelah berhasil maka akan muncul halaman untuk konfigurasi pembuatan device, graph, dll. Disinilah proses konfigurasi server cacti dilakukan.


Cara Konfigurasi Cacti :
  • Menambahkan Device :
Untuk menambahkan device yang ingin di monitoring langkah pertama yang harus kita lakukan adalah :

1.      Pada Tab Device, pilih �add� pada link atas kanan.

2.      Lalu pada form Device (new), sesuaikan dengan device yang ingin di monitoring.

3.      Setelah semua lengkap di isi maka klik saja tombol create. 

  • Cara menampilkan grafik monitor dari device :

1.       Pada halaman utama Cacti, pilihlah menu Create Graph for your new device
    1. Lalu pilih Graph Templates yang ingin anda tampilkan. Pilih apa saja yang ingin anda monitor (misal Aktifitas CPU : CPU Usage, Load Average, dan Memory usage, aktifitas interface (eth0 mengenai Total bandwidth) maupun penggunaan ruang HDD). Saya memilih yang In/Out Bytes with Total Bandwidth untuk mengamati inbound dan outbond dari Total Bandwidth pada ethernet saya.

      3.      Jika sudah lengkap maka, klik tombol create.

      Contoh Hasil Monitoring :
      Terlihat semua interface yang digunakan didalam router kampus serta grafik IN/OUT Bytes total Bandwidth dari tiap interface yang telah kita pilih untuk dimonitoring sebelumnya. Berikut beberapa tampilan grafik yang saya peroleh setelah beberapa jam.

    Graph diatas dapat dibaca sebagai berikut :



    Inbound/traffic masuk

    1. pada pukul 15.10 an adalah 105.29 kbps (sekarang)

    2. rata-rata traffic masuk selama kurun 1 jam ini adalah 236.87 kbps

    3. traffic masuk tertinggi yang pernah terjadi dalam kurun 24 jam terakhir adalah 1.89 Mbps

    outbond/traffic keluar

    1. pada pukul 15.10 an traffic keluarnya adalah 962.41 kbps (sekarang)

    2. rata-rata traffic keluar selama kurun 1 jam ini adalah 952.24kbps
    3. traffic keluar tertinggi yang pernah terjadi dalam kurun 1 jam terakhir adalah 1.56 Mbps

    Source/Reference :
    - http://www.cacti.net/



    BACA JUGA : ARTIKEL TENTANG SETTING MIKROTIK DIBAWAH INI :
    1. Tutorial Setting Mikrotik dari Awal/Dasar Sampai Terkoneksi Dengan Internet
    2. Tutorial Upgrade RouterOS Mikrotik ke Versi Terbaru
    3. Tutorial Setting Hotspot Mikrotik
    4. Setting Mikrotik Sebagai Bandwitdh Limiter Jaringan Internet
    5. Tutorial Manajemen Bandwitdh Sama Rata Secara Otomatis Dengan Metode PCQ Mikrotik
    6. Tutorial Cara Meremote Winbox Mikrotik Dari Luar Jaringan
    7. Cara Mengalihkan Pelanggan Hotspot Mikrotik Yang Expired Ke Halaman Isolir
    8. Cara Menghapus (Delete) Log Mikrotik dari Terminal
    9. Tutorial Memisahkan Bandwitdh Lokal (iix) dan Internasional (ix) di Mikrotik
    10. Menghubungkan Kantor Pusat dengan Kantor Cabang dengan EOIP Mikrotik [VPN]

    ARTIKEL MIKROTIK : KUMPULAN TUTORIAL SETTING MIKROTIK LANJUT


    download file now

    Read more »