SNMP Demystified Part-II

24
IT Management, Simplified Real-time IT management solutions for the new speed of business

Transcript of SNMP Demystified Part-II

Page 1: SNMP Demystified Part-II

IT Management, Simplified

Real-time IT management solutions for the new speed of business

Page 2: SNMP Demystified Part-II

SNMP Demystified - Part II

KARTHIK ANANDARAO

Sr. Product Consultant/Evangelist

ManageEngine

Page 3: SNMP Demystified Part-II

About me

• Senior Product Consultant and Evangelist for ManageEngine. With Engineering and MBA degrees from reputed Indian Institutions,

• With over 17 years of IT Experience, serving in different capacities including System and Network Administration, IT Management, and Consulting.

• Have travelled across the globe for implementation, consultation and training of ManageEngine products and solutions.

Page 4: SNMP Demystified Part-II

Join us soon

• Join us @ SNMP Nuts & Bolts• https://connect.manageengine.com/groups/s

nmp-nuts-and-bolts

• SNMP Demystified - Part 1• Video URL - http://bit.ly/1G2AT6u

• Presentation URL - http://bit.ly/1CrykqB

Page 5: SNMP Demystified Part-II

Agenda

• SNMP Demystified – Part 2• Recap• SNMP Tools• Enable SNMP• SNMP Walk• Understand SNMP Table• Receive Traps• Check Community Strings• Browse MIBS• Perform SNMP Operations• Troubleshoot SNMP• Understand Error Messages

Page 6: SNMP Demystified Part-II

SNMP - Recap

• Simple Network Management Protocol• Internet Standard Protocol to manage devices

on IP Networks

• Standard way of monitoring hardware and software from any manufacturer from Cisco to Juniper, from Microsoft to Unix.

• Has 3 components• SNMP Manager – Monitoring solutions, NMS or EMS

• SNMP Agent - collects Management Information

• Managed Device – could be a network device or a server or any device with an IP and SNMP Agent

Page 7: SNMP Demystified Part-II

SNMP - Recap

• Simple Network Management Protocol• Has 3 versions

• SNMPv1

• SNMPv2c

• SNMPv3

• For enhanced security, administration and remote configuration

• SNMP entity has an identifier – SNMPEngineID

• OIDs and MIBs• OID is Object Identifier, defined in MIBs, Unique, can

be scalar or tabular and a dotted list of integers

• MIB is Management Information Base, collection of OIDs.

Page 8: SNMP Demystified Part-II

ManageEngine SNMP Tools

• SNMP Tools• ManageEngine SNMP MIB Browser

• ManageEngine Free Windows SNMP Enabler

Page 9: SNMP Demystified Part-II

Enable SNMP

• Windows• Programs / Features – Turn on/off Windows

feature

• Linux• Net-snmp

• Cisco devices• #configure terminal

#snmp-server community <community_string> rw/ro (example: snmp-server community public ro)#end#copy running-config startup-config

Page 10: SNMP Demystified Part-II

Enable SNMP

• ManageEngine Windows SNMP Enabler• Free

• Install / Enable SNMP on Windows machines

• Start / Stop SNMP Service

• Walk-through on the tool.

Page 11: SNMP Demystified Part-II

SNMP Tools

• ManageEngine SNMP MIB Browser

• Load/unload MIBs and fetch MIB data of SNMP(v1, v2c, v3) agents

• Perform SNMP operations from Windows, Linux and Mac devices

• Parse traps based on pre-defined match criteria

• View traps from SNMP agents and set up alert emails

• Leverage SNMPv3 security as defined in USM and VACM standards

• View SNMP Table data and get graphical representation in real-time

• Get the complete list of OIDs implemented on your device

Page 12: SNMP Demystified Part-II

ManageEngine SNMP MIB Browser

Page 13: SNMP Demystified Part-II

Understand SNMP Table

• SNMP Table• A related group of OIDs for a performance

attribute

• Examples• ifTable

• ipaddrTable

Page 14: SNMP Demystified Part-II

SNMP Walk

• SNMP response at-one-go for a group of OIDs

Page 15: SNMP Demystified Part-II

Receive Traps

• Configure to receive Traps in ManageEngine MIB Browser Tool• Trap Destination

• Trap Community String

Page 16: SNMP Demystified Part-II

Check Community String

• Configure a community string

• Accept SNMP from certain hosts – security configuration

Page 17: SNMP Demystified Part-II

Browse MIBS

• Copy MIBS and load them

Page 18: SNMP Demystified Part-II

Perform SNMP Operations

• GET

• GET-NEXT

• SET

• TABLE

• SNMPWALK• Let us see how to do these using

ManageEngine SNMP MIB Browser

Page 19: SNMP Demystified Part-II

Troubleshoot SNMP

• Troubleshoot SNMP• Check community string

• Firewall configuration, if any

• Trap port occupied by some other application

• Allow SNMP from the host specified

• Check SNMP timeout

• Increase retries

• Check supported MIBs for device type

Page 20: SNMP Demystified Part-II

Understand Error messages

• Standard Error Messages• Request Failed : Error: Request timed out to

192.168.101.101• SNMP is not enabled or configured

• Community String is incorrect

• Firewall blocks SNMP on port 161

• No data available in this sub-tree• Agent is not configured with the MIB details

• Request Failed: Get Response PDU received from 127.0.0.1 Error Indication in response: There is no such variable name in this mib. Errindex: 1 • SNMP Agent cannot find such a MIB variable in its

database

• Application/MIB is not supported

Page 21: SNMP Demystified Part-II

Understand Error messages

• Standard Error Messages• Could not parse the file

H:/mibs/CHECKPOINT-MIB.mib – couldn’t resolve these sequence constructs : {cpvTnIMonEntry,fwIfEntry}• Demo

• Loading MIBs Failed : Imports failed : Could not find the file : H:/mibs/APPLICATION-MIB• Demo

Page 22: SNMP Demystified Part-II

ManageEngine SNMP MIB Browser

• Website

http://www.manageengine.com/products/mibbrowser-free-tool/

• Download

http://www.manageengine.com/products/mibbrowser-free-tool/download.html

• Features

http://www.manageengine.com/products/mibbrowser-free-tool/features.html

• FAQ

http://www.manageengine.com/products/mibbrowser-free-tool/faq.html

• Feedback

http://www.manageengine.com/products/mibbrowser-free-tool/feedback.html

Page 23: SNMP Demystified Part-II

ManageEngine SNMP Community

• Join us @ SNMP Nuts & Bolts• https://connect.manageengine.com/groups/s

nmp-nuts-and-bolts• An online community

• Share SNMP MIBs

• Upload MIBs to the community to fix errors

• Share your thoughts on SNMP

• Accept the group invite

• ManageEngine’s MIB Database• Short URL - http://bit.ly/1mgRTb9

Page 24: SNMP Demystified Part-II

Thank You