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



Similar documents
Network Management & Monitoring Introduction to SNMP

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

Network Management & Monitoring Introduction to SNMP

Network Monitoring & Management Introduction to SNMP

An Overview of SNMP on the IMG

White Paper Case Study:

How To Monitor A Network With Snmp (Network Monitoring)

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

SIMPLE NETWORK MANAGEMENT PROTOCOL (SNMP)

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

SNMP and Network Management

Simple Network Management Protocol

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

Monitoring disk stats with Cacti

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

CS615 - Aspects of System Administration

PANDORA FMS NETWORK DEVICES MONITORING

CRMS SNMP Software Overview

INTRODUCTION TO SNMP AND MIB

PANDORA FMS NETWORK DEVICE MONITORING

A Guide to Understanding SNMP

SNMP Simple Network Management Protocol

SNMP SECURITY A CLOSER LOOK JEFFERY E. HAMMONDS EAST CAROLINA UNIVERSITY ICTN 6865

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

SNMP Diagnostics. Albert Kagarmanov, Matthias Clausen (DESY)

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

Network Monitoring with SNMP

TELE 301 Network Management

SNMP. Simple Network Management Protocol

Network Monitoring with SNMP

How To Set Up Foglight Nms For A Proof Of Concept

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

Simple Network Management Protocol

A Dude probing SNMP! Building custom probes and configuring equipment using SNMP with The Dude. Andrea Coppini AIR Wireless - Malta andrea@air.com.

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

Cisco CMTS Router MIB Overview

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

SNMP Basics BUPT/QMUL

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

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

Outline of the SNMP Framework

MONITORING EMC GREENPLUM DCA WITH NAGIOS

Simple Network Management Protocol

Simple Network Management Protocol

TPAf KTl Pen source. System Monitoring. Zenoss Core 3.x Network and

Maintaining Non-Stop Services with Multi Layer Monitoring

SNMP. Overview. LabTech

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

Creating Cacti FortiGate SNMP Graphs

Network Management (NETW-1001)

Configuring SNMP and using the NetFlow MIB to Monitor NetFlow Data

SolarWinds Technical Reference

Using SNMP with Content Gateway (not V-Series)

SolarWinds Certified Professional. Exam Preparation Guide

mbits Network Operations Centrec

SNMP Informant. SNMP Informant, the default Microsoft SNMP extension agents and WMI January 2009

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

SNMP Adapter Installation and Configuration Guide

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

Running custom scripts which allow you to remotely and securely run a script you wrote on Windows, Mac, Linux, and Unix devices.

SNMP Test er Manual 2015 Paessler AG

MANAGING NETWORK COMPONENTS USING SNMP

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

Simulation of an SNMP Agent: Operations, Analysis and Results

Brocade Product Training

Network Monitoring Comparison

Deploying the BIG-IP LTM with the Cacti Open Source Network Monitoring System

Link Layer Discovery Protocol and MIB

Monitoring High Capacity Counters with WhatsUp Gold v11

Technical Notes P/N Rev 01

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

Avaya Aura Communication Manager SNMP Renewal Quick Reference Guide

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

TEIN2 Measurement and Monitoring Workshop Passive Measurements.

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

How To Manage A Network With Kepware

Management, Logging and Troubleshooting

SNMP Critical Resource Monitoring

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

Remote Network Monitoring Software for Managed Services Providers

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

Section 4: Interim Local Management Interface Specification

Install and configure the Net- SNMP agent for Windows

Network monitoring with simple network monitoring protocol in optical feeder network

NAS 271 ASUSTOR NAS MIB Guide

Assignment One. ITN534 Network Management. Title: Report on an Integrated Network Management Product (Solar winds 2001 Engineer s Edition)

WLAN TRAFFIC GRAPHING APPLICATION USING SIMPLE NETWORK MANAGEMENT PROTOCOL *

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

SNMP and MRTG Monitoring. SNMP and MRTG Monitoring. Introduction. Start. 1 de 9 07/06/ :33. Contents

How To Get Started With Whatsup Gold

A Brief. Introduction. of MG-SOFT s SNMP Network Management Products. Document Version 1.3, published in June, 2008

Simple Network Management Protocol SNMP

