Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

S

saksham.adyso

@saksham.adyso
Unfollow Follow
About
Posts
47
Topics
27
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Installer hangs on SQLite database selection
    S saksham.adyso
    Support

    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.


  • How to configure MCP
    S saksham.adyso
    Support

    The 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 agent
    S saksham.adyso
    Support

    From 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 issue
    S saksham.adyso
    Support

    If 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 unspec
    S saksham.adyso
    Support

    function main()
    {
    LogFile = IO::OpenFile("C:\\nx\\netxms.txt", "a");
    if (LogFile != null)
    {
    LogFile.writeLine($node.ipAddr);
    LogFile.close();
    }
    }


  • Client startup fails
    S saksham.adyso
    Support

    I use new version of client.


  • Client startup fails
    S saksham.adyso
    Support

    I 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 unspec
    S saksham.adyso
    Support

    I 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 unspec
    S saksham.adyso
    Support

    Script is in script library and I select this script for discovery filter.


  • $node.ipAddr is unspec
    S saksham.adyso
    Support

    I 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 unspec
    S saksham.adyso
    Support

    I'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 unspec
    S saksham.adyso
    Support

    I 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 properly
    S saksham.adyso
    Support

    Quotes 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 properly
    S saksham.adyso
    Support

    It 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 properly
    S saksham.adyso
    Support

    If 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?
    S saksham.adyso
    Support

    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]
    S saksham.adyso
    Support

    It works, thank you.


  • It is not possible to remove the built-in templates [SOLVED]
    S saksham.adyso
    Support

    If I remove the built-in templates Operating systems, SNMP, System, they are all restored when the server is restarted.


  • Windows events not sync
    S saksham.adyso
    Support

    In 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 sync
    S saksham.adyso
    Support

    Hi 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?

  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups