RE: Doubt related to SNMPGET
Subrahmanya Hegde <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Somenath For item 1: You can return GEN_ERROR or other specific error(one example: Memory failed error etc) For item 2: Please Refer RowStatus TC in SNMPv2-SMI. It talks about what agent need to return when the row already exists: For item 3, 4, 5: GEN_ERROR seems to be the correct for SNMP SET requests thx Subra [email protected] wrote: I need to handle the following error scenarios 1) Database management system unable to create row in table 2) While creating a row in the table which already exist in Data base 3) Unknown error return by subsystem 4) File operation error 5) Inter process communication failed Regards, Somenath -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield Sent: Friday, March 16, 2007 3:24 PM To: Somenath Pal (WT01 - Broadband Networks) Cc: [email protected] Subject: Re: Doubt related to SNMPGET On 16/03/07, [email protected] wrote: > 1) Is there any error condition such that SNMP agent will not send any > response PDU to manager? Yes. If you specify an unknown community (with SNMPv1 or SNMPv2c), then the agent simply drops the request altogether. It does not send back any form of error response. > In case of error condition which is not known to SNMP agent (which is > return by the subsystem responsible for implementing MIB attribute) > what SNMP agent should respond to manager? Can you be a bit more specific about exactly what situation you envisage? There is an error 'genError' which might be suitable, but we'd need to know a bit more detail. Dave ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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 --------------------------------- Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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