This watermark does not appear in the registered version - http://www.clicktoconvert.com. SNMP and OpenNMS. Part 1 SNMP.



Similar documents
Simple Network Management Protocol

Network Management & Monitoring Introduction to SNMP

Network Monitoring & Management Introduction to SNMP

Simple Network Management Protocol

SNMP Simple Network Management Protocol

Hit the Ground Running with SNMP LISA 2006, Washington, DC Doug Hughes

Network Management. Jaakko Kotimäki. Department of Computer Science Aalto University, School of Science. 21. maaliskuuta 2016

TELE 301 Network Management

Network Management & Monitoring Introduction to SNMP

SNMP Basics BUPT/QMUL

White Paper Case Study:

SNMP and Network Management

Simple Network Management Protocol (SNMP) Primer

SNMP. Simple Network Management Protocol

Demystifying SNMP. TruePath Technologies Inc 10/5/2015 2:11:14 PM Version 1.db. p.1

Outline of the SNMP Framework

SIMPLE NETWORK MANAGEMENT PROTOCOL (SNMP)

Simple Network Management Protocol

Simple Network Management Protocol (SNMP) Amar J. Desai Graduate Student University of Southern California Computer Science

Network Management. New York Institute of Technology CSCI 690 Michael Hutt

TÓPICOS AVANÇADOS EM REDES ADVANCED TOPICS IN NETWORKS

Simple Network Management Protocol

Simple Network Management Protocol - SNMP v1, ASN, MIB, BER. Network Management

SNMP Diagnostics. Albert Kagarmanov, Matthias Clausen (DESY)

May PZ-0502A-WWEN Prepared by: Internet & E-Commerce Solutions

Configuring SNMP Cisco and/or its affiliates. All rights reserved. 1

Simulation of an SNMP Agent: Operations, Analysis and Results

How To Monitor A Network With Snmp (Network Monitoring)

CRMS SNMP Software Overview

Configurable device discovery. Belgrade University Computer Centre, Serbia

