Skip to content

Support

5.1k Topics 22.0k Posts

Questions about installing, configuring and using NetXMS.

  • Instance discovery scripts completely broken?

    4
    0 Votes
    4 Posts
    28k Views
    V
    Server generates event SYS_SCRIPT_ERROR for runtime errors in scripts, including instance discovery filter scripts, and also generates "warning" record in server's log. First parameter contains script identification string and second parameter contains error message. Unfortunately event is not generated if there is compilation error like in your case (although warning message in log still generated). I've fixed that in development branch, starting with next release you'll also get SYS_SCRIPT_ERROR event for instance discovery filter compilation errors. On a side note, script syntax didn't change in that part - expression like if (a < b) && (c < d) { } was always a syntax error. Whole "if" expression should always be enclosed in parenthesis. Best regards, Victor
  • Mikrotik WIFI Router Access points

    9
    1
    0 Votes
    9 Posts
    55k Views
    M
    Thank you this information Victor. I'm glad to help you to improve this app. Mortymer
  • Windows Forwarded Event Source

    3
    0 Votes
    3 Posts
    24k Views
    V
    Another option to avoid storing double events is to remove "write to event log" option from original event. Best regards, Victor
  • Show additional info on node label and popup

    2
    0 Votes
    2 Posts
    23k Views
    V
    Hi, you can switch object display mode to "large labels". In addition to basic object information any DCI marked as "Show last value in object tooltips" will be displayed on the label. Best regards, Victor
  • Server Restart Issues

    2
    0 Votes
    2 Posts
    31k Views
    V
    Hi, seems like deadlock on server shutdown. Please try to capture netxmsd thread states with attached script (preferably on 3.0). Best regards, Victor capture_netxmsd_threads.sh
  • SMS suddenly missing?

    5
    0 Votes
    5 Posts
    43k Views
    M
    That fixed it. Old config was all on 1 line with semi-colon to separate the 2 variables. Removing semi-colon and placing on separate lines works
  • NXCExeption when using csv importer

    7
    0 Votes
    7 Posts
    48k Views
    T
    The csv importer v 1.1.2 was built with NetXMS v2 client libraries, this is why it didn't work. I have updated it and released 1.1.3, which is built with support for NetXMS v3.
  • Could not create the view: 3 while opening Network Map

    6
    0 Votes
    6 Posts
    38k Views
    F
    In the SQL query output that you sent above you can see lines like this: <formatString>%*s</formatString> %*s should be replaced to some other format, where letter comes right after % character. NetXMS server should be stopped when editing the database. Care should be taken when editing the database, it's recommended to do database backup prior to editing. Alternatively you can wait when NetXMS 3.1 will be out - hopefully this will happen by the end of next week.
  • How to use monitoring services to monitor web address

    3
    2
    0 Votes
    3 Posts
    27k Views
    G
    Hello, Sudanov. The nxagent.conf file is configured and running according to the documentation (active as log), but I still can't view/create an response time, Bytes received, time DNS resolution, load/download time, TCP time and connection, latency, availability chart. See the examples attached Thanks Cássio [image: Example CA BROADCOM EHEALTH MANAGER.PNG] [image: Example PRTG.PNG]
  • Sys_IF_Disabled Event AND Expected interface state = Ignore

    3
    0 Votes
    3 Posts
    27k Views
    L
    Hello, yes i´m talking about Sys_IF_Down.   Now we are testing snmp trap configuration for the interface disable events and it seems the best way.
  • More than 20000 idata_* tables

    8
    0 Votes
    8 Posts
    44k Views
    M
    Hello, When I used the last script I had no result. I checked the access_points table and I found many same rows. Screenshot attached. What do you think about this. The Node 842 is a Mikrotik router. I used this script to check how many duplicated records I have. select count(*), ap.node_id, ap.mac_address, ap.vendor, ap.model, ap.serial_number, ap.ap_state, ap.ap_index from access_points ap group by ap.node_id, ap.mac_address, ap.vendor, ap.model, ap.serial_number, ap.ap_state, ap.ap_index I attached the results. Any idea or suggestion? Thank you for any help! Regards, Mortymer [image: heidisql.PNG] [image: heidisql-2.PNG]
  • Network Service Access - Default Network Interface

    2
    0 Votes
    2 Posts
    20k Views
    V
    Hi, source address for connection is determined only by routing. NetXMS server itself does not specifically select source IP address. If routing is correct then it should work. For network service checks to work you should have "portcheck" sub-agent loaded in local agent (the one running on NetXMS server itself). Make sure that it is loaded. Also you may increase debug level for agent and check what is going on when server requests service check. Best regards, Victor
  • Acked folder icon

    2
    0 Votes
    2 Posts
    21k Views
    V
    Hi, icon represents object status, which is calculated not only from alarms but also from underlying objects (so interface in critical state will still make node critical even if alarm is terminated). Maybe we can introduce additional indicator to show outstanding alarms. This will preserve current logic and give clear indication that something new was happened. Best regards, Victor
  • Add custom parameter to Event Template?

    7
    0 Votes
    7 Posts
    36k Views
    F
    Currently $dci is not supported when a script is called from event processing. For SYS_THRESHOLD_EVENTs DCI ID is passed as 5-th parameter of $event: trace(1, "Script on SYS_THRESHOLD_EVENT: DCI ID: ".$event->parameters[5]+0); trace(1, "Script on SYS_THRESHOLD_EVENT: DCI name: ".GetDCIObject($node,($event->parameters[5]))->name); trace(1, "Script on SYS_THRESHOLD_EVENT: Interface name: ".GetDCIObject($node,($event->parameters[5]))->relatedObject->name);
  • Parsing regular expression variable to script?

    2
    0 Votes
    2 Posts
    45k Views
    F
    Server console is not analyzing double quotes - enquoted arguments are just passed to the script as string having quotes on both ends, that's why it's not matching.
  • POST requests in NetXMS REST API not working ({"error":46})

    10
    2
    0 Votes
    10 Posts
    150k Views
    F
    Now, for my final update: After some hours of digging, I found out that NGINX was the reason for the entire problem: It was not configured to pass the POST data to the proxied API server. Thus, there is no problem with the original API code - I guess that the scenario, as stated in my second update, may be related to the entity's content being empty, once it is read (Somewhere, I read about it being a stream, rather than a storage variable, but I'm not 100% sure about that) Anyway, I apologize for causing this false alarm and thank you for your support. Keep up the good work on this tool Best regards, fbu
  • Locked myself out

    5
    0 Votes
    5 Posts
    72k Views
    C
    Thanks Victor Worked!! Regards Clifford Dsouza
  • Cannot delete template DCI from node

    5
    0 Votes
    5 Posts
    62k Views
    A
    Thanks, After log in with system user, I've found the template and deleted it.
  • Using different schema other than public in Postgres

    3
    0 Votes
    3 Posts
    40k Views
    R
    Hi Filipp, Great !! The problem is solved. I created a user in Postgres with ownership to the required schema. I configured this user in system DNS as well as in server configuration of netXMS while installing. It created all the tables in the specified schema instead of public schema. The problem is solved. Thanks you so much. Best regards, Ravi
  • Failed to disable log parsing using a template

    4
    0 Votes
    4 Posts
    50k Views
    F
    We've managed to replicate similar behavior that could be related to what is happening on your system - when node is removed from template, the .xml does not get deleted from that node. You can follow resolution progress here: https://track.radensolutions.com/issue/NX-1704