When install version 6.2.5 of NetXMS and select SQLite database, installer hangs on end. When run installer with log switch, all it's ok.
saksham.adyso
Posts
-
Installer hangs on SQLite database selection -
How to configure MCPThe changelog mentions a new MCP server. I assume the module is enabled by setting `Module=mcp` in the configuration file. How do I set the port number and endpoint name? Is it necessary to enable the NetXMS web service on the server for the MCP server to work?
I couldn’t find any information on this topic in the documentation, except for the AI tools. -
It's not possible to download linux agentFrom download page https://netxms.com/downloads/ is not possible to download linux agent (nxagent-6.0.5-x86-static.tar.gz). Error 404 is displayed.
-
Properties issueIf I change the properties of any object and save them. These properties will only be displayed if I display the Properties window via the object's context menu. If I display the Properties window via a button on the toolbar, the changed properties are not displayed.
-
$node.ipAddr is unspecfunction main()
{
LogFile = IO::OpenFile("C:\\nx\\netxms.txt", "a");
if (LogFile != null)
{
LogFile.writeLine($node.ipAddr);
LogFile.close();
}
} -
Client startup failsI use new version of client.
-
Client startup failsI need to run Client 5.0.6 on Windows Server 2012 R2, but the startup fails and the application does not start. Nothing is logged to the log. --debug switch does not create any event. The newer version of Client works fine. But I need to prepare the old server for migration.
-
$node.ipAddr is unspecI use exactly this $node variable in the script and write its ipAddr property to a file. In the old version the UNSPEC text was written to the file and in the latest version nothing was written. Same for the other variables of the $node object (DiscoveredNode).
-
$node.ipAddr is unspecScript is in script library and I select this script for discovery filter.
-
$node.ipAddr is unspecI use a custom script where I write the state of a variable to a file. I don't use the built-in hook script.
-
$node.ipAddr is unspecI've updated to the latest version. Unfortunately now nothing is being written. I tried to do a clean install of NetXMS and the result is the same.
-
$node.ipAddr is unspecI have made a filter script that writes a DiscoveredNode object to a text document, code: $node.ipAddr. But the "unspec" text is written to the file.
I made this script just to understand how the filter script works.
If I don't use a script, everything works. So there is no problem in the search. Why is the IP address of the object not written, but the text unspec? -
ConfigurableQuery is probably not working properlyQuotes removed:
2025.04.08 10:13:13.718 *D* [comm.cs.1 ] Requesting metric "Database.Data(foo)"
2025.04.08 10:13:13.718 *D* [dbquery ] H_DirectQueryConfigurable: Executing query "SELECT `name` FROM `test` WHERE `description` LIKE ?;" in database "id1"
Result is fine.
But if I add my own text to the value (e.g. LIKE %?), an error is logged You have an error in your SQL syntax.
The metric only works when I put the whole condition in the metric brackets (it must not be in the configuration file). -
ConfigurableQuery is probably not working properlyIt seems that ? is not going to be replaced by a metrics argument.
2025.04.07 13:24:03.180 *D* [comm.cs.1 ] Requesting metric "Database.Data(foo)"
2025.04.07 13:24:03.180 *D* [dbquery ] H_DirectQueryConfigurable: Executing query "SELECT `name` FROM `test` WHERE `description` LIKE "?";" in database "id1" -
ConfigurableQuery is probably not working properlyIf I create a configuration for the Query parameter, everything works correctly. NetXMS connects to the database and the DCI returns the correct value. If I change the same Query parameter to a ConfigurableQuery parameter (and modify its value according to the documentation) and modify the metric to the query name and put a value in parentheses to replace the ? in the query, an empty result set is always returned. I have verified this on three drivers (mssql, mysql and pgsql). If I separately validate the query in another application, everything works correctly.
Configuration sample
ConfigurableQuery = Database.Data:id1:Custom data:SELECT `name` FROM `test` WHERE `description` LIKE "?"; -
How do UI Access Rules work?How do UI Access Rules work? For example, if I add perspective:objects.infrastructure to the list, nothing is shown to the user. Is there anything else I need to set?
-
It is not possible to remove the built-in templates [SOLVED]It works, thank you.
-
It is not possible to remove the built-in templates [SOLVED]If I remove the built-in templates Operating systems, SNMP, System, they are all restored when the server is restarted.
-
Windows events not syncIn my environment I only use SubAgent for wineventsync.nsm. I don't use Logwatch. I also don't use the agent policy (I set everything via the INI file of the nx agent).
So if I make a policy and use the logwatch subagent, can I also collect Windows events? -
Windows events not syncHi Uldis, I tried several possible where to specify the ProcessOfflineEvents parameter with a value of true, but none sent the event after running nxagent again.
I tried
First option:[Logwatch] ProcessOfflineEvents = true [WinEventSync] EventLog = Application [WinEventSync/Application] ProcessOfflineEvents = true WinEventSync = *Second
[WinEventSync] EventLog = Application ProcessOfflineEvents = true [WinEventSync/Application] WinEventSync = *Last
[WinEventSync] EventLog = Application [WinEventSync/Application] ProcessOfflineEvents = true WinEventSync = *By the way, the Logwatch section is only for the logwatch subagent, and for the Windows event is the WinEventSync section. Or this section is common for both subagents?