TTM 4128 Network and Service Management ( Learning Objectives Specification

White Paper. Quo Vadis, SNMP? White Paper Part 2: Putting SNMP into practice

Remote Management. Vyatta System. REFERENCE GUIDE SSH Telnet Web GUI Access SNMP VYATTA, INC.

Brocade Product Training

QStar SNMP installation, configuration and testing. Contents. Introduction. Change History

CS615 - Aspects of System Administration

SNMP Agent Plug-In Help Kepware Technologies

SNMP Extensions for a Self Healing Network

Utilizing SNMP Capabilities of EMC Disk Library

INDEX. KretchmarBook 2003/9/5 10:27 page 231 #243

A Guide to Understanding SNMP

This configuration guide describes the installation process of SNMP on Windows and Linux with the NetBorder Express Gateway.

SNMP COMMAND SNMP SNMP [HELP] [COMMUNITY SYSCONTACT SYSLOCATION SYSNAME SYSOBJECID/OID TRAPS LIST]

Configuring Simple Network Management Protocol (SNMP)

INTERNET MANAGEMENT PROTOCOLS TUTORIAL STOCKHOLM, SWEDEN 29 OCTOBER 1999 AIKO PRAS UNIVERSITY OF TWENTE THE NETHERLANDS

RemoteControl SNMP. APPolo Remote Control SNMP User Guide. User Guide. Revision: 1.1 Last Updated: June 2014 Support Contact:

SNMP....Simple Network Management Protocol...

Network Monitoring. Dhruba Raj Bhandari (CCNA) Manager Systems Soaltee Crowne Plaza Kathmandu NEPAL

WLAN TRAFFIC GRAPHING APPLICATION USING SIMPLE NETWORK MANAGEMENT PROTOCOL *

Network Monitoring. By: Delbert Thompson Network & Network Security Supervisor Basin Electric Power Cooperative

Using SNMP with Content Gateway (not V-Series)

Table of Contents. Overview...2. System Requirements...3. Hardware...3. Software...3. Loading and Unloading MIB's...3. Settings...

S /3133 Networking Technology, laboratory course A/B

SNMP -overview. Based on: W.Stallings Data and Computer Communications

SolarWinds Technical Reference

Simple Network Management Protocol

An Overview of SNMP on the IMG

Network Monitoring Using SNMP

Helsinki University of Technology Department of Electrical and Communications Engineering Networking Laboratory

The ABCs of SNMP. Info Sheet. The ABC of SNMP INTRODUCTION. SNMP Versions

This Lecture. NWEN 403 Advanced Network Engineering. Network Management. Outline. Network management. Qiang Fu

Simple Network Management Protocol

Configuring SNMP and using the NetFlow MIB to Monitor NetFlow Data

Performance evaluation of a network infrastructure monitored with SNMP polls and traps

SNMP JManager: An Open Source Didactic Application for Teaching and Learning SNMP v1/2c/3 with Support for IPv4 and IPv6

Simple Network Management Protocol SNMP

Intel Simple Network Management Protocol (SNMP) Subagent v6.0

Cisco CMTS Router MIB Overview

Note: Most of the information in this chapter is taken from [1], and accompanying slides that are Mani Subramanian 2000

ireasoning SNMP API User Guide

SNMP SNMP Overview CHAPTER

TEIN2 Measurement and Monitoring Workshop Passive Measurements.

Vanguard Applications Ware Basic Protocols. SNMP/MIB Management

SNMP Network Management Concepts

Avaya Aura Communication Manager SNMP Renewal Quick Reference Guide

Monitoring disk stats with Cacti

Simple Network Management Protocol

How To Name A Snip On Linux (M500) On A Usb Modem Or Ipa (M5) On An Ipa Or Ipb (M50) On Linux On A Microsoft M500 Modem On A 2C Or Ip

PLANEAMENTO E GESTÃO DE REDES INFORMÁTICAS COMPUTER NETWORKS PLANNING AND MANAGEMENT

OpenScape Voice V7 Volume 3: SNMP Interface and MIB Description. Interface Manual A31003-H8070-T

How to simulate network devices using the Verax SNMP Simulator (Linux/Windows)

Newton Linux User Group Graphing SNMP with Cacti and RRDtool

How To Understand Network Performance Monitoring And Performance Monitoring Tools

QoS: CBQoS Management Policy-to- Interface Mapping Support Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 1000)

Chapter 38 Simple Network Management Protocol (SNMP)

Introduction Network Management Framework Structure of Management Information Names Instances Syntax...

Security in Network Management

Monitoring Cisco IOS Firewall Inspection Activity with Multi- Router Traffic Grapher (MRTG)

Dell OpenManage SNMP Reference Guide Version 8.0.1

Active Management Services

A Brief Introduction to Internet Network Management and SNMP. Geoff Huston NTW Track 4

Introduction to Simple Network Management Protocol (SNMP)

ITEC310 Computer Networks II

Technical Notes P/N Rev 01

Know the signs of potential problems. Prevent problems before they occur. This unit contains the following three lessons:

網 路 品 質 管 理 工 具 The Dude 簡 介

School of Information Technology and Engineering (SITE) CEG 4395: Computer Network Management

Table of Contents Index Reviews Examples Reader Reviews Errata Essential SNMP By Douglas Mauro, Kevin Schmidt

SNMP Peach Pit Data Sheet

SNMP Protocol for Easy Network Management

Transcription:

SNMP and OpenNMS Part 1 SNMP Zeev Halevi

Introduction Designed in 1987 by Internet Engineering Task Force (IETF) to send and receive management and status information across networks Most widely used network management protocol on IP networks Designed to be simple, easy to implement and consume minimal processor and network resources.

Overview Request/response protocol, management information moves between "SNMP managers" and "SNMP agents" Information defined by a set of managed objects: "Management Information Base" (MIB). Network Management Station (NMS) applicatiob collects status, configuration, and performance information from "Network Elements" with "SNMP agents" Example: HP openview on a server (NMS) collects performance information from a Crisco router (agent) SNMP Versions 1, 2c, 3

NMS-Agent example

Use UDP Faster than TCP, no need to initiate connection before sending data. Minimal use of network bandwidth: no resend, no polling of destination address Less reliable

SNMP Commands Operation PDU Comment Flow Get GetRequest Contains the values of the requested object instances. M->A GetResponse Retrieves a variable on an SNMP agent. A->M Set SetRequest Sets a variable on an SNMP agent. M->A GetResponse Contains the error status of SetRequest. A->M Trap Trap Signals the occurrence of an unexpected event. A->M Getnext GetNextRequest Retrieves object instances. M->A GetResponse Contains the values of object instances. M->A get-bulk (SNMPv2 and SNMPv3)

"Structure of Management Information" SMI The name - object identifier(oid), uniquely defines a managed object. The type - defined using Abstract Syntax Notation One(ASN.1) : INTEGER, "OCTET STRING", TimeTicks etc.

The MIB tree Online SNMP Object Navigator from Cisco http://tools.cisco.com/support/snmp/do/browseoid.do?local=en&substep=2&translate=translate&tree=no

MIB Variables Scalar - an object with a single representation Tabular - an object with multiple representations depending on "index"

A closer look on one variable Name: wmtschassisdescr Object IDentifier / OID: 1.3.6.1.4.1.3066.2.2.2.1.1.1.1.1 Full path: iso(1).org(3).dod(6).internet(1).private(4).enterprises(1).vyyo(30 66).vyyoProduct(2).bwaWmtsDocsis(2).wmts21(2).wmtsMIB(1).wmts MibObjects(1).wmtsComponents(1).wmtsChassis(1).wmtsChassisDes cr(1) Base syntax: Max access: Description: OCTET STRING read-only A textual description of the chassis.

MIB-II (RFC 1213) Subtree Name system OID 1.3.6.1.2.1.1 interfaces 1.3.6.1.2.1.2... Description Defines a list of objects that pertain to system operation, such as the system uptime, system contact, and system name. Keeps track of the status of each interface on a managed entity. The interfaces group monitors which interfaces are up or down and tracks such things as octets sent and received, errors and discards, etc. See example: RFC1213-MIB.txt

SNMP Walk Start at the root and walk down walk_example.txt

SNMP Set Change the value of one or more variables Requires Set Community Configuring devices using SNMP is hard Complex device configuration is typically done using CLI or configuration files Emerging IETF standard for configuration uses Web-Services NETCONF http://www.ops.ietf.org/netconf/

Traps / Notifications Initiated by the agent (Network Element) Unusually to port 162 Example: Name: wmtswmuregistrationcomplete Type: NOTIFICATION-TYPE OID: 1.3.6.1.4.1.3066.2.2.2.1.2.0.31 Module: VYYO-WMTS21-30-MIB Objects: 1: traptext 2: docsifcmtscmstatusindex 3: docsifcmtscmstatusmacaddress 4: docsifcmtscmstatusipaddress Description: WMU registration successfully completed.

NET-SNMP Used to be UCD SNMP Included in most Linux distributions snmpget snmpwalk snmpset More: http://www.net-snmp.org/

NET-SNMP snmpget, snmpset [root@nmslinux zeev]# snmpget -v 1 -c zzzzzzzzz 10.200.1.100 system.syscontact.0 SNMPv2-MIB::sysContact.0 = STRING: Sys Admin [root@nmslinux zeev]# snmpset -v 1 -c zzzzzzzzz 10.200.1.100 system.syscontact.0 s "Zeev Home" SNMPv2-MIB::sysContact.0 = STRING: Zeev Home [root@nmslinux zeev]# snmpget -v 1 -c zzzzzzzzz 10.200.1.100 system.syscontact.0 SNMPv2-MIB::sysContact.0 = STRING: Zeev Home

