Autologin for Management Console

From NetXMS Wiki
Jump to: navigation, search

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)
-login=login Set login name
-password=password Set password, default is empty
-server=address Set server name or IP address

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.