Determinig syntax of a column from a Request.

Frank Fock Frank.Fock____t-online.de
Wed Nov 27 22:31:40 CET 2002


Hi Gopi,

The request variable bindings of GET, GETNEXT, GETBULK
requests do not have a value part (only an OID part).
Thus, it is quite normal that Request::get_syntax
returns sNMP_SYNTAX_NULL.

Best regards,
Frank

Gopi Krishna Bhavaraju wrote:
> Hi,
> 
> I am working on writing a agent for NT and Solaris. I am updating the MIB using MyTable::Update(Request *r) method. For updation I need to determine the syntax of the requested column. For this I am calling Request::get_syntax(sub_request_id). The problem is that this method always returns sNMP_SYNTAX_NULL as the syntax. I am using Agent++ 3.56.
> 
> Is there anything that I am missing ? Any help would be greatly appreciated.
> 
> Thanks and Regards,
> --Gopi.
> 
> --
> Senior Member of Technical Staff
> Persistent Systems Pvt. Ltd.,
> 402, Senapati Bapat Road,
> SB Road, Pune, India.
> Ph: Off - +91-20-5678900, Ext 530
>     Res - +91-20-5881178
> 
> 
> 







More information about the AGENTPP mailing list