Specifications

VMware, Inc. 321
Chapter 19 Managing Tasks, Events, and Alarms
11 Choosetheactiontobetakenwhentheeventistriggeredandspecifythe
associatedinformation.
Theoptionsare:
Sendanotificationemail.
ProvidetheemailaddressofthenotificationrecipientintheValuefield.
SMTPsendsanotificationemail.TheSMTPmustbereadywhentheemailis
sent.TherearetwowaystosetSMTP:throughVirtualCenterorthrough
MicrosoftOutlookExpress.VirtualCentersetupisnotalwaysneeded
ifthe
SMTPsettinginOutlookExpressiscorrect.
VirtualCenterServergeneratestheemailmessagesubjectandbodytext.Only
the“to”list(receiver)isrequiredfromuserinput.Specifytheemailaddress
towhichthemessageshouldbesent.Separatemultiplerecipientswith
commasorsemicolons.See“PreparingforEmail
MessageSMTPAlarm
Notification”onpage 315.
Sendanotificationtrap.
ThereisadefaultSNMPnotificationreceiver,theVirtualCenterServer.An
SNMPtrapviewerisrequiredtoviewasenttrap.TheVirtualCenterServer
hostmustbeconfiguredtoreceiveSNMPtraps.See“PreparingforSNMP
AlarmNotification”onpage 316.
Runascript.
Ifthescriptisa.exe file,providethepathtothescripttorun.Ifthescriptis
a.batfile,providethescriptpathasanargumenttothe
c:\windows\system32\cmd.exe command.Forexample,toexecuteascript
locatedinc:\alarmscript.bat,givethescriptpathas
“c:\windows\system32\cmd.exe /c c:\alarmscript.bat”.
Theuserscriptcommandanditsargumentsmustbeformattedintoone
string.
TheuserscriptrunsinotherprocessesanddoesnotblocktheVirtualCenter
Serverfromrunning.However,thescriptconsumesserverresources,suchas
processorandmemory.
{eventDescription} — full formatted message for alarm triggering
event
{targetName} — name of the entity name where the alarm is triggered
{alarmName} — name of the alarm that is triggered
{triggeringSummary} — summary info of the alarm with triggering
values
{declaringSummary} — summary info of the alarm declaration