NET-SNMP snmpwalk [root@nmslinux zeev]# snmpwalk -v 1 -c zzzzzzzzz 10.200.1.100 1.3.6.1.2.1.10.127.1.3.3.1 SNMPv2-SMI::transmission.127.1.3.3.1.2.1 = Hex-STRING: 00 10 3D 12 7D FA SNMPv2-SMI::transmission.127.1.3.3.1.3.1 = IpAddress: 0.0.0.0 SNMPv2-SMI::transmission.127.1.3.3.1.4.1 = INTEGER: 2 SNMPv2-SMI::transmission.127.1.3.3.1.5.1 = INTEGER: 34 SNMPv2-SMI::transmission.127.1.3.3.1.6.1 = INTEGER: 0 SNMPv2-SMI::transmission.127.1.3.3.1.7.1 = Gauge32: 0 SNMPv2-SMI::transmission.127.1.3.3.1.8.1 = "" SNMPv2-SMI::transmission.127.1.3.3.1.9.1 = INTEGER: 4

snmpd Steps (RedHat) 1. Create /etc/snmp/snmpd.conf using snmpconf rwuser zeev rwcommunity zeev disk / 1000 agentaddress 161 syscontact Zeev Halevi 2. service snmpd restart

Example: Monitor disk usage [root@nmslinux snmp]# snmptable -v 1 -c zeev localhost hrstoragetable SNMP table: HOST-RESOURCES-MIB::hrStorageTable hrstorageindex hrstoragetype hrstoragedescr hrstoragesize hrstorageused 1 HOST-RESOURCES-TYPES::hrStorageFixedDisk / 4747707 1497931 2 HOST-RESOURCES-TYPES::hrStorageFixedDisk /proc/bus/usb 0 0 3 HOST-RESOURCES-TYPES::hrStorageFixedDisk /boot 101089 9380 4 HOST-RESOURCES-TYPES::hrStorageFixedDisk /dev/pts 0 0 5 HOST-RESOURCES-TYPES::hrStorageFixedDisk /dev/shm 64241 0 101 HOST-RESOURCES-TYPES::hrStorageRam Real Memory 513932 396632 102 HOST-RESOURCES-TYPES::hrStorageVirtualMemory Swap Space 522104 0 103 HOST-RESOURCES-TYPES::hrStorageOther Memory Buffers??

MRTG "Multi Router Traffic Grapher" (MRTG) - monitor traffic load on network-links. MRTG generates trend-analysis HTML pages with live visual representation of this traffic. Using Perl, GNU license. http://people.ee.ethz.ch/~oetiker/webtools/mrtg/ Example: mrtg_example.htm Interface types are defined in MIB-II (RFV 1213)

RRDTool From MRTG a new project was born: RRDTool, a tool that maintains "round robin databases" (RRDs) for time-series data. example 1 wheather monitoring Example 2 laptop monitoring http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/

Other tools MIB Browser: tkmib from NET-SNMP libsmi, an open source MIB parser library: http://www.ibr.cs.tu-bs.de/projects/libsmi/

Security considerations SNMPv1 and SNMPv2 use "communities SNMPv3 added cryptographic security Vulnerabilities in Many Implementations of SNMP: http://www.cert.org/advisories/ca-2002-03.html

Other Service Monitoring tools Nagios: host, service and network monitoring http://www.nagios.org/ Sysmon - service monitoring http://www.sysmon.org/

Measurement/Monitoring tools lists CAIDA Measurement and Analysis Tools http://www.caida.org/tools/measurement/ Network Monitoring Tools http://www.slac.stanford.edu/xorg/nmtf/nmt f-tools.html Historical review: Evolution of Open Source SNMP Tools sane-2002.pdf

Standards Apparently SNMP is not so simple see the list of related RFCs snmp_rfc.txt