snmp network tracker project

21
Network Tracker and Poller Submitted by Aljo Joseph Hridya V Shibin S Praveen Mathews

Upload: praveen-mathews

Post on 04-Jul-2015

2.054 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: SNMP Network Tracker Project

Network Tracker and Poller

Submitted by

Aljo Joseph

Hridya V

Shibin S

Praveen Mathews

Page 2: SNMP Network Tracker Project

What are we talking about?

SNMP(Simple Network Management Protocol)

Why we chose Python

Network Tracker and Pollers

Page 3: SNMP Network Tracker Project

S.N.M.P

Page 4: SNMP Network Tracker Project

S N M P

Simply ....Simple Network Management Protocol

Where did it come from ?

– Internet Engineering Task Force(IETF) »Network Management Area

Page 5: SNMP Network Tracker Project

What is it ?

more than just a protocol …

It defines an architecture for extracting information from the network regarding the current operational state of the network,using a vendor-independent family of mechanisms

Page 6: SNMP Network Tracker Project

Structure of Management Information (SMI)

identifies and defines structure of management information

– RFC1155 defines

– commonly defined data item

– syntax of the data type

– semantics of the data object

Page 7: SNMP Network Tracker Project

Version

Two major versions SNMPv1, SNMPv2

SNMPv1 is the recommended standard

SNMPv2 has become split into:

SNMPv2u - SNMPv2 with user-based security

SNMPv2* - SNMPv2 with user-based security and additional features

SNMPv2c - SNMPv2 without security

Page 8: SNMP Network Tracker Project

Syntax uses ASN.1 (Abstract Syntax Notation)

– binary encoding

02 01 06is a 1 byte integer, value 6 Primitive Types

INTEGER, OCTECT STRING, OBJECT IDENTIFIER, NULL

Page 9: SNMP Network Tracker Project

Syntax

Defined Data Types

IpAddress what you expect

Counter non-negative integer

TimeTicks time in hundredths of seconds

Page 10: SNMP Network Tracker Project

SNMP TREE

Page 11: SNMP Network Tracker Project

MIB

Management Information Base (MIB)

– "database"of network objects

– Groups » System, Interfaces,IP, TCP,

– "Access" and "Status" attributes

– actual variables are "instances" of OIDs

eg .1.3.6.1.2.1.1.1.0 sysDescr.0

Page 12: SNMP Network Tracker Project

SNMP

The SNMP protocol itself

– allows inspection and alteration of MIB variables

UDP Based

– not acknowledged transactions

PUT, GET, GET-NEXT operators

Page 13: SNMP Network Tracker Project

WHY WE USED PYTHON

Page 14: SNMP Network Tracker Project

Productivity!

Reduced development timecode is 2-10x shorter than C, C++, Java

Improved program maintenancecode is extremely readable

Less training language is very easy to learn

Page 15: SNMP Network Tracker Project

What is it used for?

web scripting

ad hoc networking programming

XML parsing

database applications

GUI applications

Page 16: SNMP Network Tracker Project

Network Tracker and Poller

Page 17: SNMP Network Tracker Project

Working Details• Configure snmp agent in each node

• Then enable snmp and snmpd in every node

• Query snmp agent to get required details

• Response from each agent is sent to the manager(GUI)

Page 18: SNMP Network Tracker Project

Language Overview

• Language used is Core Python

• Designer Used

Qt Designer and PyQt

• Modules of Python used cmdgen from rfc3413.oneliner

QtGui from PyQt4

Page 19: SNMP Network Tracker Project

GUI Designer

• GUI Designer used is Qt 4 Designer

• Qt (Cute) is cpp based designer tool

GUI can be designed using Qt and it is then converted into any programming language

Here language is python and compiler used in pyuic

Page 20: SNMP Network Tracker Project

Output

• System Description

System Name , System Uptime,

• Interface

No of interfaces , List and Status of Interfaces

• Ip Configurations

Ip forwarding status , Error status

Page 21: SNMP Network Tracker Project

Thanking You