Re: Sending informs from a specific ip address
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
2008/10/21 Glenn McAllister <[email protected]>: > Heres the problem. The snmpd.conf file is being processed before > snmp.conf. Since snmp.conf hasn't been read yet, the value for > clientaddr is NULL when we are processing the trapsess directives, > resulting in the socket binding to INADDR_ANY. What happens if you embed the 'clientaddr' directive within the snmpd.conf file? i.e. something like rwuser userblah agentaddress localhost:161,192.168.222.5:161 [snmp] clientaddr 192.168.222.5 [snmpd] trapsess -v 3 -u userblah ..... A quick test seems to indicate that this will process the clientaddr directive first, as required. Dave ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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