Have your JACE also monitor your Ethernet network

MRTG used for Basic Server Monitoring

What is it? SNMP. Agenda. Four Basic Elements

Transcription:

Demystifying SNMP p.1

Who is? US based, leading edge IT software and services company that specializes in in-house services for new or existing IT monitoring software. We offer software with an easy to use web based portal software that provides bandwidth and line quality monitoring and reporting. p.2

Speaker Bio Douglas R. Mauro Douglas Mauro is the Founder and Senior Engineer at TruePath Technologies Inc. with over 20 years of experience in enterprise data centers. He's an O'Reilly author of Amazon's #1 selling network management book "Essential SNMP" (now in it's second edition). His most recent endeavor has taken him to software publishing; TruePath's latest Telco Web Portal LMS. His involvement in and outside the industry has guided TruePath to be one of America s top monitoring software SaaS companies. While computers and electronics are staples in his life, competitive bike racing, triathlons and, of course, family come first. Email: dmauro@truepathtechnologies.com LinkedIn: www.linkedin.com/in/douglasmauro Phone: 585-672-5481 Cell: 716-474-1641 11/20/2013 10/5/2015 2:11:14 9:09:59 PM AM Version 1.db 2.34 p.3

Agenda Topics Of Discussion What is SNMP (what are MIBs) What are traps? Anyone use sets? What devices use SNMP? What s an agent and NMS? What s the BEST SNMP version? Flow of communication (how to use, commands, data flow view) Where can I get software for my OS? Does my XYZ device need software or agent? What does agentless mean? I have device X, does it support mib Z? I m polling mib XYZ, why doesn t my ABC device respond? Exploring a sample MIB Doing the big walk! (why all numbers? What can I find that looks fun?) What about snmpget and bulk? Reverse eng a walk to mib (aka google it!) Poll vs- trap? What s better? Gimmie some popular software to try now! What s all this rrd talk? p.4

What Is SNMP? The core of SNMP is a simple set of operations p.5

HIGH LEVEL MONITORING ARCH Traditional Single NMS Switches Servers WEB Applications Network Management System NMS p.6

HIGH LEVEL MON ARCH Distributed NMS WEB SNMP SNMP LONDON NMS U.S. NMS p.7

What s a MIB? Management Information Base The Structure of Management Information (SMI) provides a way to define managed objects and their behavior. RFC 1213 MIB-II March 1991 https://www.rfc-editor.org/rfc/rfc1213.txt rfc1213.txt ifoperstatus OBJECT-TYPE SYNTAX INTEGER { up(1), -- ready to pass packets down(2), testing(3) -- in some test mode } ACCESS read-only STATUS mandatory DESCRIPTION "The current operational state of the interface. The testing(3) state indicates that no operational packets can be passed." ::= { ifentry 8 } iflastchange OBJECT-TYPE SYNTAX TimeTicks ACCESS read-only STATUS mandatory DESCRIPTION "The value of sysuptime at the time the interface entered its current operational state. If the current state was entered prior to the last reinitialization of the local network management subsystem, then this object contains a zero value." ::= { ifentry 9 } ifinoctets OBJECT-TYPE SYNTAX Counter ACCESS read-only p.8

Polling Versus Traps Router SNMP TRAP ONE WAY NMS Router SNMP GET / NEXT / TABLE TWO WAY NMS p.9

What About Sets? Not Very Common To Use Router SNMP SET TWO WAY NMS p.10

Do I Need An Agent? What Does Agentless Mean? Switches Built In SNMP Agent Operating Systems Need to Install SNMP Agent NMS Scripts Uses Free SNMP Libraries SNMP Generator HW Device Dry Contacts p.11

Where Can I Get SNMP Agent SW? What Devices (os, ios, etc) Are You Using? For network type devices, the software will usually be installed (there) but might not be turned on or configured. Other devices like large UPS (battery) systems may require an additional card/software to use SNMP Windows has an agent that you can freely download and install https://technet.microsoft.com/en-us/library/cc765990(v=ws.10).aspx You might want to look at WMI checks as the Win agent is very basic For Linux, the standard out there seems to be Net-SNMP http://www.net-snmp.org/download.html p.12

