I confirm that we use NetSNMP.
Thank you

================THE PROBLEM================

How to send a negative response to a get request.

example of our code:
$value = $request->getValue();
 
if ( $error) {
     // HELP PLEASE US TO SEND BACK AN ERROR
} else {
    $request->setValue(NetSNMP::ASN::ASN_INTEGER, $value); // this works
}
...
send the response
=============================================


        [ First - *please* don't mail me privately, without copying
         any responses to the mailing list.  I don't have the time
         or inclination to offer private, unpaid, SNMP consultancy.
         Keep discussions to the list, where others can both learn
         and offer advice.  Thanks.   ]


>>> OS: Sun/ Language: Perl/Net::SNMP 5.1.1
> 
>> Please note that the Net::SNMP perl module has nothing to
>> do with the Net-SNMP project.   If you need assistance with
>> that, you'll need to contact David Town
> 
> we have:
>         use NetSNMP::default_store (':all');
>         use NetSNMP::agent::default_store (':all');
>         use NetSNMP::ASN (':all');
>         use NetSNMP::OID;
> 
> how to contact David Town ?


OK - there's some confusion here.
Are you using the perl module(s)

        NetSNMP::<various>
or
        Net::SNMP
?

These are two *completely* separate SNMP implementations, and as such
can't really be mixed in the same application.   Your original query
suggested you were using "Net::SNMP" (which is David Town's module).
This followup implies that you are using "NetSNMP" (i.e. ours)

Can you please clarify which one you are actually using?
Or are you trying to use both?

Dave


Our name has changed.  Please update your address book to the following format: 
"[EMAIL PROTECTED]".

This message contains information that may be privileged or confidential and is the 
property of the Capgemini Group. It is intended only for the person to whom it is 
addressed. If you are not the intended recipient,  you are not authorized to read, 
print, retain, copy, disseminate,  distribute, or use this message or any part 
thereof. If you receive this  message in error, please notify the sender immediately 
and delete all  copies of this message.



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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

Reply via email to