simple network management protocol part 2“fundamentals of snmp” advertised presentation scope 2...

46
“Fundamentals of SNMP” Simple Network Management Protocol Part 2 Wayne M. Pecena, CPBE, CBNE Texas A&M University Educational Broadcast Services – KAMU FM-TV November 14, 2019

Upload: others

Post on 26-May-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

“Fundamentals of SNMP”Simple Network Management Protocol

Part 2

Wayne M. Pecena, CPBE, CBNETexas A&M University

Educational Broadcast Services – KAMU FM-TV

November 14, 2019

Page 2: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

“Fundamentals of SNMP”Advertised Presentation Scope

2

Tutorial Overview

The Simple Network Management Protocol (SNMP) was created as a means to monitor and control devices in an Internet Protocol (IP) network. SNMP is widely used in Information Technology (IT) environments and is becoming popular in broadcast equipment. Wayne Pecena, CPBE, 8-VSB, AMD, DRB, CBNE presents this webinar that will provide a familiarity with SNMP fundamentals beginning with consideration to a Network Management System (NMS) architecture and system components.

Part 2 will look at implementation of SNMP in the broadcast environment to provide a robust monitoring and notification alerting environment from IT equipment to the transmitter.

Page 3: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

“Fundamentals of SNMP – Part 2”AGENDA

• Brief Part 1 Review• SNMP Manager Options:

– Commercial Offerings– Open-Source Options

• Obtaining MIB’s• Agent Configuration• Takeaway Review, Resources, & Questions

Page 4: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

4

“Fundamentals of SNMP”Simple Network Management Protocol

Part 2

Brief Part 1 Review

Page 5: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

SNMP – The ProtocolSimple Network Management Protocol

• A core protocol of the Internet Protocol (IP) family:– Managed device monitoring– Configuring managed networked devices

• Implemented at the Applications Layer (OSI)– UDP utilized for message transport– UDP ports 161 / 162

• IETF defined standard (SNMPv3):– RFC 3411 - 3418

5

Simple Gateway Monitoring

Protocol&

High-level Entity Management

Systems

Page 6: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

6

SNMPAGENTSNMP Trap

Receiver

SNMP Community Architecture

SNMPManager

MIB MIB

GET / SET Request

GET / SET Response

Trap

ManagementInformationBase

Page 7: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

SNMP System ComponentsThe SNMP Community

• Agent• Devices• Management Information Base• System Manager

7

Page 8: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

Core CommandsSNMPv3 PDU’s

• GET• GET BULK• GET NEXT• GET RESPONSE• INFORM• NOTIFICATION• REPORT• SET• TRAP

8

command syntax:“get” command example

% snmpget –v1 –c <community> <host name/IP> OID

IPHeader

UDPHeader

VersionCommunity

NameSNMPPDU

Page 9: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

Commands in Detail

9

• INFORM (inform request) – An asynchronous acknowledgment notification (provides ACK over UDP)

• NOTIFICATION – Agent to manager notification – unsolicited message

• REPORT – Indicates that a “core” SNMP stack communications error has occurred

• SET – Changes a managed device managed object value• TRAP – Alert message initiated by a managed device

agent to the NMS

Page 10: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

Agent• Enabler of network management

features• Software within the managed device• Collects information• Communicates with the manager• Sends information to the MIB

– Polled info– Alert info

10

Page 11: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

Object ID“OID”

• The Object Identifier • Globally unique ISO identifier or locator• An address to identify a specific device parameter function or status• Hierarchical organized structure – similar to computer file structure

11

NAUTEL OID example:

1.3.6.1.4.1.28142.1.300.256.329.0

Page 12: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

System ManagerNMS – Network Management Station

• Heart of the SNMP System• Polls managed devices for information

– Status– Telemetry

• Sends commands to managed devices• Receives ‘traps” from managed devices• Sends email or SMS notifications• Provides a “Graphical User Interface” or “GUI dashboard”

12

Page 13: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

13

“Fundamentals of SNMP”Simple Network Management Protocol

Part 2

SNMP Manager Options:

Page 14: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

FCC RequirementsTransmitter Monitoring/Control/Logging

14

73.1350(b)(2) says "The transmitter control personnel must have the capability to turn the transmitter off at all times. If the personnel are at a remote location, the control system must provide this capability continuously or must include an alternate method of acquiring control that can satisfy the requirement of paragraph (e) of this section that operation be terminated within three minutes."

http://www.hallikainen.com/FccRules/

73.1800 requires the maintenance of a station log

For most stations, REQUIRED logging is limited to tower lights and EAS. For directional stations without an approved monitoring system, additional directional parameters are required.

Page 15: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

SNMP Manager Selection“My Decision Tree”

15

System ManagerSource

Open - SourceCommercial

$$

ITCentric

BroadcastCentric

Open – Source SoftwareCommercial Support $$

