Hi,
 
We try to make a snmp agent (Perl).
 
How to return an error when our agent receive a get request (or on a set one) ?
 
Where can we find an example ?
 
Thank you.
 
 
OS: Sun/ Language: Perl/Net::SNMP 5.1.1
 
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
}

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.

Reply via email to