Reference

TnmDisman(3tnm)

A Tcl package of procedures for distributed SNMP management.


        
    

    
        

NAME

TnmDisman - A Tcl package of procedures for distributed SNMP management.


        
    


        

DESCRIPTION

The TnmDisman package provides a set of Tcl command procedures that interact with SNMP agents implementing MIBs developed by the Distributed Management (DISMAN) working group of the IETF. Most of the commands work synchronously which means that they might block the process for a while if there are communication problems.

USING THE PACKAGE

The TnmDisman package is loaded into a Tcl interpreter by using the following sequence of Tcl commands:

package require Tnm
package require TnmDisman $tnm(version)

All the TnmDisman commands live in the TnmDisman namespace. You can import these commands into the current namespace by using the following Tcl command:

namespace import TnmDisman::*

It is however suggested to import commands explicitely or to use the full name in scripts to avoid name clashes.

COMMANDS

TnmDisman::GetLanguages session

The TnmDisman::GetLanguages procedure returns the list of languages supported by an SNMP agent identified by the SNMP session handle. Each element in the result list contains the language index (smLangIndex) and the language identification (smLangLanguage).

TnmDisman::GetExtensions session language

The TnmDisman::GetExtensions procedure returns the list of extensions for a given language supported by an SNMP agent identified by the SNMP session handle. The language parameter is the language index (smLangIndex) which identfies a language within an agent. Each element in the result list contains the extension index (smExtsnIndex) and the extension identification (smExtsnExtension).

SEE ALSO

scotty(1), Tnm(n), Tcl(n)

AUTHORS

Juergen Schoenwaelder <[email protected]>