Difference between revisions of "Template:TUT:LIST"
(→Tutorial Sections) |
(→Operating System Specific Tutorials) |
||
(35 intermediate revisions by 19 users not shown) | |||
Line 18: | Line 18: | ||
* [[TUT:snmpbulkwalk | snmpbulkwalk]]: retrieve a sub-tree of management values using SNMP GETBULK requests. | * [[TUT:snmpbulkwalk | snmpbulkwalk]]: retrieve a sub-tree of management values using SNMP GETBULK requests. | ||
* [[TUT:snmptrap | snmptrap]]: Sending and receiving traps, and acting upon them. | * [[TUT:snmptrap | snmptrap]]: Sending and receiving traps, and acting upon them. | ||
− | ** [[TUT:snmptrap_SNMPv3 | Traps/informs with SNMPv3]]: Sending and receiving SNMPv3 TRAPs and INFORMs | + | ** [[TUT:snmptrap_SNMPv3 | Traps/informs with SNMPv3/USM]]: Sending and receiving SNMPv3/USM TRAPs and INFORMs |
** [[TUT:agentxtrap | Sending Traps/Informs via AgentX]]: Sending notifications from the command line through snmpd | ** [[TUT:agentxtrap | Sending Traps/Informs via AgentX]]: Sending notifications from the command line through snmpd | ||
* Common command line options: | * Common command line options: | ||
** [[TUT:Using and loading MIBS | Using and loading MIBS]] | ** [[TUT:Using and loading MIBS | Using and loading MIBS]] | ||
− | ** [[TUT:SNMPv3 Options | SNMPv3 Options]] | + | ** [[TUT:SNMPv3 Options | SNMPv3/USM Options]] |
** [[TUT:Using TLS | Using SNMPv3 over TLS and DTLS]] | ** [[TUT:Using TLS | Using SNMPv3 over TLS and DTLS]] | ||
** [[TUT:Customized Output Formats | Customized Output Formats]] | ** [[TUT:Customized Output Formats | Customized Output Formats]] | ||
Line 51: | Line 51: | ||
** [[TUT:Simple Async Application|Writing a simple asynchronous application]] | ** [[TUT:Simple Async Application|Writing a simple asynchronous application]] | ||
* Agent Coding Tutorials | * Agent Coding Tutorials | ||
+ | ** The [[Agent Architecture]] page might be worth reading before or after the agent coding tutorials, and describes how the [[Agent Helpers]] work under the hood. | ||
** [[TUT:Writing a MIB Module | Writing a mib module]] to serve information described by an SNMP MIB, and how to compile it into the net-snmp snmpd agent. | ** [[TUT:Writing a MIB Module | Writing a mib module]] to serve information described by an SNMP MIB, and how to compile it into the net-snmp snmpd agent. | ||
** [[TUT:Writing a Dynamically Loadable Object | Writing a Dynamically Loadable Object]] that can be loaded into the SNMP agent. | ** [[TUT:Writing a Dynamically Loadable Object | Writing a Dynamically Loadable Object]] that can be loaded into the SNMP agent. | ||
** [[TUT:Writing a Subagent | Writing a Subagent]] that can be run to attach to the snmpd master agent. | ** [[TUT:Writing a Subagent | Writing a Subagent]] that can be run to attach to the snmpd master agent. | ||
** [[Tut:Extending snmpd using perl | Writing a perl plugin to extend the agent]] using the NetSNMP::agent module. | ** [[Tut:Extending snmpd using perl | Writing a perl plugin to extend the agent]] using the NetSNMP::agent module. | ||
+ | ** [[Tut:Extending_snmpd_using_shell_scripts | Writing shell scripts to extend the agent]] | ||
** Using mib2c to help write an agent code template for you | ** Using mib2c to help write an agent code template for you | ||
*** [[TUT:mib2c General Overview | General mib2c Overview]] | *** [[TUT:mib2c General Overview | General mib2c Overview]] | ||
Line 68: | Line 70: | ||
* [[Debugger|Debugging using GDB]] | * [[Debugger|Debugging using GDB]] | ||
− | === Operating System Specific Tutorials == | + | === Operating System Specific Tutorials === |
* Building With Visual Studio 2005 Express | * Building With Visual Studio 2005 Express | ||
** [[Using the command line and nmake]] | ** [[Using the command line and nmake]] | ||
+ | * Building Net-SNMP 64-bit with Visual C++ 2010 Express | ||
+ | ** [[Using the command line and nmake (VC++ 2010 Express)]] | ||
+ | * [[Net-Snmp on Ubuntu]] | ||
+ | * [[Net-SNMP and lm-sensors on Ubuntu 10.04]] | ||
+ | * Net-SNMP for windows: | ||
+ | ** How to install: [http://www.netadmintools.com/art487.html] | ||
+ | ** How to configure: [http://www.netadmintools.com/art488.html] |
Latest revision as of 16:43, 10 November 2014
Contents
Tutorial Sections
About the SNMP Protocol
These tutorial links talk about SNMP generically and how the protocol itself works. They are good introductory reading material and the concepts are important to understand before diving into the later tutorials about Net-SNMP itself.
- How SNMP Works: About the protocol itself (GETs, GETNEXTs, etc)
- What data is in SNMP: All about SNMP Management Information Bases (MIBs)
- Securing SNMP: How to use the SNMP protocol securely
Net-SNMP Command Line Applications
These tutorial pages discuss the command line tools provided in the Net-SNMP suite of tools. Nearly all the example commands in these tutorials works if you try it yourself, as they're all examples that talk to our online Net-SNMP test agent. Given them a shot!
- snmptranslate: learning about the MIB tree.
- snmpget: retrieving data from a host.
- snmpgetnext: retrieving unknown indexed data.
- snmpwalk: retrieving lots of data at once!
- snmptable: displaying a table.
- snmpset: peforming write operations.
- snmpbulkget: communicates with a network entity using SNMP GETBULK request
- snmpbulkwalk: retrieve a sub-tree of management values using SNMP GETBULK requests.
- snmptrap: Sending and receiving traps, and acting upon them.
- Traps/informs with SNMPv3/USM: Sending and receiving SNMPv3/USM TRAPs and INFORMs
- Sending Traps/Informs via AgentX: Sending notifications from the command line through snmpd
- Common command line options:
- Writing mib2c config files
Application Configuration
All of our applications support configuration to allow you to customize how they behave.
Net-SNMP Daemons
Net-SNMP comes with two long-running daemons: a SNMP agent (snmpd) for responding to management requests and a notification receiver (snmptrapd) for receiving SNMP notifications.
- SNMP Agent (snmpd) Configuration
- SNMP Notification Receiver (snmptrapd)
- Agent Monitoring
Coding Tutorials
Net-SNMP comes with a highly flexible and extensible API. The API allows you to create your own commands, add extensions to the agent to support your own MIBs and perform specialized processing of notifications.
- Client / Manager Coding Tutorials
- Agent Coding Tutorials
- The Agent Architecture page might be worth reading before or after the agent coding tutorials, and describes how the Agent Helpers work under the hood.
- Writing a mib module to serve information described by an SNMP MIB, and how to compile it into the net-snmp snmpd agent.
- Writing a Dynamically Loadable Object that can be loaded into the SNMP agent.
- Writing a Subagent that can be run to attach to the snmpd master agent.
- Writing a perl plugin to extend the agent using the NetSNMP::agent module.
- Writing shell scripts to extend the agent
- Using mib2c to help write an agent code template for you
- Header files and autoconf
Debugging SNMP Applications and Agents
All our tools and applications have extensive debugging output. These tutorials talk about how the debugging system works and how you can add your own debugging statements to you code:
- Debugging output printed using the -D command line option
- Using -Ddump to display packet breakdowns
- Debugging using GDB
Operating System Specific Tutorials
- Building With Visual Studio 2005 Express
- Building Net-SNMP 64-bit with Visual C++ 2010 Express
- Net-Snmp on Ubuntu
- Net-SNMP and lm-sensors on Ubuntu 10.04
- Net-SNMP for windows: