TUT:DisMan Monitoring

From Net-SNMP Wiki
Revision as of 21:42, 11 March 2011 by Wes (Talk | contribs) (link rfc)

Jump to: navigation, search

The DisMan (Distributed Management) working group in the IETF produced RFC:2981, which defines a set of MIB tables describing an Event Management System. With this system employed, devices are able to monitor themselves and neighboring devices for problems and report the problems via SNMP notifications. This can greatly relieve the amount of traffic a network management station needs to send to every device on the network.

The snmpd.conf manual page describes this feature at length.

Because it's the most typical usage, the remainder of this page discusses self-management (the agent querying itself) as opposed to querying other external devices. This document also specifies how to perform self-management using snmpd.conf configuration directives. It is actually possible to completely configure an agent using SNMP SETs to the EVENT-MIB tables themselves.

Getting Started

Defining the Query Credentials

The first requirement is that you define a SNMPv3 username to use when performing self-management. First, we must define a user, add access control for it, and create it. PLEASE PICK A NAME DIFFERENT THAN myMonitorName and mysecretepassword, which is used below. Any name unique to your institution will work just fine.

 createUser    myMonitoringName SHA mysecretpassword AES
 rouser        myMonitoringName
 iquerySecName myMonitoringName