MRTG: Basic Traffic Measurement AfNOG / Rabat 2008.05.30 Mark Tinka Michuki Mwangi.

Slides:



Advertisements
Similar presentations
Easily retrieve data from the Baan database
Advertisements

Buffers & Spoolers J L Martin Think about it… All I/O is relatively slow. For most of us, input by typing is painfully slow. From the CPUs point.
Hamilton Venus Software User Interface Options
DMZ (De-Militarized Zone)
Static Routing Exercise AFNOG 2003/ Track 2 # 1 Static Routing Exercise u Unix network interface configuration u Cisco network interface configuration.
ONYX RIP Version Technical Training General. Overview General Messaging and What’s New in X10 High Level Print and Cut & Profiling Overviews In Depth.
MCS-Connect Intro to Connect Connection and Setup Display Menus Graphics Uses in troubleshooting Overview.
Multi Router Traffic Grapher (MRTG) นายดรัสวิน วงศ์ปรเมษฐ์ สาขาวิชาเทคโนโลยีสารสนเทศ คณะวิทยาศาสตร์ มรภ. บร.
Cisco 3 - Switch Perrine. J Page 15/8/2015 Chapter 8 What happens to the member ports of a VLAN when the VLAN is deleted? 1.They become inactive. 2.They.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
I/O Hardware n Incredible variety of I/O devices n Common concepts: – Port – connection point to the computer – Bus (daisy chain or shared direct access)
TCP/IP Tools Lesson 5. Objectives Skills/ConceptsObjective Domain Description Objective Domain Number Using basic TCP/IP commands Understanding TCP/IP3.6.
Cisco Confidential 1 © 2011 Cisco and/or its affiliates. All rights reserved.
Experiences in Analyzing Network Traffic Shou-Chuan Lai National Tsing Hua University Computer and Communication Center Nov. 20, 2003.
Laser Printers on Ratex Alan Carson
02/25/11 Connected Vehicle Design Review Southwest Research Institute 1.
NetFilter – IPtables Firewall –Series of rules to govern what Kind of access to allow on your system –Packet filtering –Drop or Accept packets NAT –Network.
Simple Mail Transfer Protocol (SMTP)
1 Managing Printers (Week 12, Monday 3/26/2007) © Abdou Illia, Spring 2007.
Comm Operator Tutorial How to send the same data at fixed interval time automatically Serial Port Tool
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.
POSTECH DP&NM Lab. Internet Traffic Monitoring and Analysis: Methods and Applications (1) 4. Active Monitoring Techniques.
Border Data Warehouse. Vancouver, BC Bellingham, WA The Cascade Gateway.
AANTS: Web-Based Tools for Cooperative Campus Network Administration Charles Thomas Dave Plonka AANTS Administration Team Division of Info. Tech. (DoIT)
NFSEN: How is My Network Being Used (Apps)? AfNOG / Rabat Mark Tinka Michuki Mwangi.
Graphing and statistics with Cacti AfNOG 11, Kigali/Rwanda.
1 ADVANCED MICROSOFT POWERPOINT Lesson 9 – Importing and Exporting Information Microsoft Office 2003: Advanced.
Static Routing Exercise
APRICOT 2010 Kuala Lumpur, Malaysia
Multi Router Traffic Grapher 陳伯岡. Outline What is MRTG Why MRTG How MRTG work Start you own MRTG Reference Exercise & Homework.
Static Routing Exercise Mark Tinka & Isatou Jah. What will the exercise involve?  Unix network interface configuration  Cisco network interface configuration.
How to use mrtg to monitor traffic on your wireless and wired network a bella mia company.
MCS-Connect Revision - 12/22/2015.
Scaling Dovecot using Mysql and Virtual Users AfNOG 2013 Scalable Internet Services (SS-E) Lusaka, Zambia Presented by Michuki Mwangi.
1 6: Web Based Management. 2 Web Technology 3 HTTP Get Request.
verifone HQtm Estate Management Solution
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
FileZilla An open-source success story. Mark Swelstad – Itec400, Winter 2007.
MRTG / RRDTool Network Management Workshop intERlab at AIT Thailand March 11-15, 2008.
Chapter 4: server services. The Complete Guide to Linux System Administration2 Objectives Configure network interfaces using command- line and graphical.
Using CVUSD Print Center Desktop Printer Chino Valley Unified School District.
1 Major Printer Administration Tasks Managing printers Managing documents Troubleshooting printers Performing tasks requiring the Manage Printers permission.
'08 Rabat Smokeping & Cacti Network Monitoring & Management Tutorial June 1, 2008 – AfNOG 2008 Hervey Allen.
Instructor Materials Chapter 6: Network Layer
Module 12: I/O Systems I/O hardware Application I/O Interface
Network Management Workshop
AT Commands Supports AT commands
195E Serial Interface SECTION 9 - Serial Interface.
MRTG / RRDTool Network Management Workshop June 2009
Switch Commands Exec Commands Switch#? exec Commands
Easily retrieve data from the Baan database
Objectives Differentiate between the different editions of Windows Server 2003 Explain Windows Server 2003 network models and server roles Identify concepts.
Admin 2.
Network Monitoring & Management Tutorial
NIC Chile Secondary DNS Service History and Evolution
Log management AfNOG 2008 Rabat, Morocco.
IST 202 Chapter 4.
How to use mrtg to monitor traffic on your wireless and wired network
Based on work by DoIT Network Services, UW-Madison
Cover page.
MCS-Connect Change all frames to windows
Hardware Appliance Installation and Configuration
Exporting and Importing
Operating System Concepts
13: I/O Systems I/O hardwared Application I/O Interface
CS703 - Advanced Operating Systems
Time Gathering Systems Secure Data Collection for IBM System i Server
Wireshark(Ethereal).
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
Module 12: I/O Systems I/O hardwared Application I/O Interface
Presentation transcript:

