Hi,
Can anyone tell me how to set the source IP address for my SNMP traps.
I have an embedded linux application needs to send traps on certain error
conditions. I've compiled and built the net-snmp code on my build machine.
My application links into snmplib to send the traps. Everything works fine on
the build machine.
When I ftp the executable down onto the target (also a Debian box), it runs OK but when it generates the snmp trap it sends them using the source ip of the build machine.
Anyone know how to change the default behaviour to use the local IP - I'm eventually going to need to download the executable to multiple machines and I can't afford to have specific builds for each.
thanks, Ian.
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
