News:

We really need your input in this questionnaire

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - maredcz

#1
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
#2
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
#3
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
#4
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"

}
#5
Hello I am observing problems with interface editing in "interfaces" tab (NetXMS 1.2.16-2.0M2).
In 1.2.15 was possible choose multiple interfaces and select one of "mass change" operations - manage, unmanage, delete, change interface expected state. Since 1.2.16 works for me only the "change interface expected state". The only way is in object browser expand the tree, here make the multiple selection and do required operation.

Is somebody observing similar behaviour?

Martin