VMware VC-SRM4-A Developer's Guide - Page 35

SNMP Traps, MIB Names for SNMP Traps, SNMP Traps and Object IDs

Page 35 highlights

Appendix A SSL Certificates and SNMP Traps SNMP Traps SRM provides Simple Network Management Protocol (SNMP) traps that collect information sent by the API. All traps are compliant with the SNMPv1 type. Information provided by the traps can be used to initiate actions by client applications. Callers of the SRM API interface should listen for the SNMP traps listed below. You might need to configure the vCenter Server to forward the SNMP traps to the registered SNMP Server. The MIB file is located in the following directory: \www\VMWARE-SRM-TRAPS-5_0.MIB MIB Names for SNMP Traps Table A‐1 gives a description of the SNMP traps according to their names in the MIB file. The names in this list can be prefaced by either vmwareSrm (Site Recovery Manager) or oidDr (object ID data recovery) Table A-1. SNMP Traps in the MIB SNMP Trap What Trap Indicates RecoveryPlanExecuteTestBegin Signaled on the recovery site when a recovery test is initiated. RecoveryPlanExecuteTestEnd Signaled on the recovery site when a recovery test has completed. If an error occurred it is available as [data.Error] RecoveryPlanExecuteBegin Signaled on the recovery site when a recovery is initiated. RecoveryPlanExecuteEnd Signaled on the recovery site when a recovery has completed. If an error occurred it is available as [data.Error] RecoveryVmBegin Signaled when the recovery virtual machine was successfully created. If an error occurs before the virtual machine's ID is known, the event is not fired. RecoveryVmEnd Signaled after the last post‐power on script has completed, or after a recovery‐stopping error has occurred for the virtual machine. RecoveryPlanPromptDisplay The recovery plan is displaying prompt [data.PromptKey] and is waiting for user input. PromptKey is a unique identifier. RecoveryPlanPromptResponse The recovery plan received an answer to prompt [data.PromptKey] amd os no longer paused waiting for user input. RecoveryPlanServerCommandBegin Signaled on the recovery site when SRM starts to run a Callout command on the SRM server. RecoveryPlanServerCommandEnd Signaled on the recovery site when SRM has finished running a Callout command on the SRM server. RecoveryPlanVmCommandBegin Signaled on the recovery site when SRM has started to run a Callout command on a recovered virtual machine. RecoveryPlanVmCommandEnd Signaled on the recovery site when SRM has finished running a Callout command on a recovered virtual machine. RecoveryPlanExecuteReprotectBegin Signaled on the recovery site when a reprotect is initiated. RecoveryPlanExecuteReprotectEnd Signaled on the recovery site when a reprotect has completed. If an error occurred it is available as [data.Error] RecoveryPlanExecuteCleanupBegin Signaled on the recovery site when a test cleanup is initiated. RecoveryPlanExecuteCleanupEnd Signaled on the recovery site when a test cleanup has completed. If an error occurred it is available as [data.Error] SNMP Traps and Object IDs The MIB objects are listed below with IDs, then the SMNP traps themselves with IDs. MIB_OBJECT oidDrVmName oidDrRecoveryName oidDrPromptString oidDrRecoveryType oidDrRecoveryState ID 1.3.6.1.4.1.6876.51.1.1 1.3.6.1.4.1.6876.51.1.2 1.3.6.1.4.1.6876.51.1.3 1.3.6.1.4.1.6876.51.1.4 1.3.6.1.4.1.6876.51.1.5 VMware, Inc. 35

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38

VMware, Inc.
35
Appendix A
SSL Certificates and SNMP Traps
SNMP Traps
SRM provides Simple Network Management Protocol (SNMP) traps that collect information sent by the API.
All traps are compliant with the SNMPv1 type. Information provided by the traps can be used to initiate
actions by client applications. Callers of the SRM API interface should listen for the SNMP traps listed below.
You might need to configure the vCenter Server to forward the SNMP traps to the registered SNMP Server.
The MIB file is located in the following directory:
<installdir>\www\VMWARE-SRM-TRAPS-5_0.MIB
MIB Names for SNMP Traps
Table A
1
gives a description of the SNMP traps according to their names in the MIB file. The names in this list
can be prefaced by either
vmwareSrm
(Site Recovery Manager) or
oidDr
(object ID data recovery)
SNMP Traps and Object IDs
The MIB objects are listed below with IDs, then the SMNP traps themselves with IDs.
MIB_OBJECT
ID
oidDrVmName
1.3.6.1.4.1.6876.51.1.1
oidDrRecoveryName
1.3.6.1.4.1.6876.51.1.2
oidDrPromptString
1.3.6.1.4.1.6876.51.1.3
oidDrRecoveryType
1.3.6.1.4.1.6876.51.1.4
oidDrRecoveryState
1.3.6.1.4.1.6876.51.1.5
Table A-1.
SNMP Traps in the MIB
SNMP Trap
What Trap Indicates
RecoveryPlanExecuteTestBegin
Signaled on the recovery site when a recovery test is initiated.
RecoveryPlanExecuteTestEnd
Signaled on the recovery site when a recovery test has completed.
If an error occurred it is available as [data.Error]
RecoveryPlanExecuteBegin
Signaled on the recovery site when a recovery is initiated.
RecoveryPlanExecuteEnd
Signaled on the recovery site when a recovery has completed.
If an error occurred it is available as [data.Error]
RecoveryVmBegin
Signaled when the recovery virtual machine was successfully created. If an error
occurs before the virtual machine’s ID is known, the event is not fired.
RecoveryVmEnd
Signaled after the last post
power on script has completed, or after a
recovery
stopping error has occurred for the virtual machine.
RecoveryPlanPromptDisplay
The recovery plan is displaying prompt [data.PromptKey] and is waiting for
user input. PromptKey is a unique identifier.
RecoveryPlanPromptResponse
T
he recovery plan received an answer to prompt [data.PromptKey] amd os no
longer paused waiting for user input.
RecoveryPlanServerCommandBegin
Signaled on the recovery site when SRM starts to run a Callout command on the
SRM server.
RecoveryPlanServerCommandEnd
Signaled on the recovery site when SRM has finished running a Callout
command on the SRM server.
RecoveryPlanVmCommandBegin
Signaled on the recovery site when SRM has started to run a Callout command
on a recovered virtual machine.
RecoveryPlanVmCommandEnd
Signaled on the recovery site when SRM has finished running a Callout
command on a recovered virtual machine.
RecoveryPlanExecuteReprotectBegin
Signaled on the recovery site when a reprotect is initiated.
RecoveryPlanExecuteReprotectEnd
Signaled on the recovery site when a reprotect has completed.
If an error occurred it is available as [data.Error]
RecoveryPlanExecuteCleanupBegin
Signaled on the recovery site when a test cleanup is initiated.
RecoveryPlanExecuteCleanupEnd
Signaled on the recovery site when a test cleanup has completed.
If an error occurred it is available as [data.Error]