I can send SNMPv2 traps succesfully and am now trying to send SNMPv3 traps using Authentication and No Privac y with SHA being used for Authentication. My code looks like the following:
my $host = '127.0.0.1'; my $agent = new NetSNMP::agent(); my $session = new SNMP::TrapSession(DestHost => $host, SecName => "guest1", SecLevel => "authNoPriv", AuthProto => "SHA", AuthPass => "password", Port => 162, Version => '3'); $session->trap(oid => $trapoid, uptime => $agent->uptime()); In the above code $session is not created. Does anyone know what I'm doing wrong with the call to new SNMP::TrapSession?? Is there any other configuration I have to set up to send an SNMPv3 trap? Regards, Ali Please consider the environment before printing this email ----------------------------------------------- This email and any attached files contains company confidential information which may be legally privileged. it is intended only for the person(s) or entity to which it is addressed and solely for the purposes set forth therein. If you are not the intended recipient or have received this email in error please notify the sender by return, delete it from your system and destroy any local copies. It is strictly forbidden to use the information in this email including any attachment or part thereof including copying, disclosing, distributing, amending or using for any other purpose. In addition the sender excludes all liabilities (whether tortious or common law) for damage or breach arising or related to this email including but not limited to viruses and libel.
<<image/gif>>
------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users