NetXMS 4.5 released

Started by Victor Kirhenshtein, December 24, 2023, 06:12:30 PM

Previous topic - Next topic

Victor Kirhenshtein

NetXMS version 4.5.0 is just published. It is intermediate release on a way to version 5.0, and it includes improvements and fixes that are too big to be considered for patch release but important enough to be published before 5.0 is ready.

Full change list since version 4.4.5:

- XPath can be used for querying XML-based web services
- New NXSL operation "?." (safe dereference)
- New method "join" in NXSL arrays
- Server-side custom attributes (not visible by clients)
- Additional argument in NXSL method createSNMPTransport to control if it should fail when node is marked as unreachable via SNMP
- Updated drivers for Eltex and TP-Link switches
- Added agent metric Agent.LocalDatabase.FileSize
- Fixed internal metrics PollTime.\*
- Fixed issues:
   - NX-1409 (Implement separate access right for editing object comments)
   - NX-2275 (Option for ignoring interfaces in NOT PRESENT state)
   - NX-2412 (Separate access right for editing agent configuration file)
   - NX-2440 (Wildcard imports in NXSL)
   - NX-2485 (XPath support in web service queries)
   - NX-2487 (Any changes to object from UI or via Java API wipe out responsible users list)

troffasky

NX-2275 (Option for ignoring interfaces in NOT PRESENT state)

Thankyou for this Christmas present!

troffasky

This seems to be causing some instability. With the ignore NotPresent interfaces enabled, the server crashes after a few minutes. Even with the log level turned up to 7, the log file just goes silent and the process dies. It does leave this behind in dmesg, however:

[17465427.164364] $POLLERS/WRK[1229844]: segfault at 8 ip 00007fbab4970ea6 sp 00007fba751bc760 error 4 in libnxcore.so.45.0.0[7fbab485c000+24c000]
[17465427.164413] Code: 44 24 38 48 83 e8 04 48 89 44 24 40 48 b8 02 00 00 00 02 00 00 00 48 89 44 24 48 48 b8 01 00 00 00 08 00 00 00 48 89 44 24 50 <41> 8b 4c 24 08 85 c9 0f 8e 85 00 00 00 48 89 6c 24 10
 4c 89 e5 eb
[17465810.908547] $POLLERS/WRK[1255212]: segfault at 8 ip 00007fb84b476ea6 sp 00007fb7dbb4d760 error 4 in libnxcore.so.45.0.0[7fb84b362000+24c000]
[17465810.908560] Code: 44 24 38 48 83 e8 04 48 89 44 24 40 48 b8 02 00 00 00 02 00 00 00 48 89 44 24 48 48 b8 01 00 00 00 08 00 00 00 48 89 44 24 50 <41> 8b 4c 24 08 85 c9 0f 8e 85 00 00 00 48 89 6c 24 10
 4c 89 e5 eb
[17465996.329600] $POLLERS/WRK[1255986]: segfault at 8 ip 00007fd277169ea6 sp 00007fd223437760 error 4 in libnxcore.so.45.0.0[7fd277055000+24c000]
[17465996.329615] Code: 44 24 38 48 83 e8 04 48 89 44 24 40 48 b8 02 00 00 00 02 00 00 00 48 89 44 24 48 48 b8 01 00 00 00 08 00 00 00 48 89 44 24 50 <41> 8b 4c 24 08 85 c9 0f 8e 85 00 00 00 48 89 6c 24 10
 4c 89 e5 eb
[17466198.216260] $POLLERS/WRK[1257237]: segfault at 8 ip 00007f6d662d9ea6 sp 00007f6d2b22b760 error 4 in libnxcore.so.45.0.0[7f6d661c5000+24c000]
[17466198.216276] Code: 44 24 38 48 83 e8 04 48 89 44 24 40 48 b8 02 00 00 00 02 00 00 00 48 89 44 24 48 48 b8 01 00 00 00 08 00 00 00 48 89 44 24 50 <41> 8b 4c 24 08 85 c9 0f 8e 85 00 00 00 48 89 6c 24 10
 4c 89 e5 eb
 

troffasky

It's definitely this, has stayed up >24h since I disabled the option.

Victor Kirhenshtein

I think that I found what could have caused server crash. Fix will be included in patch release 4.5.1.

Best regards,
Victor