Network Management & Monitoring Introduction to SNMP



Similar documents
Network Monitoring & Management Introduction to SNMP

Network Management & Monitoring Introduction to SNMP

SNMP and Network Management

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

This watermark does not appear in the registered version - SNMP and OpenNMS. Part 1 SNMP.

SIMPLE NETWORK MANAGEMENT PROTOCOL (SNMP)

Simple Network Management Protocol

SNMP Simple Network Management Protocol

Network Operations and Network Management

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

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

System and Network Management

SNMP. Simple Network Management Protocol

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

TELE 301 Network Management

Network Management (NETW-1001)

SNMP Basics BUPT/QMUL

White Paper Case Study:

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

Configuring CitectSCADA SNMP projects with MIB2CIT. A reference for CitectSCADA Customers

Simple Network Management Protocol

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

Simple Network Management Protocol

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

Cisco CMTS Router MIB Overview

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

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

Brocade Product Training

Network Monitoring with SNMP

Simple Network Management Protocol

A Guide to Understanding SNMP

Outline of the SNMP Framework

THE SNMP PROTOCOL THE SNMP REQUEST MIB SATELLAR 2DS/20DS SIMPLE NETWORK MANAGEMENT PROTOCOL SATELLAR MANAGEMENT WITH SNMP GET AND SET SMART RADIO

Dell OpenManage SNMP Reference Guide Version 8.0.1

SolarWinds Technical Reference

TECHNICAL NOTES. Technical Notes P/N REV A01. EMC ITOI VoIP Management Suite 8.1. May, 2012

Monitoring disk stats with Cacti

SNMP Agent Plug-In Help Kepware Technologies

INTRODUCTION TO SNMP AND MIB

Integrating PATROL with SNMP

Simple Network Management Protocol