MRTG: Basic Traffic Measurement AfNOG / Rabat Mark Tinka Michuki Mwangi

AfNOG NFSEN 2 My Border Links

AfNOG NFSEN 3 Measure Hosts by Using Switch

AfNOG NFSEN 4 Some Internals & a Service Not an Interface This is a Service The Exim Spool

AfNOG NFSEN 5 How Did we do This?

AfNOG NFSEN 6 MRTG Config File # cat /usr/local/etc/mrtg/mrtg.cfg WorkDir: /usr/local/www/share/rg WriteExpires: Yes #RunAsDaemon: Yes Interval: 5 Options[_]: growright, bits, unknaszero Timezone[_]: GMT WithPeak[_]: wmy

AfNOG NFSEN 7 Target[psg1.1]: RouterUptime[psg1.1]: MaxBytes[psg1.1]: Title[psg1.1]: 0.1 psg1 sprint transit serial PageTop[psg1.1]: [psg1.1] psg1 sprint transit System: psg1 - Juniper M5 Maintainer: Randy Bush Interface: t1-0/1/2.0 IP: Max Speed: 155Mb/sec (OC3c) One Devices Config

AfNOG NFSEN 8 Target[psg.e]: `ssh -i $MRTGmrtg-scr do-exim-mrtg` Options[psg.e]: growright, unknaszero, gauge MaxBytes[psg.e]: Title[psg.e]: psg.psg.com mail queue PageTop[psg.e]: [psg.e] psg.psg.com mail queue System: psg.psg.com - Exim Maintainer: Randy Bush Application: Exim MTA Input: spool Kb/10 Ouput: messages Custom Measure, Not an Interface

AfNOG NFSEN 9 psg.com:/usr/local/bin# cat do-exim-mrtg #!/bin/sh # input = size of spool # /bin/expr \ `/usr/bin/du -s /var/spool/exim/input \ | /usr/bin/awk '{print $1}'` / 10 # output = number of messages in queue # /usr/local/sbin/exim -bpc # pseudo-uptime # /bin/ps -auxww \ | /usr/bin/grep exim \ | /usr/bin/head -1 \ | /usr/bin/awk '{print $9}' echo

AfNOG NFSEN 10 How to Get Config Data Automatically ! MRTG comes with a program to fetch data from SNMP-speaker and produce layout ready for /usr/local/etc/mrtg/mrtg.cfg #

AfNOG NFSEN 11 Target[switch1_1]: SetEnv[switch1_1]: IP=" " DESCR="Ethert-Port-on-unit-1,-port:1" MaxBytes[switch1_1]: Title[switch1_1]: Traffic Analysis for 1 -- PageTop[switch1_1]: Traffic Analysis for 1 -- System: in Westin 18-C2 - Seattle WA US Maintainer: Randy Bush Description: EtherNet-Port-on-unit-1,-port:1 ifType: ethernetCsmacd (6) ifName: Port1 Max Speed: MBytes/s Ip: (switch1.psg.com)

AfNOG NFSEN 12 Making the Web Page You have mrtg.cfg You have MRTG running every 5 mins You want to make the web page # indexmaker mrtg.cfg > \ /usr/local/www/data/mrtg.html And that’s it!