NetOps Customer Validation (aka IM Pre Release) 1

 View Only

[Solved] SNMP Notification Source IP 127.0.0.1

  • 1.  [Solved] SNMP Notification Source IP 127.0.0.1

    Posted Feb 03, 2014 03:20 PM

    We recently experimented with having PC emit traps with a Notification policy and we were able to get traps to arrive in Spectrum with a lot of very useful information.  Unfortunately, each trap had a source IP of 127.0.0.1 which made them unusable in Spectrum.  Is there a way we can change this behavior in PCs Event Manager?  I've examined the config files and didn't see anything immediately obvious.  Below is a sample output from a tcpdump session:

    (edit: output didn't wrap so I inserted line breaks)

    11:31:48.029147 IP (tos 0x0, ttl  53, id 0, offset 0, flags [DF], proto: UDP (17), length: 1053)
    capc01.43972 > spectrum01.snmptrap:  { SNMPv1 C=roTrap { Trap(1004)  E:4498.7 127.0.0.1
    enterpriseSpecific s=1 228790845 [|snmp] } }

     

    Resolution - I updated the /etc/hosts file on the Performance Center server to point at the actual IP address of the box instead of the loopback address and now traps are sourced from that IP.