blank.gif (43 bytes)

Church Of The
Swimming Elephant

Search:
dns | icmp | ietf | ined | inet | job | map | mib | netdb | ntp | snmp | sunrpc | syslog | term | udp

TNM SNMP Callback Scripts
Callback Scripts Description
%% Replaced with a single percent.
%V Replaced with the fully specified varbind list.
%R Replaced with the request id.
%S Replaced with the session name.
%E Replaced with the error status
%I Replaced with the error index.
%A Replaced with the IP address of the peer sending the packet.
%P Replaced with the port number of the peer sending the packet.
%T Replaced with the SNMP PDU type. Possible values for the PDU type are get, getnext, getbulk, set, response, v1trap, v2trap, inform, or report.

Many SNMP commands described below allow you to invoke asynchronous SNMP operations. 

Asynchronous SNMP operations work by sending out a request without waiting for a response. The SNMP protocol engine keeps track of asynchronous requests and processes callback scripts once an answer for an asynchronous request is received or the request times out. 

The callback script is always evaluated at global level. Special % escape sequences can be used in the callback script to access details contained in the SNMP response. These % escape sequences are substituted before the callback script is evaluated. 

The substitution depends on the character following the %, as defined in the list above.



Possible values for the error status (%E) are:
  • noError
  • tooBig
  • noSuchName
  • badValue
  • readOnly
  • genErr
  • noAccess
  • wrongType
  • wrongLength
  • wrongEncoding
  • wrongValue
  • noCreation
  • inconsistentValue
  • resourceUnavailable
  • commitFailed
  • undoFailed
  • authorizationError
  • notWritable
  • inconsistentName
  • noResponse
  • endOfWalk. 
  • The last two error codes are generated internally by the protocol engine when a request times out or when the end of an asynchronous walk has been reached.

    The error index identifies the element in the varbind list which caused an error. The index uses the Tcl list numbering scheme  where 0 refers to the first element of the list. This is different from the SNMP numbering scheme, where the first list element has the index value 1. The %I escape sequence will be replaced by -1 if the error status is noError.


     

    Cotse.Net

    Protect yourself from cyberstalkers, identity thieves, and those who would snoop on you.
    Stop spam from invading your inbox without losing the mail you want. We give you more control over your e-mail than any other service.
    Block popups, ads, and malicious scripts while you surf the net through our anonymous proxies.
    Participate in Usenet, host your web files, easily send anonymous messages, and more, much more.
    All private, all encrypted, all secure, all in an easy to use service, and all for only $5.95 a month!

    Service Details

     
    .
    www.cotse.com
    Have you gone to church today?
    .
    All pages ©1999, 2000, 2001, 2002, 2003 Church of the Swimming Elephant unless otherwise stated
    Church of the Swimming Elephant©1999, 2000, 2001, 2002, 2003 Cotse.com.
    Cotse.com is a wholly owned subsidiary of Packetderm, LLC.

    Packetderm, LLC
    210 Park Ave #308
    Worcester, MA 01609