On Thu, 2006-01-05 at 20:32 +0200, Makavy, Erez (Erez) wrote: > I ment send traps through the master agent. (not to, sorry)
No - the "snmptrap" command communicates directly with the trap receiver (e.g. snmptrapd). It doesn't try to work through the agent (which may not even be running). > 2) if not then how does the snmptrap access the USM and VACM modules? It doesn't. You supply the username, and authentication/privacy settings on the command line, via suitable command-line options. This is exactly the same as for any other command-line tool. The USM and VACM modules are used by the trap *receiver* to decide whether to process the trap or not. But the "snmptrap" (sending) command doesn't care. > 1) doesn't the system sending the trap verify that the trap > (notificaiton) OID is valid in the View ? No. Strictly speaking, it probably should. But neither the "snmptrap" command-line tool, nor the trap generation elements of the Net-SNMP agent currently implement this. Dave ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ 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
