2.8.8 Import/Export

The Import/Export system lets you export or delete custom rules and graphs that have been imported into the system so that you can transfer them to another MySQL Enterprise Monitor User Interface instance. You can also use this screen to import new custom rules and graphs.

To export rules or graphs:

  1. Select the rules or graphs that you want to export. You can select multiple items by selecting the checkbox against each rule or graph.

  2. Click export.

The custom rules and graphs are saved using a filename of the form custom-export-DATE-TIME.jar, where DATE is the date of export in international format (YYYYMMDD) and TIME is the time (HHMM).

To delete rules or graphs:

  1. Select the rules or graphs that you want to export. You can select multiple items by selecting the checkbox against each rule or graph.

  2. Click delete.

  3. A confirmation dialog asks you to confirm that the rule or graph should be deleted. Data collections and the corresponding rules are unscheduled from all servers on which the rules have been applied. You cannot undo the operation; to re-enable the rules and graphs at a later date, export them first, then delete them so that you can re-import the custom graphs.

  4. To confirm deletion, click delete. To cancel deletion, click cancel.

You can import custom rules and graphs by using the import function. You can use an XML file, or a previously exported jar file.

To import custom rules or graphs:

  1. Click Choose File. This presents you with a custom dialog so that you can choose a file on your client computer to be uploaded to the MySQL Enterprise Monitor User Interface. Locate the file, and click Choose.

  2. Click import.

  3. A notification window appears indicating the number of graphs and rules imported.

For more information on writing new rules, custom data items, and creating new graphs, see Chapter 4, Customizing MySQL Enterprise Monitor.