What Version Is The Best? SNMPv2 Is The Most Popular In a lot of ways you won t have a choice. Your equipment will determine that. V2 and v3 can be thought of as the same with v3 including better security Should I push for v3? (Would you put a padlock on your car door?) p.13

Why Doesn t This MIB Work? Agent Supports MIBs, NOT The Other Way Around == MIB File Agent p.14

DATA COLLECTION How Does The Information Flow? Switches INT STATS PORT SPEED DROPS WEB VOIP MOS JITTER LATENCY NMS DISK MEMORY CPU APPLICATION DB.. Applications p.15

DATA COLLECTION I WANT MORE! Switches agent sends back as much as it can in one response. NMS VOIP NMS receives a response from the agent for the get-next command It then issues another get-next command It keeps doing this until the agent returns an error, signifying that the end of the MIB has been reached and there are no more objects left to get. p.16

The Big Walk Why All The Numbers? [root@tpt-nms> /var/tpt/bin ]: snmpwalk -v2c -c public 11.0.44.171.1.3.6.1.2.1.2.1.3.6.1.2.1.2.2.1.8.2 = INTEGER: up(1).1.3.6.1.2.1.2.2.1.9.1 = Timeticks: (97681) 0:16:16.81.1.3.6.1.2.1.2.2.1.9.2 = Timeticks: (111822123) 12 days, 22:37:01.23.1.3.6.1.2.1.2.2.1.10.1 = Counter32: 2457344102.1.3.6.1.2.1.2.2.1.10.2 = Counter32: 2163677797.1.3.6.1.2.1.2.2.1.11.1 = Counter32: 5331002.1.3.6.1.2.1.2.2.1.11.2 = Counter32: 3581821 [root@tpt-nms> /var/tpt/bin ]: snmpwalk -v2c -c public 11.0.44.171.1.3.6.1.2.1.2.1.3.6.1.2.1.2.2.1.1.1 = INTEGER: 1.1.3.6.1.2.1.2.2.1.1.2 = INTEGER: 2.1.3.6.1.2.1.2.2.1.2.1 = STRING: PORT-1.1.3.6.1.2.1.2.2.1.2.2 = STRING: PORT-2.1.3.6.1.2.1.2.2.1.3.1 = INTEGER: ethernetcsmacd(6).1.3.6.1.2.1.2.2.1.3.2 = INTEGER: ethernetcsmacd(6).1.3.6.1.2.1.2.2.1.4.1 = INTEGER: 2000.1.3.6.1.2.1.2.2.1.4.2 = INTEGER: 2000.1.3.6.1.2.1.2.2.1.5.1 = Gauge32: 1000000000.1.3.6.1.2.1.2.2.1.5.2 = Gauge32: 1000000000.1.3.6.1.2.1.2.2.1.6.1 = STRING: 0:15:bd:1a:f8:49.1.3.6.1.2.1.2.2.1.6.2 = STRING: 0:15:bd:1a:f8:4a.1.3.6.1.2.1.2.2.1.7.1 = INTEGER: up(1).1.3.6.1.2.1.2.2.1.7.2 = INTEGER: up(1).1.3.6.1.2.1.2.2.1.8.1 = INTEGER: up(1).1.3.6.1.2.1.2.2.1.8.2 = INTEGER: up(1).1.3.6.1.2.1.2.2.1.9.1 = Timeticks: (97681) 0:16:16.81.1.3.6.1.2.1.2.2.1.9.2 = Timeticks: (111822123) 12 days, 22:37:01.23.1.3.6.1.2.1.2.2.1.10.1 = Counter32: 2457344102.1.3.6.1.2.1.2.2.1.10.2 = Counter32: 2163677797.1.3.6.1.2.1.2.2.1.11.1 = Counter32: 5331002.1.3.6.1.2.1.2.2.1.11.2 = Counter32: 3581821.1.3.6.1.2.1.2.2.1.12.1 = Counter32: 1211747.1.3.6.1.2.1.2.2.1.12.2 = Counter32: 43010.1.3.6.1.2.1.2.2.1.13.1 = Counter32: 0.1.3.6.1.2.1.2.2.1.13.2 = Counter32: 0.1.3.6.1.2.1.2.2.1.14.1 = Counter32: 0.1.3.6.1.2.1.2.2.1.14.2 = Counter32: 0.1.3.6.1.2.1.2.2.1.15.1 = Counter32: 0.1.3.6.1.2.1.2.2.1.15.2 = Counter32: 0.1.3.6.1.2.1.2.2.1.16.1 = Counter32: 2329820096.1.3.6.1.2.1.2.2.1.16.2 = Counter32: 2160516742.1.3.6.1.2.1.2.2.1.17.1 = Counter32: 5101916.1.3.6.1.2.1.2.2.1.17.2 = Counter32: 3564714.1.3.6.1.2.1.2.2.1.18.1 = Counter32: 91394.1.3.6.1.2.1.2.2.1.18.2 = Counter32: 36217.1.3.6.1.2.1.2.2.1.19.1 = Counter32: 0.1.3.6.1.2.1.2.2.1.19.2 = Counter32: 0.1.3.6.1.2.1.2.2.1.20.1 = Counter32: 0.1.3.6.1.2.1.2.2.1.20.2 = Counter32: 0.1.3.6.1.2.1.2.2.1.21.1 = Gauge32: 0.1.3.6.1.2.1.2.2.1.21.2 = Gauge32: 0.1.3.6.1.2.1.2.2.1.22.1 = OID:.0.0.1.3.6.1.2.1.2.2.1.22.2 = OID:.0.0 p.17

