On 03/07/07, Stefan Mikuszeit <[EMAIL PROTECTED]> wrote:
> This is the code for set the new Value to the OID, it's included in
> the Script ;-)
>
> if ($next ne "") {
> $value = $global_status{$next}{'value'};
>
> $request->setOID($next);
> $request->setValue(ASN_OCTET_STR, "$value");
No - that is part of the code for processing a GETNEXT request.
In particular, it is concerned with inserting the requested OID
and value into the response.
It is *not* relevant to handling SET requests
> The Debugging Info you will find at the attachment.
No - I was suggesting that you activate the debugging code
in the mysql_agent.pl file (most of which is commented out).
What you listed was debugging code from the main SNMP library.
Dave
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users