Essential SNMP, 2nd Edition

book cover
Essential SNMP, 2nd Edition
By Douglas Mauro, Kevin Schmidt
Publisher: O'Reilly
Pub Date: September 2005
ISBN: 0-596-00840-6
Pages: 460

Table of Contents  | Index

Simple Network Management Protocol (SNMP) provides a "simple" set of operations that allows you to more easily monitor and manage network devices like routers, switches, servers, printers, and more. The information you can monitor with SNMP is wide-ranging--from standard items, like the amount of traffic flowing into an interface, to far more esoteric items, like the air temperature inside a router. In spite of its name, though, SNMP is not especially simple to learn.

O'Reilly has answered the call for help with a practical introduction that shows how to install, configure, and manage SNMP. Written for network and system administrators, the book introduces the basics of SNMP and then offers a technical background on how to use it effectively. Essential SNMP explores both commercial and open source packages, and elements like OIDs, MIBs, community strings, and traps are covered in depth. The book contains five new chapters and various updates throughout. Other new topics include:

  • Expanded coverage of SNMPv1, SNMPv2, and SNMPv3

  • Expanded coverage of SNMPc

  • The concepts behind network management and change management

  • RRDTool and Cricket

  • The use of scripts for a variety of tasks

  • How Java can be used to create SNMP applications

  • Net-SNMP's Perl module

The bulk of the book is devoted to discussing, with real examples, how to use SNMP for system and network administration tasks. Administrators will come away with ideas for writing scripts to help them manage their networks, create managed objects, and extend the operation of SNMP agents.

Once demystified, SNMP is much more accessible. If you're looking for a way to more easily manage your network, look no further than Essential SNMP, 2nd Edition.

book cover
Essential SNMP, 2nd Edition
By Douglas Mauro, Kevin Schmidt
Publisher: O'Reilly
Pub Date: September 2005
ISBN: 0-596-00840-6
Pages: 460