Page 16: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

Open-Source System Manager

• Cacti

• Icinga2

• Nagios

• Open NMS

• Prometheus

• Zabbix

16

Page 17: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

Zabbixzabbix.org / zabbix.com

• Open-Source / IT Centric – v 4.4– Network– Server– Cloud– Application

• Linux based (CentOS)

17

Page 18: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

18

Page 19: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

Commercial System Manager“IT Centric”

• SolarWinds NPM• Paessler PRTG• ManageEngine OpManager• SysAid Monitoring• Kaseya• Altera• Spiceworks NetMon• Pulseway• LogicMonitor• Event Sentry• Ipswitch WhatsUp Gold

19

Page 20: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

SolarWindswww.solarwinds.com

20

• SolarWinds Network Perfromance Monitor / IT Centric – v2019-4– Network– Server– Cloud– Application

• Windows x64 PC/server based (Windows Server 2016 / 2019)

Page 21: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

21

Page 22: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

Paessler prtgwww.paessler.com

22

• Paessler Router Traffic Grapher / IT Centric – v 19– Network– Server– Cloud– Application

• Windows x64 PC/server based (Windows Server 2019)

Page 23: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

23

Page 24: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

Commercial System Manager“Broadcast Centric”

• Burk

• Davicom

• Worldcast

24

Page 25: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

• Conventional remote control– Analog, GPI, GPO interfaces– Voice access

• SNMP system manager & agent• Networkable – create multi-site system

25

Page 26: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

System Manager Platform Considerations

26

Page 27: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

Adding snmp capability to legacy devices

27

Logic outputsAnalog output(s) snmp

Page 28: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

Generic snmp Interface Devices

28

www.ControlByWeb.com

www.BlackBox.com

www.infrasensing.com

www.dnfcontrols.com

Page 29: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

Interface capability built-in a broadcast centric SNMP system manager / agent

29

GPO Control

GPI Control

Analog Input

Page 30: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

System Manager ConfigurationGeneric Steps

• Establish System Manager Platform• Gather MIB(s)• Import MIB(s) – “compile”• Select parameters of interest• Build “dashboard”• Configure traps• Build “alerts”

30

Page 31: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

“Massaging” Inputs

31Courtesy: John Ahern Comlabs/Davicom

Page 32: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

Alarms

• Alarm Aggregation• Alarm Qualification• Alarm Severity & Notification

32

Page 33: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

33

“Fundamentals of SNMP”Simple Network Management Protocol

Part 2

Obtaining MIB’s

Page 34: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

MIB(S)Management Information Base

• Defines snmp capability of device– ASCII text file that describes elements available as a date object (OID)

• Discrete monitor points available• Control functions available• Traps available

– Written in ASN.1 (ISO) notation – Secret sauce to translate OID into meaningful information

• Obtain - Download from equipment mfg!

34

MIB Structure:- syntax-- access--- description

Page 35: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

MIB Examples

35

Page 36: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

MIB Examples

36

Page 37: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

Viewing a MIB• notepad or your favorite .txt file editor• MIB viewer / browser• System manager platform will include• Or google: “MIB viewer”

37

Page 38: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

MIB Viewer / Browser

38

Page 39: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

39

“Fundamentals of SNMP”Simple Network Management Protocol

Part 2

Agent Configuration

Page 40: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

Agent Configuration• Configuration Information Required (minimum):• System manager IP address• Port: 162 (default)• Community string(s):

– Read-only “RO”– Read-write “RW”– Trap

• SNMPv1 & SNMPv2 use “public” as default read-only “RO”• SNMPv3 requires username/password with encryption key

40

password of snmp

Page 41: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

41

Page 42: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

42

“Fundamentals of SNMP”Simple Network Management Protocol

Part 2

Takeaway Review, Resources, & Questions

Page 43: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

Takeaway Review“IMHO”

• SNMP – maybe “Not Always Simple”– Interfacing is simplified – “CAT 5 cable”– System manager configuration can be challenging– Not all devices are snmp capable– Broadcast centric system managers include I/O ports (analog, logic

in/out) – can be agent & system manager console

• Look to SNMP for monitoring the converged broadcast technical infrastructure:– Mature & open-protocol technology– One management platform to support – one “dashboard”– One alerting platform– Flexible & robust system monitoring & fault/threshold alerting

43

Page 44: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

Reference Texts (IT centric)For Further Study:

44

Page 45: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

Is there a SNMP part 3 webinar?

45

I need your help to determinePlease comment in your feedback response!

Page 46: Simple Network Management Protocol Part 2“Fundamentals of SNMP” Advertised Presentation Scope 2 Tutorial Overview The Simple Network Management Protocol (SNMP) was created as a

Distinguished Lecturer

President

Wayne M. Pecena

Texas A&M University

[email protected]

[email protected]

979.845.5662