Mixing In Some Spice Let s Add Some MIBs To Our Walk [root@tpt-nms> /var/tpt/bin ]: snmpwalk -v2c -c public 11.0.43.171.1.3.6.1.2.1.2 -M /usr/share/snmp/mibs -m ALL IF-MIB::ifIndex.1 = INTEGER: 1 IF-MIB::ifDescr.1 = STRING: PORT-1 IF-MIB::ifType.1 = INTEGER: ethernetcsmacd(6) IF-MIB::ifMtu.1 = INTEGER: 2000 IF-MIB::ifSpeed.1 = Gauge32: 1000000000 IF-MIB::ifPhysAddress.1 = STRING: 0:15:ad:1a:f8:49 IF-MIB::ifAdminStatus.1 = INTEGER: up(1) IF-MIB::ifOperStatus.1 = INTEGER: up(1) IF-MIB::ifLastChange.1 = Timeticks: (97681) 0:16:16.81 IF-MIB::ifInOctets.1 = Counter32: 2458205995 IF-MIB::ifInUcastPkts.1 = Counter32: 5340471 IF-MIB::ifInNUcastPkts.1 = Counter32: 1212759 IF-MIB::ifInDiscards.1 = Counter32: 0 IF-MIB::ifInErrors.1 = Counter32: 0 IF-MIB::ifInUnknownProtos.1 = Counter32: 0 IF-MIB::ifOutOctets.1 = Counter32: 2330564360 IF-MIB::ifOutUcastPkts.1 = Counter32: 5111373 IF-MIB::ifOutNUcastPkts.1 = Counter32: 91547 IF-MIB::ifOutDiscards.1 = Counter32: 0 IF-MIB::ifOutErrors.1 = Counter32: 0 p.18

Where s My MIB? Common Places To Find Vendor MIBs Ask The Vendor! Google the 1 st OID to enterprise Brocade would be:.1.3.6.1.4.1.1991 Online Tools: Cisco s Object Nav: http://goo.gl/zyfdrf https://www.plixer.com/support/mib-resources.html http://www.oidview.com/mibs/detail.html http://www.snmplink.org/onlinemib/standards/ p.19

Just Gimmie The Software! Quick Places To Grab Some Software And Start Playing Check_MK http://mathias-kettner.com/check_mk_download.php Op5 http://www.op5.com/download-op5-monitor/ Nagios https://www.nagios.org/downloads/ Net-SNMP http://www.net-snmp.org/download.html RRDtool http://oss.oetiker.ch/rrdtool/ Cacti http://www.cacti.net/download_cacti.php p.20

THANK YOU http://truepathtechnologies.com http://www.facebook.com/truepathtech http://twitter.com/truepathtech http://www.linkedin.com/company/truepath-technologies-inc. p.21