Skip To Content

Configure database settings

You can view ArcGIS Monitor database connection details, configure data retention policies, and register and unregister a Monitor database on the Administration page.

View database connection details

You must be assigned the Administrator role to view Monitor database connection details.

To view database connection details, complete the following steps:

  1. Access Monitor if necessary.

    The Home page appears.

  2. Click Administration.

    The Administration page appears.

  3. Click Database on the side of the Administration page.

    The database page appears with the database's connection status and details.

Edit database connection settings

You must be assigned the Administrator role to edit Monitor database connection settings.

To edit database connection settings, complete the following steps:

  1. Access Monitor if necessary.

    The Home page appears.

  2. Click Administration.

    The Administration page appears.

  3. Click Database on the side of the Administration page.

    The database page appears with the database's connection status and details.

  4. Next to Database connection, click Edit.

    The Database connection settings dialog box appears.

  5. Update the database connection settings as necessary.
  6. Click Register and Restart.

    Monitor Server restarts and connects to the specified database.

Configure data retention policies

You can configure data retention policies for the Monitor database to meet your organization's needs. You must be assigned the Administrator role to configure data retention policies.

To configure data retention policies, complete the following steps :

  1. Access Monitor if necessary.

    The Home page appears.

  2. Click Administration.

    The Administration page appears.

  3. Click Database on the side of the Administration page.

    The database page appears with the database's connection status and details.

  4. In the Data retention policy section, click Edit.

    The Configure data retention policy dialog box appears.

  5. Provide a value in the Data retention text box next to Component logs to specify the number of days that component logs will be retained in the database.
  6. Provide a value in the Data retention text box next to Metrics data to specify the number of days that metrics data will be retained in the database.
  7. Provide a value in the Data retention text box next to Alerts to specify the number of days that alerts will be retained in the database.
    Tip:

    Click Set to defaults to return the Data retention values to their default settings.

  8. Click the Set scheduled daily maintenance time drop-down arrow and choose the time to perform daily database maintenance tasks.

    It is recommended that you schedule the database maintenance tasks to be performed outside of business hours.

    Note:

    The time that appears in the Set scheduled daily maintenance time drop-down menu is automatically adjusted based on your operating system's time zone.

  9. Click Save.

    The data retention policies are updated and appear in the Data retention policy section on the database page.

  10. Optionally, click Run now under Data retention policy to run the database maintenance task using the updated data retention policies.

Unregister the Monitor database

When the Monitor database connection is unregistered, it only disconnects the database, leaving the existing ArcGIS Monitor Information Model intact. You must be assigned the Administrator role to unregister the Monitor database connection.

To unregister the Monitor database connection, complete the following steps:

  1. Access Monitor if necessary.

    The Home page appears.

  2. Click Administration.

    The Administration page appears.

  3. Click Database on the side of the Administration page.

    The database page appears with the database's connection status and details.

  4. Click Unregister next to Unregister database connection.

    A confirmation message appears.

    Caution:

    Unregistering a database connection is permanent and cannot be undone.

  5. Click Unregister and restart.

    A confirmation message appears, indicating that the database has been unregistered and Monitor is restarting. You must register a Monitor database before you can resume monitoring.

Register a Monitor database

You must be assigned the Administrator role to register a Monitor database.

To register a database connection, complete the following steps:

  1. Access ArcGIS Monitor if necessary.

    The Home page appears with a message that indicates a database connection failure.

  2. Click Configure database.

    The Database page appears.

  3. Click Register.
  4. Provide connection information for the Monitor database repository by doing the following:
    1. Provide the fully qualified domain name and port number or IP address and port number of the database instance in the Address text box.
      Tip:

      The default port number is 5432.

    2. Provide the name of the database in the Database text box.
    3. Provide the credentials for the database in the Username and Password text boxes.
    4. Click Connect.
    Tip:

    Monitor includes the files to connect to PostgreSQL, so you don't need to install a database client. If PostgreSQL is installed on a machine other than where Monitor Server is installed and you cannot connect to the database, ensure that the database is configured to allow remote connections.

  5. Click Register and restart.

    A confirmation message appears, indicating that the database has been registered and Monitor is restarting.

Related topics