Recreate all downtime currently registered in the system.
Synopsis
/opt/opsview/supportscripts/bin/recreate_downtime [-u <username>] [-p [password]]
Description
Fetch all downtime currently registered, delete it and then recreate it.
This is to work around an issue where either a number of hosts are moved between clusters or the datastore in that cluster has been rebuilt.
Options
Option | Purpose | Default |
---|---|---|
-v |
Output version of the script | |
-h |
Display help information | |
-u <username> |
Username | admin |
-p [password] |
Password. If the password is not provided inline, the user is prompted to provide it. | |
-t <message> |
Text added to the message of recreated downtime to show it has been recreated. | (recreated) |
Comments
0 comments
Please sign in to leave a comment.