|
Hi, I have a scenario where the agent should catch the
authorization error i.e. when the agent fails to send sanity notifications to When I use snmp_synch_response() for sending the notifications.
How I can get to know if the notification failed through the value “status”?
Or is it that I have to look into the errstat member in the struct snmp_pdu or index
or is it something else? int
status = snmp_synch_response(informTarget->sess, pdu, &response); But how do I get to know what type of error occurred (i.e. AUTHORIZATIONERROR.) Any help on this is highly appreciated. Thanks in advance, Sudhir |
------------------------------------------------------------------------- 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
