Can't get clientaddr to work..
Michael Galea <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am looking for a way to do cause all SNMP traps generated by my device (running net-SNMP 5.2.1.2 on Debian) to use a specific IP address as the trap source in the trap message. I have followed other threads that reccommend adding the "clientaddr" command to snmp.conf, but have been unsucessfull at geting that to work. My snmp.conf file has one line in it, and that is: clientaddr 10.0.0.32. I want traps to be reported with this address and not the 10.0.0.231 address native to my forwarding ethernet port. A "snmpd -H 2>&1 | grep -i clientaddr" returns "clientaddr string". I have run snmpd with "-Dread_config" and get: localhost snmpd[24844]: /etc/snmp/snmp.conf:1 examining: clientaddr 10.0.0.232 localhost snmpd[24844]: read_config: localhost snmpd[24844]: Found a parser. Calling it: clientaddr / 10.0.0.232 Thanks -- Michael Galea 64 Jardin Drive, Unit 3G Concord, Ontario, Canada, L4K 3P3 Telephone: (905) 760-7799 Ext. 245 Fax (905) 760-9909 email: [email protected] web site: www.ruggedcom.com ------------------------------------------------------- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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