Restoring the default vCenter Server Appliance alarms
search cancel

Restoring the default vCenter Server Appliance alarms

book

Article ID: 307183

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

This article provides steps to Restore default alarms for vCenter Server Appliance after being deleted.

Environment

VMware vCenter Server Appliance 6.7.x

Resolution

  1. Take a snapshot of your vCenter VM, for best snapshot practices please see: Snapshot Best practices for vCenter Server Virtual Machines
  2. To restore all default alarms, please run the attached script recreateVpxdAlarms.sh.
  3. It will stop all services, clean up alarms from VCDB, remove alarm version from database, that triggers default alarms recreation and start all services again.
  4. Go to SSH of your vCenter, login with root and type command shell and run the following commands :
    # cd /tmp
    # vi recreateVpxdAlarms.sh
    # chmod 777 recreateVpxdAlarms.sh
    # ./recreateVpxdAlarms.sh

Note:

  • Monitoring alarms will be created/registered when an event happens & it is not possible to know about every alarm in the system.
  • Custom alarms must be created manually.

Attachments

recreateVpxdAlarms get_app