Re: How to recognize different agent callbacks as triggered by same SNMP PDU?

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Tue, 25 Jul 1995 12:16:40 +0200

Hi!

"Peder Chr. Norgaard" <pcn@tbit.dk> said:

Peder> For efficiency in processing GetRequests and GetNextRequests,
Peder> and for consistency checking in processing SetRequests involving the
Peder> RowStatus Textual Convention I find it neccessary to be able to
Peder> recognize a set of calls of commands hooked by "snmp bind" as being
Peder> triggered by the same PDU. Ideally, some kind of PDU identification
Peder> could be expanded with the '%' convention, just as the %i, %i, and %v
Peder> are for now.

I think the %V and %R substitutions should solve your problem. %V will
be expanded to the complete varbind list and %R expands to the request
id (which should be unique in conjunction with the agent address %A
and port number %P). See the scotty man page for the list of supported
% substitutions.

Juergen