Skip To Content

Set up ArcGIS Monitor

Once ArcGIS Monitor Server is installed and authorized, you must create the initial administrator account and connect to the database. This account is different than the ArcGIS Monitor account you provided during the software installation. You'll use the account that you create to initially sign in to Monitor and configure settings.

To create the administrator account and connect to the database, complete the following steps:

  1. Start a terminal session on the Monitor Server machine.
  2. Run the command below, editing the parameters where necessary, to create the initial administrator account:

    ./<Monitor Server installation location>/bin/arcgis-monitor-server admin:security:users:add --username <username> --password <password> --name-first <first name> --name-last <last name> --email <email address> --role admin

    The following is an example:

    ./usr/lib/arcgis/monitor/server/bin/arcgis-monitor-server admin:security:users:add --username jdoe --password "my password" --name-first John --name-last Doe --email jdoe@domain.com --role admin

    Tip:

    For more information about the admin:security:users:add command, run the command with the --help parameter.

    The following is an example:

    ./usr/lib/arcgis/monitor/server/bin/arcgis-monitor-server admin:security:users:add --help

    A confirmation message appears.

  3. Run the command below, editing the parameters where necessary, to connect Monitor Server to the database repository:

    ./<Monitor Server installation location>/bin/arcgis-monitor-server admin:database:register --address <database address:port> --database <database name> --username <database username> --password <database password> --encrypt <true|false>

    The following is an example for database connections that do not require encryption:

    ./usr/lib/arcgis/monitor/server/bin/arcgis-monitor-server admin:database:register --address localhost:5432 --database monitor --username monitor --password "my database password" --encrypt false

    The following is an example for database connections that require encryption:

    ./usr/lib/arcgis/monitor/server/bin/arcgis-monitor-server admin:database:register --address localhost:5432 --database monitor --username monitor --password "my database password" --encrypt true

    Tip:

    For more information about the admin:database:register command, run the command with the --help parameter.

    The following is an example:

    ./usr/lib/arcgis/monitor/server/bin/arcgis-monitor-server admin:database:register --help

    A confirmation message appears.

You can sign in to Monitor using the initial administrator account that you created.