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

M

maredcz

@maredcz
Unfollow Follow
About
Posts
22
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • LDAP sync crashes NetXMS Core in NetXMS 5 version
    M maredcz
    Support

    Another finding fron debug userdb

    There is a message
    UpdateLDAPUser(): User with name "XYZ" already exists. Unique user name have been generated: "XYZ_LDAP6756"

    Then server crashes and in the user database the new generated user " XYZ_LDAP6756" does not exists.

    In our company are the users partionally managed based on user HR database. So when is an employe fired, the account in LDAP/AD remains, but the attribute CN (Full Name) is prepended with "S_". NetXMS ldapsync generate new user. So was it working up to version 5

    When delete the LDAP user "XYZ" in Netxms, the sync ends without crashing.


  • LDAP sync crashes NetXMS Core in NetXMS 5 version
    M maredcz
    Support

    Hello,
    my NetXMS service on Windows server 2019, MariaDB crashes when start ldap sync. LDAP server is connected, can read data, then starts update the dababase and crashes

    output from debug ldap 4

    LDAPConnection::initLDAP(): Connecting to LDAP server
    LDAPConnection::initLDAP(): servers="X.Y.X.Y:389" port=389 secure=false
    LDAPConnection::syncUsers(): search base DN = OU=##############
    LDAPConnection::fillLists(): hook script is empty
    LDAPConnection::fillLists(): Found entry count: 714

    ...

    LDAPConnection::closeLDAPConnection(): disconnect form LDAP server
    LDAPConnection::syncUsers(): read completed, updating user database

    now is server terminated

    When delete all LDAP users and groups, the sync is ending successfully, but after some time have the same behaviour. Have tried change to the different LDAP search bases and maybe, there are problems with one specific OU with 211 objects. Can you give me a some advice how to activate the right debug?

    Thank you. Martin


  • Database upgrade after NetXMS upgrade from version 4.5.6 -> 5.0.2 on windows
    M maredcz
    Support

    Only confirmation. The upgrade was successfull now.
    Thank you. Martin


  • Database upgrade after NetXMS upgrade from version 4.5.6 -> 5.0.2 on windows
    M maredcz
    Support

    Perfect. Thank You very much.

    Martin


  • Database upgrade after NetXMS upgrade from version 4.5.6 -> 5.0.2 on windows
    M maredcz
    Support

    There is not a link_styling_script field (currently running 4.5.6 version(restored from backup)

    There is result of query as .csv attachment
    SELECT id,filter FROM network_maps WHERE filter <> '';


    network_maps.csv


  • Database upgrade after NetXMS upgrade from version 4.5.6 -> 5.0.2 on windows
    M maredcz
    Support

    .. have backups, have restored the database. Look's nobody else is observing the same issue. Try activate MariaDB logging if you are ending on updating network maps

    .. "Prepare UPDATE network_maps SET link_styling_script=?,filter=? WHERE id=?"


  • Database upgrade after NetXMS upgrade from version 4.5.6 -> 5.0.2 on windows
    M maredcz
    Support

    Database log show some processing and is ending with "Prepare UPDATE network_maps SET link_styling_script=?,filter=? WHERE id=?"

    In MariaDB log appear message:
    2024-05-09 13:59:01 9 [Warning] Aborted connection 9 to db: 'netxms_db' user: 'netxms' host: 'localhost' (Got an error reading communication packets)

    #####
        9 Query SELECT item_id,transformation,instd_filter FROM items
        9 Prepare UPDATE items SET transformation=?,instd_filter=? WHERE item_id=?
    ...
        9 Query SELECT threshold_id,script FROM thresholds
        9 Prepare UPDATE thresholds SET script=? WHERE threshold_id=?
    ...
        9 Query SELECT item_id,transformation_script,instd_filter FROM dc_tables
        9 Prepare UPDATE dc_tables SET transformation_script=?,instd_filter=? WHERE item_id=?
    ...   
    9 Query SELECT rule_id,filter_script,action_script FROM event_policy
        9 Prepare UPDATE event_policy SET filter_script=?,action_script=? WHERE rule_id=?
    ...
        9 Query SELECT trap_id,transformation_script FROM snmp_trap_cfg
        9 Prepare UPDATE snmp_trap_cfg SET transformation_script=? WHERE trap_id=?
    ...
        9 Query SELECT script_id,script_code FROM script_library
        9 Prepare UPDATE script_library SET script_code=? WHERE script_id=?
    ...
        9 Query SELECT id,link_styling_script,filter FROM network_maps
        9 Prepare UPDATE network_maps SET link_styling_script=?,filter=? WHERE id=?
    HERE is the end, nothing executed

    Martin


  • Database upgrade after NetXMS upgrade from version 4.5.6 -> 5.0.2 on windows
    M maredcz
    Support

    Hello,
    has somebody similar issue?

    I did direct upgrade from version 4.5.6 to 5.0.2 on windows server.
    Database MariaDB 10.4

    The service does not start
    2024.05.09 12:45:00.438 *I* [startup            ] Starting NetXMS server version 5.0.2 build tag 5.0-878-gccaeca5869
    ..
    2024.05.09 12:45:00.472 *E* [db                ] Your database has format version 50.32, but server is compiled for version 50.39

    When run nxdbmgr upgrade, the database is not upgraded.

    D:\NetXMS\bin>nxdbmgr check
    NetXMS Database Manager Version 5.0.2 Build 5.0-878-gccaeca5869 (UNICODE)

    Checking database (excluding collected data):
    Your database has format version 50.32, this tool is compiled for version 50.39.
    Use "upgrade" command to upgrade your database first.
    Database check aborted

    D:\NetXMS\bin>nxdbmgr upgrade
    NetXMS Database Manager Version 5.0.2 Build 5.0-878-gccaeca5869 (UNICODE)

    Upgrading database...
    Upgrading from version 50.32 to 50.33

    D:\NetXMS\bin>
    D:\NetXMS\bin>nxdbmgr check
    NetXMS Database Manager Version 5.0.2 Build 5.0-878-gccaeca5869 (UNICODE)

    Checking database (excluding collected data):
    Your database has format version 50.32, this tool is compiled for version 50.39.
    Use "upgrade" command to upgrade your database first.
    Database check aborted

    Thank you for any advice.

    Martin


  • New Web UI failed to register resource: generated/xyz maps, graphs and dashboard
    M maredcz
    Support

    Yes, it works now.

    Thank you very much.

    Martin


  • New Web UI failed to register resource: generated/xyz maps, graphs and dashboard
    M maredcz
    Support

    Hello Filipp,
    I forgot to mention, it is MS windows server based installation. For testing have installed a new NetXMS server with sqlite DB and with webui. There is nothing configured, empty. Created the new map, then entered in the map .. and the error message arise. Jetty logs are attached.
    The same bahaviour have in production installation NetXMS 4.4.4 + MariaDB + webui. When try open the map, error message appear and map is not displayed.

    Martin


    jetty.log

    launcher.log

    nxmc.log

    webui-map1.JPG


  • New Web UI failed to register resource: generated/xyz maps, graphs and dashboard
    M maredcz
    Support

    Hello, have the same question, the same error.

    The error ist there in new web gui when display the map. 
    Failed to register resource: generated/6b33fe9d.png
    Cannot tell since is occuring, but it is there in 4.4.4, 4.4.3 and earlier versions. I tried make clean fresh test server installation and there is the same error.

    Martin


  • L2 map object filter lost after every Netxms service restart.
    M maredcz
    Support

    Hello,
    I am using Object Filter in Netxms L2 topology maps. The Object Filter code is lost after every Netxms service restart. Only the "Filter objects" checkbox remain checked. Have you the same experience? I am observing this behaviour from some 3.x version, maybe 3.1 upwards.

    Netxms server 3.5.90 running on W2019 server, MariaDB.

    Martin


  • Unwanted multiple link connections on map
    M maredcz
    Support

    Hello Viktor, the port names on links are the same, identical.
    Need to mention, the discovery radius is the default (3) and the seed nodes have overlapping radius, it mean, the seed nodes are less than 3 hops. When remove the seed nodes and delete the links, the new links are created correctly. So the @JuraSSik is probably directing to right direction ...
    Martin


  • Unwanted multiple link connections on map
    M maredcz
    Support

    Hello can somebody explain why are multiple links generated on my maps? And how prevent them.
    I think it come with some of 3.0 or 3.1 version. The version had new feature "consolidate multiple nodes in one". I am using Cisco 3650 with hsrp/vrrp as core switches (and up to this version had for these switches multiple objects automaticaly generated). The rest are Cisco SMB 300, 350. Maps are created L2 with multiple seeds.

    Thank you. Martin


    multiplelinks.JPG


  • Issues with Catalyst 3750's since 2.2.5, and issue with Cisco 891 since always.
    M maredcz
    Support

    The problematic modules have different timestamp (20.3.2018).

    05/14/2018  07:11 PM            29,776 airespace.ndd
    05/14/2018  07:11 PM            29,264 at.ndd
    03/20/2018  04:49 PM            28,240 avaya-ers.dll
    03/20/2018  04:49 PM            26,192 baystack.ndd
    03/20/2018  04:49 PM            23,632 cat2900xl.ndd
    03/20/2018  04:49 PM            24,144 catalyst.ndd
    03/20/2018  04:49 PM            23,120 cisco-esw.ndd
    03/20/2018  04:49 PM            23,632 cisco-sb.ndd
    03/20/2018  04:49 PM            28,240 cisco.dll
    05/14/2018  07:11 PM            24,144 dell-pwc.ndd
    05/14/2018  07:11 PM            24,144 dlink.ndd
    03/20/2018  04:49 PM            24,144 ers8000.ndd
    05/14/2018  07:11 PM            24,144 extreme.ndd
    03/20/2018  04:49 PM            24,144 h3c.ndd
    03/20/2018  04:49 PM            23,120 hpsw.ndd
    05/14/2018  07:11 PM            24,656 ignitenet.ndd
    05/14/2018  07:11 PM            30,288 juniper.ndd
    05/14/2018  07:11 PM            28,240 mikrotik.ndd
    05/14/2018  07:11 PM            23,120 netonix.ndd
    03/20/2018  04:49 PM            25,680 netscreen.ndd
    03/20/2018  04:49 PM            30,288 ntws.ndd
    05/14/2018  07:11 PM            26,192 ping3.ndd
    03/20/2018  04:49 PM            24,144 procurve.ndd
    05/14/2018  07:11 PM            26,192 qtech-olt.ndd
    05/14/2018  07:11 PM            30,288 symbol-ws.ndd
    05/14/2018  07:11 PM            28,752 tb.ndd
    05/14/2018  07:11 PM            28,752 ubnt.ndd


  • Issues with Catalyst 3750's since 2.2.5, and issue with Cisco 891 since always.
    M maredcz
    Support

    Maybe, there is generall problem with drivers. My windows installation after update 2.2.4-->2.2.5 cannot load some drivers

    *I* Network device driver "AIRESPACE" loaded successfully
    *I* Network device driver "AT" loaded successfully
    *E* Unable to find entry point in network device driver "F:\NetXMS\lib\ndd\baystack.ndd"
    *E* Unable to find entry point in network device driver "F:\NetXMS\lib\ndd\cat2900xl.ndd"
    *E* Unable to find entry point in network device driver "F:\NetXMS\lib\ndd\catalyst.ndd"
    *E* Unable to find entry point in network device driver "F:\NetXMS\lib\ndd\cisco-esw.ndd"
    *E* Unable to find entry point in network device driver "F:\NetXMS\lib\ndd\cisco-sb.ndd"
    *I* Network device driver "DELL-PWC" loaded successfully
    *I* Network device driver "DLINK" loaded successfully
    *E* Unable to find entry point in network device driver "F:\NetXMS\lib\ndd\ers8000.ndd"
    *I* Network device driver "EXTREME" loaded successfully
    *E* Unable to find entry point in network device driver "F:\NetXMS\lib\ndd\h3c.ndd"
    *E* Unable to find entry point in network device driver "F:\NetXMS\lib\ndd\hpsw.ndd"
    *I* Network device driver "IGNITENET" loaded successfully
    *I* Network device driver "JUNIPER" loaded successfully
    *I* Network device driver "NETSCREEN" loaded successfully
    *I* Network device driver "MIKROTIK" loaded successfully
    *I* Network device driver "NETONIX" loaded successfully
    *E* Unable to find entry point in network device driver "F:\NetXMS\lib\ndd\netscreen.ndd"
    *E* Unable to find entry point in network device driver "F:\NetXMS\lib\ndd\ntws.ndd"
    *I* Network device driver "PING3" loaded successfully
    *E* Unable to find entry point in network device driver "F:\NetXMS\lib\ndd\procurve.ndd"
    *I* Network device driver "QTECH-OLT" loaded successfully
    *I* Network device driver "SYMBOL-WS" loaded successfully
    *I* Network device driver "TB" loaded successfully
    *I* Network device driver "UBNT" loaded successfully

    Martin


  • Function FindObject returns wrog object class when node as argument
    M maredcz
    Support

    Thank you, will wait for new release.

    Martin


  • Function FindObject returns wrog object class when node as argument
    M maredcz
    Support

    Hello Tomas, to be exactly I have a problem with NetObj's "TYPE attribute" when the object is Node.
    As mentioned in Documentation, the Node class should inherite all attributes of NetObj class, but the
    n->type returns "ERROR: Script finished with error: Error 15 in line XX: Unknown object's attribute"

    It happen when the object is node.

    The Title of this post should be probably
     The type attribute of NetObj cannot be determined when the object is node - Error Unknown object's attribute"

    node=10506;

    nodeObject=FindObject(node);

    // this is a Node
    println("FindObject - Class of node object: " . node . " is " . classof(nodeObject));

    try {
    println("Type of node object: " . nodeObject->type);
    } catch {
      println("Query nodeObject->type. This error should not be displayed, since Node should have the TYPE attribute inherited from NetObj");
    }


  • Function FindObject returns wrog object class when node as argument
    M maredcz
    Support

    The function instanceof is not known im my system.
    I am currently running 2.0.1 version.

    In my case FindObject function returns different classes for Node and Container, but should return only the generic class as mentioned in Documentation.

    println(classof(FindObject(10506)));  //10506 is Node, FindObject returns "Node"
    println(classof(FindObject(219)));  //219 is Container, FindObject returns "NetObj"

    It is not generally big problem, but it differs from the function description in Documentation pages and source code comments.

    Martin


  • Function FindObject returns wrog object class when node as argument
    M maredcz
    Support

    According to source codes, the function should return generic object class or null
    /**
     * Find object
     * First argument: object id or name
     * Second argument (optional): current node object or null
     * Returns generic object or null if requested object was not found or access to it was denied
     */

    If I call the function with a node as argument
    o=FindObject(nodeid);
    the 
    o->type
    returns: ERROR: Script finished with error: Error 15 in line XX: Unknown object's attribute

    With container ID as parameter is not problem.

    So I think the function is returning Node pointer when the argument is the node.

    From my point of sight is it wrong behaviour. For this purpose exist FindNodeObject.

    Martin

     

    Code example
    sub main() {

    n=FindObject(10506);  // node class type

      println("Name: " . n->name . " ID: " . n->id);
      println("snmpSysName: " . n->snmpSysName); // WRONG - returns a snmpSysname value
      println("Type: " . n->type);  //WRONG - shoul return "2", but returns
                // - ERROR: Script finished with error: Error 15 in line XX: Unknown object's attribute
     
    n=FindObject(219);  //Container class type

      println("Name: " . n->name . " ID: " . n->id);
      println("snmpSysName: " . n->snmpSysName); //CORRECT error message, snmpSysName does not exists in netobj"
                      // - ERROR: Script finished with error: Error 15 in line XX: Unknown object's attribute
      println("Type: " . n->type);  //CORRECT - returns "5"

    }

  • 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