VMware Cloud Community
konradclapa
Contributor
Contributor

SNMP TRAPS problem

Hi is somoene able to explain step by step how to send a SNMP trap when for example virtual machine is turned off.

i have some application which can read the snmp traps, but after using wirehark and switching of the virtual machine, Í did not collect any SNMP traps packet comming to the machine though i have configured alerts and dastination of SNMP traps. For this reason i guess that there is somethinng wrong configured in VMware side.

Thanks a lot for help

esx 3.0.1

virtual infrastructure 2.0.1

Tags (1)
Reply
0 Kudos
6 Replies
AWo
Immortal
Immortal

Do you want to receive them from the ESX server or VC?

Have you configured SNMP on the ESX server already?

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
Reply
0 Kudos
konradclapa
Contributor
Contributor

Receiving it from the VC sounds good, the only modification i have made were in VC i have set allerts for the virtual machine (POWER OFF) and set it to send a trap.

I have also set in Administration-> VirtualCenterManagemnet server configuration SNMP receivers. This is basiacly all

Reply
0 Kudos
AWo
Immortal
Immortal

Setting the receiver only configures the destination.

You also need to set up alarms. Within an alarm you can configure the actions to take if the specified state occurs.

Open the "Alarms" tab for an object (Datacenter, ESX Host, Guest) and clock on "Definitions". There you can add new alarms or edit existing ones. One of the actions you can choose is "Send a notification trap" which generates a SNMP trap.


If you found this information useful, please consider awarding points for "Correct" or "Helpful" answers/replies. Thanks!!

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
konradclapa
Contributor
Contributor

Yes this is all i have configured but no traps are being sent, the alert occures in the VC Alert tabs but when, but definitelly the traps do not reach the destination.

Is this all that i have to configure?

Cheers

Reply
0 Kudos
AWo
Immortal
Immortal

I guess this helps. There was a change in the MIB's regarding the OID.

http://communities.vmware.com/message/1011980#1011980

and there's a link to

http://communities.vmware.com/message/841499;jsessionid=D9B010BA4680EF48CF0D99C09B0F1160?decorator=p...


If you found this information useful, please consider awarding points for "Correct" or "Helpful" answers/replies. Thanks!!

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
Reply
0 Kudos
AWo
Immortal
Immortal

Look at my thread, last post: http://communities.vmware.com/message/1127262#1127262


If you found this information useful, please consider awarding points for "Correct" or "Helpful" answers/replies. Thanks!!

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
Reply
0 Kudos