Table of Contents  | Index

      Audience for This Book
      What's New in This Edition
      Example Programs
      Using Code Examples
      Conventions Used in This Book
      Comments and Questions
      Safari® Enabled
      Acknowledgments for the Second Edition
      Acknowledgments for the First Edition
      Chapter 1.  Introduction to SNMP and Network Management
      Section 1.1.  What Is SNMP?
      Section 1.2.  The Concept of Network Management
      Section 1.3.  Applying the Concepts of Network Management
      Section 1.4.  Change Management
      Section 1.5.  Getting More Information
      Chapter 2.  SNMPv1 and SNMPv2
      Section 2.1.  SNMP and UDP
      Section 2.2.  SNMP Communities
      Section 2.3.  The Structure of Management Information
      Section 2.4.  Extensions to the SMI in Version 2
      Section 2.5.  A Closer Look at MIB-II
      Section 2.6.  SNMP Operations
      Section 2.7.  Host Management Revisited
      Section 2.8.  Remote Monitoring Revisited
      Section 2.9.  Reverse Engineering SNMP
      Chapter 3.  SNMPv3
      Section 3.1.  Changes in SNMPv3
      Section 3.2.  USM
      Section 3.3.  VACM
      Section 3.4.  SNMPv3 in the Real World
      Chapter 4.  NMS Architectures
      Section 4.1.  Hardware Considerations
      Section 4.2.  NMS Architectures
      Section 4.3.  A Look Ahead
      Chapter 5.  Configuring Your NMS
      Section 5.1.  HP's OpenView Network Node Manager
      Section 5.2.  Castle Rock's SNMPc Enterprise Edition
      Chapter 6.  Configuring SNMP Agents
      Section 6.1.  Parameter Settings
      Section 6.2.  Security Concerns
      Section 6.3.  Agent Configuration Walkthroughs
      Chapter 7.  Polling and Setting
      Section 7.1.  Retrieving a Single MIB Value
      Section 7.2.  Retrieving Multiple MIB Values
      Section 7.3.  Setting a MIB Value
      Section 7.4.  Error Responses
      Chapter 8.  Polling and Thresholds
      Section 8.1.  Internal Polling
      Section 8.2.  External Polling
      Chapter 9.  Traps
      Section 9.1.  Understanding Traps
      Section 9.2.  Receiving Traps
      Section 9.3.  Sending Traps
      Chapter 10.  Extensible SNMP Agents
      Section 10.1.  Net-SNMP
      Section 10.2.  SystemEDGE
      Section 10.3.  OpenView's Extensible Agent
      Chapter 11.  Adapting SNMP to Fit Your Environment
      Section 11.1.  General Trap-Generation Program
      Section 11.2.  Who's Logging into My Machine? (I-Am-In)
      Section 11.3.  Throw Core
      Section 11.4.  Veritas Disk Check
      Section 11.5.  Disk-Space Checker
      Section 11.6.  Port Monitor
      Section 11.7.  Service Monitoring
      Section 11.8.  Pinging with Cisco
      Section 11.9.  Simple SNMP Agent
      Section 11.10.  Switch Port Control
      Section 11.11.  Wireless Networking
      Section 11.12.  SNMP: The Object-Oriented Way
      Section 11.13.  Final Words
      Chapter 12.  MRTG
      Section 12.1.  Using MRTG
      Section 12.2.  Viewing Graphs
      Section 12.3.  Graphing Other Objects
      Section 12.4.  Other Data-Gathering Applications
      Section 12.5.  Pitfalls
      Section 12.6.  Getting Help
      Chapter 13.  RRDtool and Cricket
      Section 13.1.  RRDtool
      Section 13.2.  Cricket
      Chapter 14.  Java and SNMP
      Section 14.1.  SNMP4J
      Section 14.2.  SNMP getnext
      Section 14.3.  SNMP set
      Section 14.4.  Sending Traps and Informs
      Section 14.5.  Receiving Traps and Informs
      Section 14.6.  Resources
      Appendix A.  Using Input and Output Octets
      Appendix B.  More on OpenView's NNM
      Section B.1.  Using External Data
      Section B.2.  Adding a Menu to NNM
      Section B.3.  Profiles for Different Users
      Section B.4.  Using NNM for Communications
      Appendix C.  Net-SNMP Tools
      Section C.1.  Net-SNMP and MIB Files
      Section C.2.  Common Command-Line Arguments
      Section C.3.  Net-SNMP Command-Line Tools
      Appendix D.  SNMP RFCs
      Section D.1.  SMIv1 Data Definition Language
      Section D.2.  SMIv2 Data Definition Language
      Section D.3.  SNMPv3 Protocol
      Section D.4.  SNMP Agent Extensibility
      Section D.5.  SMIv1 MIB Modules
      Section D.6.  SMIv2 MIB Modules
      Section D.7.  IANA-Maintained MIB Modules
      Section D.8.  Related Documents
      Appendix E.  SNMP Support for Perl
      Section E.1.  SNMP_Util
      Section E.2.  Net-SNMP
      Appendix F.  Network Management Software
      Section F.1.  SNMP Agents
      Section F.2.  NMS Suites
      Section F.3.  Element Managers (Vendor-Specific Management)
      Section F.4.  Trend Analysis
      Section F.5.  Supporting Software
      Appendix G.  Open Source Monitoring Software
      Section G-1.  Big Brother
      Section G-2.  Nagios
      Section G-3.  JFFNMS
      Section G-4.  OpenNMS
      Section G-5.  NINO
      Appendix H.  Network Troubleshooting Primer
      Section H-1.  ping
      Section H-2.  ipconfig and ifconfig
      Section H-3.  arp
      Section H-4.  netstat
      Section H-5.  traceroute and tracert
      Section H-6.  nslookup and dig
      Section H-7.  whois
      Section H-8.  Ethereal
   About the Authors