This book is intended for system and network administrators who could benefit from using SNMP to manage their equipment but who have little or no experience with SNMP or SNMP applications.
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
Organization of the book
Chapter 1, Introduction to SNMP and Network Management, provides a nontechnical overview of network management with SNMP. We introduce the different versions of SNMP, managers and agents, network management concepts, and change management techniques.
Chapter 2, SNMPv1 and SNMPv2, discusses the technical details of SNMP versions 1 and 2. We look at the Structure of Management Information (SMI) and the Management Information Base (MIB) and discuss how SNMP actually workshow management information is sent and received over the network.
Chapter 3, SNMPv3, discusses SNMP version 3, which is now a full standard that provides robust security for SNMP.
Chapter 4, NMS Architectures, helps you to think through strategies for deploying SNMP.
Chapter 5, Configuring Your NMS, provides a basic understanding of what to expect when installing NMS software by looking at two NMS packages, HP's OpenView and Castle Rock's SNMPc.
Chapter 6, Configuring SNMP Agents, describes how to configure several SNMP agents for Unix and Windows, including the Net-SNMP agent. To round out the chapter, we discuss how to configure the embedded agents on two network devices: the Cisco SNMP agent and the APC Symetra SNMP agent.
Chapter 7, Polling and Setting, shows how you can use command-line tools and Perl to gather (poll) SNMP information and change (set) the state of a managed device.
Chapter 8, Polling and Thresholds, discusses how to configure OpenView and SNMPc to gather SNMP information via polling. This chapter also discusses RMON configuration on a Cisco router.
Chapter 9, Traps, examines how to send and receive traps using command-line tools, Perl, OpenView, and other management applications.
Chapter 10, Extensible SNMP Agents, shows how several popular SNMP agents can be extended. Extensible agents provide end users with a means to extend the operation of an agent without having access to the agent's source code.
Chapter 11, Adapting SNMP to Fit Your Environment, is geared toward Perl-savvy system administrators. We provide Perl scripts that demonstrate how to perform some common system administration tasks with SNMP.
Chapter 12, MRTG, introduces one of the most widely used open source SNMP applications, the Multi Router Traffic Grapher (MRTG). MRTG provides network administrators with web-based usage graphs of router interfaces and can be configured to graph many other kinds of data.
Chapter 13, RRDtool and Cricket, introduces RRDtool and Cricket. Used together, these tools provide graphing techniques like those in MRTG, but with added flexibility.
Chapter 14, Java and SNMP, discusses how to use Java to build SNMP applications.
Appendix A, Using Input and Output Octets, discusses how to use OpenView to graph input and output octets.
Appendix B, More on OpenView's NNM, discusses how to graph external data with Network Node Manager (NNM), add menu items to NNM, configure user profiles, and use NNM as a centralized communication interface.
Appendix C, Net-SNMP Tools, summarizes the usage of the Net-SNMP command-line tools.
Appendix D, SNMP RFCs, provides an authoritative list of the various RFC numbers that pertain to SNMP.
Appendix E, SNMP Support for Perl, is a good summary of the SNMP Perl module used throughout the book along with an introduction to the Net-SNMP Perl module.
Appendix F, Network Management Software, presents an overview of network management software by category.
Appendix G, Open Source Monitoring Software, introduces some commonly used open source network management and monitoring tools.
Appendix H, Network Troubleshooting Primer, provides a primer on tools that can aid in network troubleshooting.