Autologin for Management Console

From NetXMS Wiki
Jump to navigation Jump to search
This Wiki is deprecated and we are are currrently migrating remaining pages into product documentation (Admin Guide, NXSL Guide)

= Desktop Console =

Starting from version 1.2.4, it is possible to connect management console (nxmc) to server automatically without login dialog. There are additional command line options for that:

-auto Connect to server automatically without login dialog.
-dashboard=dashboard Automatically open given dashboard after login (either dashboard object ID or name can be specified).
-fullscreen Open application window in full screen mode.
-exit-after-open Exit management console immediately after open. Can be used together with -take-map-snapshot option.
-fullscreen-dashboard=dashboard Automatically open given dashboard in full screen mode after login (either dashboard object ID or name can be specified).
-login=login Set login name.
-password=password Set password, default is empty.
-server=address Set server name or IP address.
-take-map-snapshot=map,file Save snapshot of given network map (either map object ID or name can be specified) to given file.

For example, to connect management console to server 10.0.0.2 as user guest with empty password, use command

nxmc -auto -server=10.0.0.2 -login=guest

Web Console

Starting from version 1.2.7, it is possible to connect web management console to server automatically without login dialog. There are additional URL parameters for that:

auto Connect to server automatically without login dialog
dashboard=dashboard Automatically open given dashboard after login (either dashboard object ID or name can be specified)
login=login Set login name, default is guest
password=password Set password, default is empty
server=address Set server name or IP address

For example, to connect web management console to server 10.0.0.2 as user guest with empty password and open dashboard called "SystemOverview", use URL

http://server/nxmc?auto&server=10.0.0.2&login=guest&dashboard=SystemOverview

Notes

Dashboard option available starting from version 1.2.17.