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 this account to initially sign in to Monitor and configure settings.
To create the administrator account and connect to the database, complete the following steps:
Open a command prompt window on the Monitor Server machine.
Start a terminal session on the Monitor Server machine with the ArcGIS Monitor account.
Run the command below, editing the parameters where necessary, to create the initial administrator account:
<Monitor Server installation location>\bin\arcgis-monitor-server.exe admin:security:users:add --username <username> --password <password> --name-first <first name> --name-last <last name> --email <email address> --role admin<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 adminThe following is an example:
"C:\Program Files\ArcGIS\Monitor\Server\bin\arcgis-monitor-server.exe" admin:security:users:add --username jdoe --password "my password" --name-first John --name-last Doe --email jdoe@example.com --role admin$HOME/arcgis/monitor/server/bin/arcgis-monitor-server admin:security:users:add --username jdoe --password "my password" --name-first John --name-last Doe --email jdoe@example.com --role adminTip:
For more information about the
admin:security:users:addcommand, run the command with the--helpparameter.The following is an example:
"C:\Program Files\ArcGIS\Monitor\Server\bin\arcgis-monitor-server.exe" admin:security:users:add --help$HOME/arcgis/monitor/server/bin/arcgis-monitor-server admin:security:users:add --helpA confirmation message appears, indicating that the user was added.
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.exe admin:database:register --address <database address:port> --database <database name> --username <database username> --password <database password> --encrypt <true|false><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:
"C:\Program Files\ArcGIS\Monitor\Server\bin\arcgis-monitor-server.exe" admin:database:register --address localhost:5432 --database agmdb --username agm --password "my database password" --encrypt false$HOME/arcgis/monitor/server/bin/arcgis-monitor-server admin:database:register --address localhost:5432 --database agmdb --username agm --password "my database password" --encrypt falseThe following is an example for database connections that require encryption:
"C:\Program Files\ArcGIS\Monitor\Server\bin\arcgis-monitor-server.exe" admin:database:register --address localhost:5432 --database agmdb --username agm --password "my database password" --encrypt true$HOME/arcgis/monitor/server/bin/arcgis-monitor-server admin:database:register --address localhost:5432 --database agmdb --username agm --password "my database password" --encrypt trueTip:
For more information about the
admin:database:registercommand, run the command with the--helpparameter.The following is an example:
"C:\Program Files\ArcGIS\Monitor\Server\bin\arcgis-monitor-server.exe" admin:database:register --help$HOME/arcgis/monitor/server/bin/arcgis-monitor-server admin:database:register --helpA confirmation message appears, indicating that the database is registered.
You can sign in to Monitor using the initial administrator account that you created.