snmp network tracker project
TRANSCRIPT
Network Tracker and Poller
Submitted by
Aljo Joseph
Hridya V
Shibin S
Praveen Mathews
What are we talking about?
SNMP(Simple Network Management Protocol)
Why we chose Python
Network Tracker and Pollers
S.N.M.P
S N M P
Simply ....Simple Network Management Protocol
Where did it come from ?
– Internet Engineering Task Force(IETF) »Network Management Area
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
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
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
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
Syntax
Defined Data Types
IpAddress what you expect
Counter non-negative integer
TimeTicks time in hundredths of seconds
SNMP TREE
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
SNMP
The SNMP protocol itself
– allows inspection and alteration of MIB variables
UDP Based
– not acknowledged transactions
PUT, GET, GET-NEXT operators
WHY WE USED PYTHON
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
What is it used for?
web scripting
ad hoc networking programming
XML parsing
database applications
GUI applications
Network Tracker and Poller
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)
Language Overview
• Language used is Core Python
• Designer Used
Qt Designer and PyQt
• Modules of Python used cmdgen from rfc3413.oneliner
QtGui from PyQt4
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
Output
• System Description
System Name , System Uptime,
• Interface
No of interfaces , List and Status of Interfaces
• Ip Configurations
Ip forwarding status , Error status
Thanking You