TTM 4128 Network and Service Management ( Learning Objectives Specification

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

Network monitoring with simple network monitoring protocol in optical feeder network

Network Monitoring with SNMP

Using SNMP for Remote Measurement and Automation

Network Management Tools for Tactical Network Testing and Monitoring on Test Ranges

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

Simple Network Management Protocol SNMP

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

SNMP Diagnostics. Albert Kagarmanov, Matthias Clausen (DESY)

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

Using SNMP to Obtain Port Counter Statistics During Live Migration of a Virtual Machine. Ronny L. Bull Project Writeup For: CS644 Clarkson University

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

Network Management. What is network management?

Simple Network Management Protocol (SNMP) Primer

SNMP. Overview. LabTech

An Overview of SNMP on the IMG

Simulation of an SNMP Agent: Operations, Analysis and Results

Utilizing SNMP Capabilities of EMC Disk Library

SNMP Protocol for Easy Network Management

SNMP Network Management Concepts

Subnetting and Network Management Omer F. Rana. Networks and Data Communications 1

R07. IV B.Tech. II Semester Regular Examinations, April, NETWORK MANAGEMENT SYSTEMS (Information Technology)

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

Introduction to Simple Network Management Protocol (SNMP)

Chapter 38 Simple Network Management Protocol (SNMP)

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

How To Monitor A Network With Snmp (Network Monitoring)

Chapter 9 Network Management

IBM FileNet Image Services

PA160: Net-Centric Computing II. Network Management

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

MONITORING EMC GREENPLUM DCA WITH NAGIOS

Jean Parrend 1/6 SNMP. Content. 1. Introduction...1

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

Vanguard Applications Ware Basic Protocols. SNMP/MIB Management

TEIN2 Measurement and Monitoring Workshop Passive Measurements.

Creating Cacti FortiGate SNMP Graphs

Using SNMP with Content Gateway (not V-Series)

Management, Logging and Troubleshooting

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

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

Configuring Simple Network Management Protocol (SNMP)

Chapter 9 Network Management

Chapter 8 Network Management. Chapter 8 outline. What is network management? Chapter 8: Network Management

Alternatives to SNMP and Challenges in Management Protocols. Communication Systems Seminar Talk 10 Francesco Luminati

What is it? SNMP. Agenda. Four Basic Elements

Monitoring Oracle WebLogic Server with SNMP 12c (12.2.1)

securitymodel who securityname com2sec secname ipsource community default group groupname model secname v1 v2c usm

Network Management Basics

Configuring SNMP and using the NetFlow MIB to Monitor NetFlow Data

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

MANAGING NETWORK COMPONENTS USING SNMP

Vital Security Web Appliances NG-1100/NG-5100/NG How to Use Simple Network Management Protocol (SNMP) Monitoring

Transcription:

Network Management & Monitoring Introduction to SNMP These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (http://creativecommons.org/licenses/by-nc/3.0/)

Overview What is SNMP? OIDs MIBs Polling and querying Traps SNMPv3 (Optional)

What is SNMP? SNMP Simple Network Management Protocol Industry standard, hundreds of tools exist to exploit it Present on any decent network equipment Query response based: GET / SET GET is mostly used for monitoring Tree hierarchy Query for Object Identifiers (OIDs) Concept of MIBs (Management Information Base) Standard and vendor-specific (Enterprise)

What is SNMP? UDP protocol, port 161 Different versions V1 (1988) RFC1155, RFC1156, RFC1157 Original specification v2 RFC1901... RFC1908 + RFC2578 Extends v1, new data types, better retrieval methods (GETBULK) Used is version v2c (without security model) v3 RFC3411... RFC3418 (w/security) Typically we use SNMPv2 (v2c)

What is SNMP? Terminology: Manager (the monitoring client ) Agent (running on the equipment/server)

What is SNMP? Typical queries Bytes In/Out on an interface, errors CPU load Uptime Temperature or other vendor specific OIDs For hosts (servers or workstations) Disk space Installed software Running processes... Windows and UNIX have SNMP agents

How does it work? Basic commands GET (manager -> agent) Query for a value GET-NEXT (manager -> agent) Get next value (list of values for a table) GET-RESPONSE (agent -> manager) Response to GET/SET, or error SET (manager -> agent) Set a value, or perform action TRAP (agent -> manager) Spontaneous notification from equipment (line down,

The MIB Tree root ccitt(0) iso(1) joint-iso-ccitt(3) org(3) dod(6) 1.3.6.1 internet(1) directory(1) mgmt(2) experimental(3) private(4) mib-2(1) enterprises(1) host(25) system(1) snmp(11) cisco(9) hrdevice hrstorage hrsystem interfaces(2) ip(4)

The MIB Tree root ccitt(0) iso(1) joint-iso-ccitt(3) org(3) ciscomgmt(9) dod(6) internet(1) 1.3.6.1 ciscoenvmonmib(13) ciscoenvmonobjects(1) directory(1) mgmt(2) experimental(3) private(4) ciscoenvmontemperaturestatustable(3) mib-2(1) enterprises(1) ciscoenvmontemperaturestatusentry(1) system(1) snmp(11) cisco(9) ciscoenvmontemperaturestatusvalue(3) interfaces(2) ip(4)...

If E-mail addresses were OIDs... user@nsrc.org would have been something like: user@nsrc.enterprises.private.internet.dod.org.iso user@99999.1.4.1.6.3.1 except that we write the top-most part at the left: 1.3.6.1.4.1.99999.117.115.101.114 An OID is just a unique key (within one managed device) for one piece of information Ensures vendors don't have conflicting OIDs

The Internet MIB directory(1) mgmt(2) experimental(3) private(4) security(5) snmpv2(6) OSI directory RFC standard objects Internet experiments Vendor-specific Security SNMP internal

OIDs and MIBs Navigate tree downwards OIDs separated by '.' 1.3.6.1.4.1.9.... OID corresponds to a label.1.3.6.1.2.1.1.5 => sysname The complete path:.iso.org.dod.internet.mgmt.mib-2.system.sysname How do we convert from OIDs to Labels (and vice versa?) Use of MIBs files!

MIBs MIBs are files defining the objects that can be queried, including: Object name Object description Data type (integer, text, list) MIBS are structured text, using ASN.1 Standard MIBs include: MIB-II (RFC1213) a group of sub-mibs HOST-RESOURCES-MIB (RFC2790)

MIBs - SAMPLE sysuptime OBJECT-TYPE SYNTAX TimeTicks ACCESS read-only STATUS mandatory DESCRIPTION "The time (in hundredths of a second) since the network management portion of the system was last re-initialized." ::= { system 3 } sysuptime OBJECT-TYPE This defines the object called sysuptime. SYNTAX TimeTicks This object is of the type TimeTicks. Object types are specified in the SMI we mentioned a moment ago. ACCESS read-only This object can only be read via SNMP (i.e., get-request); it cannot be changed (i.e., set-request). STATUS mandatory This object must be implemented in any SNMP agent. DESCRIPTION A description of the object ::= { system 3 } The sysuptime object is the third branch off of the system object group tree.

MIBs - 2 MIBs also make it possible to interpret a returned value from an agent For example, the status for a fan could be 1,2,3,4,5,6 what does it mean?

MIBs - SAMPLE CiscoEnvMonState ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "Represents the state of a device being monitored. Valid values are: normal(1): warning(2): critical(3): shutdown(4): notpresent(5): the environment is good, such as low temperature. the environment is bad, such as temperature above normal operation range but not too high. the environment is very bad, such as temperature much higher than normal operation limit. the environment is the worst, the system should be shutdown immediately. the environmental monitor is not present, such as temperature sensors do not exist. notfunctioning(6): the environmental monitor does not function properly, such as a temperature sensor generates a abnormal data like 1000 C.

Querying SNMP agent Some typical commands for querying: snmpget snmpwalk snmpstatus snmptable Syntax: snmpxxx -c community -v1 host [oid] snmpxxx -c community -v2c host [oid]

Querying SNMP agent Let's take an example snmpstatus -c NetManage -v2c 10.10.0.254 snmpget -c NetManage -v2c 10.10.0.254.iso.org.dod.internet.mgmt.mib- 2.interfaces.ifNumber.0 snmpwalk -c NetManage -v2c 10.10.0.254 ifdescr

Querying SNMP agent Community: A security string (password) to define whether the querying manager will have RO (read only) or RW (read write) access This is the simplest form of authentication in SNMP OID A value, for example,.1.3.6.1.2.1.1.5.0, or it's name equivalent.iso.org.dod.internet.mgmt.mib-2.system.sysname.0 Let's ask for the system's name (using the OID above) Why the.0? What do you notice?

Coming up in our exercises... Using snmpwalk, snmpget Configuring SNMPD Loading MIBs

References Essential SNMP (O Reilly Books) Douglas Mauro, Kevin Schmi Basic SNMP at Cisco http://www.cisco.com/warp/public/535/3.html http://www.cisco.com/univercd/cc/td/doc/cisintwk/ito_doc/snmp.htm Wikipedia: http://en.wikipedia.org/wiki/simple_network_management_protocol IP Monitor MIB Browser http://support.ipmonitor.com/mibs_byoidtree.aspx Cisco MIB browser: http://tools.cisco.com/support/snmp/do/browseoid.do Open Source Java MIB Browser http://www.kill-9.org/mbrowse http://www.dwipal.com/mibbrowser.htm (Java) SNMP Link collection of SNMP resources http://www.snmplink.org/ Net-SNMP Open Source SNMP tools http://net-snmp.sourceforge.net/ Integration with Nagios http://www.cisl.ucar.edu/nets/tools/nagios/snmp-traps.html