Bug #43738 SNMP Trap source IP is always 127.0.0.1
Submitted: 18 Mar 2009 22:51 Modified: 22 May 2009 8:58
Reporter: Mark Leith Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Server Severity:S3 (Non-critical)
Version:2.0.4.7141 OS:Any
Assigned to: Sloan Childers CPU Architecture:Any
Tags: SNMP

[18 Mar 2009 22:51] Mark Leith
Description:
The SNMP trap source IP is always set to 127.0.0.1. 

It would be nice to give the option to set the source IP to the agent's host name or primary IP address, so that hosts can be dealt with individually in the SNMP consumer. 

How to repeat:
o Create SNMP based events across a number of distinct monitored hosts
o Check the source IP for each SNMP trap

Suggested fix:
Allow the option to set the source to the agent IP/host name
[19 Mar 2009 15:37] Sloan Childers
This is a duplicate of 41361 which was fixed in the 1.3.3, 2.0.x, and 2.1.x trees.  

I double checked the 2.0.5 and latest trunk builds and the UI field is present.

Please look under Settings/Global Settings/SNMP Traps for a text field with the title "Agent Address (optional)" which allows a user to manually specify a valid hostname or IP address which gets used for the SNMP trap agent address.
[20 Mar 2009 14:35] Darren Oldag
This appears related, if not identical, to bug#42703.
[25 Mar 2009 18:37] Sloan Childers
fixed in 2.1 release branch
[25 Mar 2009 19:32] Keith Russell
Patch installed in versions => 2.1.0.1019.
[31 Mar 2009 20:05] Bill Weber
verified new changes work as designed in build 2.1.0.1020
[22 May 2009 8:58] Tony Bedford
An entry has been added to the 2.1.0 changelog:

The SNMP trap source IP was always set to 127.0.0.1.