Multi Router Traffic Grapher (MRTG) นายดรัสวิน วงศ์ปรเมษฐ์ สาขาวิชาเทคโนโลยีสารสนเทศ คณะวิทยาศาสตร์ มรภ. บร.

Slides:



Advertisements
Similar presentations
NAGIOS AND CACTI NETWORK MANAGEMENT AND MONITORING SYSTEMS.
Advertisements

18 Ottobre 2000 CNAFMichele Michelotto MRTG nasce per Monitoring di ROUTER Riesce a monitorare qualsiasi contatore SNMP Quindi anche la maggior parte degli.
SOM Sponsors: HARDWARE PERFORMANCE TESTING TOOLS (ORACLE DB) By: Casey Dyke (Macquarie Bank) Yury Velikanov (Pythian) & All of you.
Pakiti.
The Internet Unit Information Systems, Higher. The Internet HTML Two sets of notes.
File: ebusiness_ref.PPT 1 Yogi Schulz e-Business Projects High Performance Characteristics Reference Section 15 Copyright © 2002 by Corvelle Management.
Access Control Lists. Types Standard Extended Standard ACLs Use only the packets source address for comparison 1-99.
Bryan Heden Lead Solutions Provider
Network Performance Measurement
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: Monitoring the Network Connecting Networks.
Overview of network monitoring development at AMRES Slavko Gajin.
PCOWEB. pCOWEB pCOWeb 2 different add-on cards PCO1000WB0 - ETHERNET : BACnet Ethernet BACnet over IP SNMP v1, v2.c HTTP (web server) FTP, DHCP,...
OPC-Netlistener copyright© Sven Ilius somebytes.de copyright© Sven Ilius somebytes.de The Netlistener OPC-Server is a convenient network.
Agenda Web Application Web Page development WAMP
Web Technologies Using the Internet to publish data and applications.
DHCP -Ameeta and Haripriya -cmsc 691x. DHCP ► Dynamic Host Configuration Protocol ► It controls vital networking parameters of hosts with the help of.
Parallels Virtuozzo Containers Best Practices
SIEM Based Intrusion Detection Jim Beechey May 2010 GSEC, GCIA, GCIH, GCFA, GCWN twitter: jim_beechey.
Web Server Onno W. Purbo Web server.
Linux Squid Onno W. Purbo Contoh Cache / Proxy Oops Tinyproxy dns/
Back to the Future Performance Management in an Open Source World.
CSE 190: Internet E-Commerce Lecture 14: Operations.
Monitoring System Monitors Basics Monitor Types Alarms Actions RRD Charts Reports.
Simple Comparison By Akhyari Nasir. Intro  Network monitoring and measurement have become more and more important in a modern complicated network. 
Copyright Kenneth M. Chipps Ph.D. How to Use SNMP to Collect Network Data Last Update
Firewall and Proxy Server Director: Dr. Mort Anvari Name: Anan Chen Date: Summer 2000.
MRTG: Basic Traffic Measurement AfNOG / Rabat Mark Tinka Michuki Mwangi.
1.  TCP/IP network management model: 1. Management station 2. Management agent 3. „Management information base 4. Network management protocol 2.
Experiences in Analyzing Network Traffic Shou-Chuan Lai National Tsing Hua University Computer and Communication Center Nov. 20, 2003.
Management by Network Search
New SA Training Topic 9: Logging, Monitoring, and Performance  Logging  Windows – “Auditing”  Linux – syslog  Monitoring  MRTG  Big Brother  Performance.
Network Monitoring Tools. What are Network Monitoring Tools? Allows the administrator to know the health status of the network. It provides information.
NMS LAB4 WEB based SNMP monitoring with MRTG Basic SNMP config to router Allow SNMP only from server computer MRTG  Free  easy to use to monitor few.
MRTG Speaker: Yan-Shiang Wang Adviser: Quincy Wu Date: 2005/11/23.
DB server + PHPMyAdmin ดรัสวิน วงศ์ปรเมษฐ์ สาขาวิชาเทคโนโลยีสารสนเทศ คณะ วิทยาศาสตร์ มรภ. บร. 19/10/56.
SNMP. Monitoring Read (udp 162) Write (udp 162) Traps (udp161)
Chapter 19: Network Management Business Data Communications, 4e.
Network Monitoring Manage your business without blowing your budget. Learn how the Calhoun ISD utilizes free “Open Source” tools for real-time monitoring.
Linux Architecture Overview 1. Initialization Uboot – hardware init, loads kernel Kernel – remaining initialization, calls “init” Init – 1 st process,
Network Management Protocols and Applications Cliff Leach Mike Looney Danny Mar Monty Maughon.
NMS LAB1 ● Mikko Suomi LABS ● 4 –labs + one extra time to do missed labs ● 3 x 45 min ● Max 4 persons in a group ● RETURN LABS TO.
APRICOT 2010 Kuala Lumpur, Malaysia
Management Information Base for Version 2 of the Simple Network Management Protocol (MIB for SNMPv2)
Multi Router Traffic Grapher 陳伯岡. Outline What is MRTG Why MRTG How MRTG work Start you own MRTG Reference Exercise & Homework.
Multi-Domain Hosting Hosting multiple domains on one server using Apache John Beckett 1/16/2013.
How to use mrtg to monitor traffic on your wireless and wired network a bella mia company.
1 6: Web Based Management. 2 Web Technology 3 HTTP Get Request.
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
Spring 2000CS 4611 Router Construction Outline Switched Fabrics IP Routers Extensible (Active) Routers.
MRTG / RRDTool Network Management Workshop intERlab at AIT Thailand March 11-15, 2008.
Solaris containers (Zones) Server virtualization What zones are and how they are used in ECE/CIS at the University of Delaware Ben Miller.
The GrangeNet NOC Greg Wickham. Contents Goals Design Features Architecture Implementation Future Conclusion.
14. Network Management System (NMS)
Network Management Workshop
MRTG / RRDTool Network Management Workshop June 2009
Affinity Depending on the application and client requirements of your Network Load Balancing cluster, you can be required to select an Affinity setting.
Introduction A simplified interaction is shown on the next slide.
UNIX Introduction History Main Features UNIX Operating System
Chapter 6 Network Performance Measurement
Smokeping/Cacti/Munin
Author1 ( 1), Author2 ( 2), Author3 ( 3),… Affiliation
Network Monitoring & Management Tutorial
How to use mrtg to monitor traffic on your wireless and wired network
Network Management Tools Presentations
Directory-based Protocol
فصل پانزدهم فاز پياده سازي مونا بخارايي نيا
System & Network Administration (MCSA & RHCSA)
Linux Architecture Overview.
6. Compiling MIBs Objectives The Compiling Process Traverse MIB Tree
Module 3 Configuring a Router.
Presentation transcript:

Multi Router Traffic Grapher (MRTG) นายดรัสวิน วงศ์ปรเมษฐ์ สาขาวิชาเทคโนโลยีสารสนเทศ คณะวิทยาศาสตร์ มรภ. บร.

MRTG mrtg เพื่อการ monitor สถานะของ hardware ผ่าน Simple Network Management Protocol (snmp) ซึ่งการติดตั้งจำเป็นจะต้องเขียน script ขึ้นมาสำหรับการ monitor hardware นั้นๆ

Install MRTG # yum install mrtg net-snmp net-snmp-utils

Config SNMP /etc/snmp/snmpd.conf com2sec local /32 public com2sec local /24 public group MyROGroup v1 local group MyROGroup v2c local group MyROGroup usm local view all included.1 80 access MyROGroup "" any noauth exact all none none syslocation (MyLocation) syscontact

Config Web Server เปิดเอกสาร /etc/httpd/conf/httpd.conf เพิ่มข้อความด้านล่างลงไป DocumentRoot “/var/www/html/mrtg”

Make directory # mkdir /var/www/html/mrtg/cpu # mkdir /var/www/html/mrtg/mem # mkdir /var/www/html/mrtg/disk

Config NetworkMonitor Traffic /usr/bin/cfgmaker \ --output=/etc/mrtg/traffic.cfg \ --ifdesc=ip \ --ifref=descr \ --global "WorkDir: /var/www/html/mrtg/traffic" \ --global "Options[_]: bits,growright" \

/etc/mrtg/cpu.cfg WorkDir: /var/www/html/mrtg/cpu LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt + + RouterUptime[localhost.cpu]: MaxBytes[localhost.cpu]: 100 Title[localhost.cpu]: CPU Load PageTop[localhost.cpu]: Active CPU Load % Unscaled[localhost.cpu]: ymwd ShortLegend[localhost.cpu]: % YLegend[localhost.cpu]: CPU Utilization Legend1[localhost.cpu]: Active CPU in % (Load) Legend2[localhost.cpu]: Legend3[localhost.cpu]: Legend4[localhost.cpu]: LegendI[localhost.cpu]: Active LegendO[localhost.cpu]: Options[localhost.cpu]: growright,nopercent

/etc/mrtg/mem.cfg LoadMIBs: /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt PageTop[localhost.mem]: Free Memory WorkDir: /var/www/html/mrtg/mem Options[localhost.mem]: nopercent,growright,gauge,noinfo Title[localhost.mem]: Free Memory MaxBytes[localhost.mem]: kMG[localhost.mem]: k,M,G,T,P,X YLegend[localhost.mem]: bytes ShortLegend[localhost.mem]: bytes LegendI[localhost.mem]: Free Memory: LegendO[localhost.mem]: Legend1[localhost.mem]: Free memory, not including swap, in bytes

Make MRTG Config # env LANG=C /usr/bin/mrtg /etc/mrtg/cpu.cfg # env LANG=C /usr/bin/mrtg /etc/mrtg/mem.cfg # env LANG=C /usr/bin/mrtg /etc/mrtg/traffic.cfg

Make Index /usr/bin/indexmaker -- output=/var/www/html/mrtg/index.html \ --title="Power Under Control" \ --sort=name \ --enumerate \ /etc/mrtg/traffic.cfg \ /etc/mrtg/cpu.cfg \ /etc/mrtg/cpu-temp.cfg \ /etc/mrtg/mem.cfg \ /etc/mrtg/swap.cfg \

Schedule #crontab -e */3 * * * * /usr/bin/env LANG=C /usr/bin/mrtg /etc/mrtg/cpu.cfg */3 * * * * /usr/bin/env LANG=C /usr/bin/mrtg /etc/mrtg/mem.cfg */5 * * * * /usr/bin/env LANG=C /usr/bin/mrtg /etc/mrtg/traffic.cfg

Test

Q & A