2012-04-19 01:27 AM
I configured both my OC & Sim to send traps to my computer.
The traps sent by the storage system show up with the correct "Agent Address" value (aka the IP of my sim)
The traps sent by OnCommand only show 127.0.0.1 in the Agent Address field
is there a way to configure OnCommand to send the right value.? (aka the DFM Server IP address)
thanks for your help
Solved! SEE THE SOLUTION
2012-04-19 06:35 AM
I tried on my OnCommand 5.0 & Trap receiver setup and I could receive traps with correct IP address as that of the DFM server.
Was just curious if you are running the trap receiver/listener on the same server as that of the DFM server(sorry for raising not so likely possibility, just wanted to confirm)?
2012-04-19 06:46 AM
This is the similar setup that I am also testing with. What kind of VM networking have you configured? Host Only/NAT/Bridged?
With which address you are able to ping from OnCommand VM to your laptop(physical) and vice-versa?
2012-04-19 06:51 AM
my VM in configured with NAT
=> IP 192.168.204.129/24 (Ethernet adapter VMware Network Adapter VMnet8)
my computer is seeing on the 192.168.60.1/24 network (Ethernet adapter VMware Network Adapter VMnet1)
they can both communicate since:
- I use the OnCommand GUI from my laptop
- the NMC is installed on my laptop
- I receive traps (it s just the IP address that come out weird...)
by the way, what are the values of the following option on your environment: dfm option list localHostName
2012-04-19 07:24 AM
Good to know that its resolved! However i think the issue more due to the NAT configuration you have because even in my case the option is not set and I can still the correct IP address of DFM server:
[root@oncommand ~]# dfm option list localHostName
Probably after setting this option SNMP traps are generated with this value rather than carrying the NAT address(which is also localhost in your case) as it was happening earlier.