RE: trapsink with variable ip destination
"Mike Ayers" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <83E753BE7B6A324ABB336245BAF1DAAC0DEFAD2F@mailserver.metatv-ds.metatv.com> |
> From: majid namnabat [mailto:[email protected]] > Sent: Wednesday, February 10, 2010 9:02 PM > but I can not set it. My code to set oidsnmpTargetAddrTDomain is > similar to this: > > oid oidsnmpTargetAddrTDomain[] = {1, 3, 6, 1, 6, 3, 12, > 1, 2, 1, 2,'i','n','t','e','r','n','a','l','0',0};//not accept > u_char oidsnmpUDPDomain[] = {'s', 'n', 'm', 'p', 'U', 'D', > 'P','D','o','m','a','i','n',0} LOL! I'm not giving the answer, 'cuz I'm laughing too hard, but I will give a hint: you want to set this to snmpUDPDomain, not "snmpUDPDomain". Check out RFC1906. HTH, Mike ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ 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