Common Issues
This page covers frequently encountered problems and their solutions.
Password Reset
If you have lost the administrator password or locked out all accounts, you can reset the built-in system account using the nxdbmgr utility.
| The server must be stopped while performing the password reset operation. |
Using nxdbmgr
systemctl stop netxms-server
nxdbmgr reset-system-account
systemctl start netxms-server
net stop NetXMSCore
nxdbmgr reset-system-account
net start NetXMSCore
The command asks for confirmation, then unlocks the system account, sets a new random password, and prints that password to the terminal.
The account is also flagged to require a password change at first login.
After resetting:
-
Log in as
systemwith the password printed bynxdbmgr(you will be asked to change it) -
In Configuration > Users and groups, change the password for your admin user account
-
Log in as the admin user
-
Disable the
systemaccount
Do not leave the system account enabled after recovery.
|
Locked Account Recovery
If an account is locked due to too many failed login attempts but an administrator password is known, log in as the administrator and unlock the account through Configuration > Users and groups.
If no administrator can log in, stop the server and unlock the account with nxdbmgr unlock-user <login>.
Account locking is controlled by the Server.Security.IntruderLockoutThreshold server configuration variable (failed attempts before lockout; default 0 = locking disabled).
The lockout duration is set by Server.Security.IntruderLockoutTime (minutes, default 30).
Server Will Not Start
Database Connection Errors
If the server fails to start with database connection errors:
-
Verify the database server is running
-
Check connection parameters in
netxmsd.conf(DBDriver,DBServer,DBName,DBLogin,DBPassword) -
Test the database connection manually:
PostgreSQLpsql -h <db-server> -U <db-user> -d <db-name>MySQL/MariaDBmysql -h <db-server> -u <db-user> -p <db-name> -
Check that the database driver file exists in the server library directory
-
Verify firewall rules allow connections from the NetXMS server to the database server
Port Already in Use
If the server reports that the listening port is already in use:
-
Check if another instance of
netxmsdis already running:ps aux | grep netxmsd -
Check what process is using the port:
ss -tlnp | grep 4701 -
Stop the conflicting process, or change the client listener port (server configuration variable
Client.ListenerPort, default 4701) or the bind address (ListenAddressinnetxmsd.conf)
Crash Dumps (Windows)
When running on Windows, the server can create crash dumps.
To enable crash dump generation, add the following to netxmsd.conf:
CreateCrashDumps = yes
DumpDirectory = C:\NetXMS\crash
DumpDirectory must point to a directory writable by the server process.
After each crash, the server creates an info file (basic crash information and call stack) and an mdmp file (minidump for debugger analysis).
A crash dump can also be forced from the server debug console using the dump command (Windows only) or raise access, which crashes the server on any platform; the dump file is still created on Windows only (on other systems, rely on OS core dumps if enabled).
When reporting crashes to the development team, provide:
-
The crash dump file
-
The server log file with debug level 1 or above
-
The server version (
netxmsd -v) -
Operating system and version
-
Database type and version
Agent Connection Issues
Agent Not Responding
If the server cannot communicate with an agent:
-
Verify the agent is running on the target system:
systemctl status netxms-agent -
Check that the agent is listening:
ss -tlnp | grep 4700 -
Test connectivity from the server to the agent:
nxget <agent-host> Agent.Version -
Check firewall rules — port 4700/TCP must be open from server to agent for direct connections, or port 4703/TCP from agent to server for tunnel connections
-
Verify the server’s IP is in the agent’s
MasterServerslist innxagentd.conf -
Check for shared secret mismatch between server and agent configuration
Agent Tunnel Issues
For agents using tunnel connections:
-
Check tunnel status in the management client under Configuration > Agent tunnels
-
Verify the
ServerConnectionaddress is correct innxagentd.conf:ServerConnection = <server-address> MasterServers = <server-address> -
If using certificates, verify the certificate chain is valid and not expired
-
Check the agent log for TLS handshake errors
SNMP Issues
SNMP Not Working
If NetXMS cannot collect SNMP data from a device:
-
Verify SNMP is enabled on the target device
-
Check the SNMP community string or v3 credentials configured on the node object match the device configuration
-
Verify access control on the device or firewall allows connections from the NetXMS server
-
Test SNMP connectivity from the NetXMS server:
snmpwalk -v2c -c <community> <target-ip> system -
Check that UDP port 161 is open between the server and the target device
-
For SNMPv3, verify that the authentication and privacy settings match exactly (protocol, password, engine ID)
-
If a device is not recognized as SNMP-capable, it may not respond to the OIDs probed during detection: sysObjectID (
.1.3.6.1.2.1.1.2.0) and sysDescr (.1.3.6.1.2.1.1.1.0), plus driver-specific OIDs. Set the node custom attributesnmp.testoidto any OID supported by the device to override the detection OID.
SNMP Traps Not Received
If SNMP traps are not being received:
-
Verify the NetXMS server is configured to listen for traps (default port 162)
-
Check that the trap sender is configured to send traps to the NetXMS server IP
-
Verify no other application (e.g.,
snmptrapd) is already bound to UDP port 162:ss -ulnp | grep 162 -
Check the server log for trap processing errors (enable debug tag
snmp.trap) -
Ensure the sending device exists as a node in NetXMS — traps from unknown sources are discarded by default
Data Collection Issues
DCI Reports Data Collection Errors
A data collection error (shown in Last Values as consecutive collection failures, or a DCI switching to Not supported status) indicates the server was unable to retrieve the metric value.
Common causes:
-
Agent is unreachable — check agent connectivity (see Agent Not Responding)
-
Metric name is incorrect — for agent metrics, verify the exact name with
nxget -I <host>or the metric selection dialog in the DCI editor -
SNMP OID does not exist on the device — open MIB Explorer from the node context menu and use its Walk action to verify
-
Web service endpoint is unreachable or returning unexpected data
-
Transformation script has a runtime error — check the server log for script errors (logged under the
scriptsdebug tag)
Historical Data Gaps
If you see gaps in historical data:
-
Check if the server was running during the gap period
-
Verify the DCI polling interval has not been changed
-
Check that the DCI’s retention time is not causing premature data deletion (a DCI uses either its own retention time or, when set to Server default, the current value of the
DataCollection.DefaultDCIRetentionTimeserver configuration variable — lowering that variable shortens retention for all such DCIs at the next housekeeper run) -
Look for database-related warnings in the server log during the gap period
-
For SNMP-based DCIs, check if the target device was unreachable during that period
Web Management Console Issues
Cannot Connect to Web Console
If the web management console is not accessible:
-
Verify the web server (Tomcat, Jetty, or application server) is running
-
Check that the web console configuration (
nxmc.propertiesor other configuration sources) points to the correct NetXMS server address — see Web Console Configuration -
Verify the server is accepting client connections on port 4701
-
Check the web application logs for connection errors
-
If using HTTPS, verify the TLS certificate is valid and not expired
Autologin for Management Client
The management client supports automatic login for scenarios such as kiosk displays, NOC screens, and unattended dashboards.
For detailed autologin configuration, including command-line parameters and security considerations, see Autologin for Management Client in the User Management section.
Performance Issues
Server Running Slowly
If the NetXMS server becomes slow or unresponsive:
-
Check CPU and memory usage of the
netxmsdprocess -
Monitor thread pool utilization using the
Server.ThreadPool.*internal metrics on the management server node (e.g.,Server.ThreadPool.Load(POLLERS),Server.ThreadPool.Usage(DATACOLL)) -
Check the database server performance — slow queries often cause overall slowness
-
Review the number of monitored nodes and DCIs — ensure thread pool sizes are adequate:
Configuration Variable
Purpose
ThreadPool.Poller.MaxSizeIncrease for large-scale environments (default: 250)
ThreadPool.DataCollector.MaxSizeIncrease if data collection queues are backing up (default: 250)
-
Enable debug tag
db.querytemporarily to identify slow database queries -
Check disk I/O on the database server
For detailed information on debug logging and diagnostics, see Diagnostics. For debug console commands, see Debug Console.