Skip to content

Commit 5a9ffa5

Browse files
committed
Updated based on recommendations
I added modifying schedules section back.
1 parent b54208e commit 5a9ffa5

File tree

1 file changed

+60
-2
lines changed

1 file changed

+60
-2
lines changed

general_configuration/_topics/configuration.md

Lines changed: 60 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1469,7 +1469,7 @@ Table: workers
14691469

14701470
#### Schedules
14711471

1472-
##### Scheduling SmartState Analyses and Backups
1472+
##### Scheduling SmartState Analyses
14731473

14741474
From the **Schedules** area in **Settings**, you can schedule the
14751475
analyses of virtual machines, hosts, clusters, and datastores to keep
@@ -1537,7 +1537,7 @@ To schedule a SmartState Analysis or Compliance Check:
15371537
**All Hosts for Cluster**, **A single Host**, or **Global Filters**.
15381538

15391539
- **Database Backup**: Under **Type**, displays **Network File System**, **Samba**, **Amazon AWS S3** and **OpenStack Swift**..
1540-
1540+
15411541
7. By applying **Global Filters** within any of the above items, you
15421542
can designate which virtual machines or hosts to analyze.
15431543

@@ -1566,6 +1566,64 @@ To schedule a SmartState Analysis or Compliance Check:
15661566

15671567
12. Click **Add**.
15681568

1569+
###### Modifying a Schedule
1570+
1571+
To modify a schedule:
1572+
1573+
1. Browse to **Settings** > **Application Settings**.
1574+
1575+
2. Click on the **Settings** accordion, then click **Schedules**.
1576+
1577+
3. Click the schedule that you want to edit.
1578+
1579+
4. Click ![1847](../images/1847.png) (**Configuration**), and then click
1580+
![1851](../images/1851.png) (**Edit this Schedule**).
1581+
1582+
5. Make the required changes.
1583+
1584+
6. Click **Save**.
1585+
1586+
##### Importing and Exporting Schedules
1587+
1588+
{{ site.data.product.title_short }} provides the ability to import and export
1589+
schedules using the `import_export_schedules.rb` script:
1590+
1591+
./var/www/miq/vmdb/tools/import_export_schedules.rb -h
1592+
1593+
| Option | Description |
1594+
| ----------------------------------- | ---------------------------------- |
1595+
| \-u, --user=\<s\> | userid (default: admin) |
1596+
| \-d, --output-dir=\<s\> | Output directory (default: ./) |
1597+
| \-s, --schedule=\<s\> | Schedule name or id |
1598+
| \-o, --operation=\<s\> | Export or import (default: export) |
1599+
| \-y, --import-yaml=\<filename/uri\> | Imported yaml |
1600+
| \-h, --help | Show this message |
1601+
1602+
**Usage Example.**
1603+
1604+
Import:
1605+
1606+
./var/www/miq/vmdb/tools/import_export_schedules.rb -o import -y ./filename.yaml
1607+
1608+
Export:
1609+
1610+
./var/www/miq/vmdb/tools/import_export_schedules.rb -s 158
1611+
1612+
Note that the `import_export_schedules.rb` script works for all types of
1613+
schedules, including:
1614+
1615+
- Report
1616+
1617+
- Policy
1618+
1619+
- Alert
1620+
1621+
- SmartState Analysis
1622+
1623+
- Automation Task
1624+
1625+
- Service Template
1626+
15691627
### Access Control
15701628

15711629
Browse to **Settings** > **Application Settings**. Click

0 commit comments

Comments
 (0)