IGOS Nusantara dan MRTG: Perbedaan revisi
Baris 18: | Baris 18: | ||
# Configure basic Read-Only community string. | # Configure basic Read-Only community string. | ||
rocommunity myIGNserver | rocommunity myIGNserver | ||
− | + | ||
# Mapping from Community to Security. | # Mapping from Community to Security. | ||
com2sec myLoopNet localhost myIGNserver | com2sec myLoopNet localhost myIGNserver | ||
com2sec myExtNet 203.190.241.0/29 myIGNserver | com2sec myExtNet 203.190.241.0/29 myIGNserver | ||
com2sec myIntNet 192.168.0.0/255.255.255.0 myIGNserver | com2sec myIntNet 192.168.0.0/255.255.255.0 myIGNserver | ||
− | + | ||
# Mapping from Security Group to Security Name. | # Mapping from Security Group to Security Name. | ||
group myROGroup v1 myLoopNet | group myROGroup v1 myLoopNet | ||
group myROGroup v1 myExtNet | group myROGroup v1 myExtNet | ||
group myROGroup v1 myIntNet | group myROGroup v1 myIntNet | ||
− | + | ||
# Define the view. | # Define the view. | ||
view all-mibs included .1 80 | view all-mibs included .1 80 | ||
− | + | ||
# Grant Access From the Security Model to MIB View. | # Grant Access From the Security Model to MIB View. | ||
access myROGroup v1 noauth 0 all-mibs none none | access myROGroup v1 noauth 0 all-mibs none none | ||
+ | |||
+ | == Ujicoba == | ||
+ | |||
http://igos-nusantara.or.id/wiki/Skema_Jaringan | http://igos-nusantara.or.id/wiki/Skema_Jaringan |
Revisi per 28 April 2010 12.26
Multi Router Traffic Grapher (MRTG) adalah aplikasi untuk monitoring lalu lintas informasi SNMP dalam jaringan. Data monitoring disimpan dalam log lalu diolah dan ditampilkan dalam bentuk grafik. Grafik tersebut disajikan di dalam halaman web dan dapat diakses dari browser. MRTG bergantung terhadap web server, karena grafik ditampilkan melalui web server.
MRTG memakai SNMP. Perangkat dan layanan (service) yang didukung SNMP dapat ditampilkan grafiknya. Bila SNMP tidak berfungsi maka grafik juga tidak bisa ditampilkan oleh MRTG.
MRTG akan membuat grafik secara berkala per hari, per minggu, per bulan dan per tahun, sehingga akan memberi gambaran atas jaringan. MRTG hanya mengumpulkan data dan mengolah grafik, bukan untuk memberikan peringatan.
Skema Jaringan lihat:
203.190.241.0/29
Pasang
# yum install -y mrtg
Konfigurasi /etc/snmp/snmpd.conf
[bash]# cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.original [bash]# vi /etc/snmp/snmpd.conf # Configure basic Read-Only community string. rocommunity myIGNserver # Mapping from Community to Security. com2sec myLoopNet localhost myIGNserver com2sec myExtNet 203.190.241.0/29 myIGNserver com2sec myIntNet 192.168.0.0/255.255.255.0 myIGNserver # Mapping from Security Group to Security Name. group myROGroup v1 myLoopNet group myROGroup v1 myExtNet group myROGroup v1 myIntNet # Define the view. view all-mibs included .1 80 # Grant Access From the Security Model to MIB View. access myROGroup v1 noauth 0 all-mibs none none