NetXMS Support Forum

General => Announcements => Topic started by: Victor Kirhenshtein on September 18, 2019, 09:54:26 PM

Title: NetXMS 3.0 patch release 1 (version 3.0.2284)
Post by: Victor Kirhenshtein on September 18, 2019, 09:54:26 PM
Hi all!

NetXMS patch release 1 (version 3.0.2284) is out. It fixes some issues in initial 3.0 release:

- Fixed Windows agent bug: socket handles inherited by child processes
- Fixed FreeBSD 12 build errors
- Fixed bug in reading network interface stats on Solaris 11
- HTTP/2 included into default pattern in netsvc and portcheck subagents for HTTP/HTTPS protocol check
- Fixed broken "Find IP address" function in management console
- New default tile server for geo maps
- Fixed bug in database migration to TimescaleDB
- Fixed network map view crash if map has more than 9 links between two objects
- Fixed incorrect handling of password expiration warning in Oracle database driver
- Fixed file handle leak in server
- Unused capture groups in NXSL regexp matching not reset to NULL
- Regexp matching operation in NXSL returns array of capture groups on success
- Agent returns correct version (without build hash) in Agent.Version parameter
- Interface alias correctly set on interface object creation
- Fixed minor memory leak in server

Best regards,
Victor
Title: Re: NetXMS 3.0 patch release 1 (version 3.0.2284)
Post by: Tursiops on September 19, 2019, 08:48:13 AM
Quote from: Victor Kirhenshtein on September 18, 2019, 09:54:26 PM
- Regexp matching operation in NXSL returns array of capture groups on success

The above is currently causing issues if you have logical operators combined with regular expressions in statements like the following:
if ( ( $node->snmpOID ~= "^\.1\.3\.6\.1\.4\.1\.1991\..*" ) && ( $node->snmpOID != ".1.3.6.1.4.1.1991.1.3.52.2.4.1.1" ) ) return true;
This will fail with an error "Condition value is not a number".

If you have scripts with if statements utilising regular expressions and logical operators together, you should wait for a patched version (which is being worked on already).
Title: Re: NetXMS 3.0 patch release 1 (version 3.0.2284)
Post by: Victor Kirhenshtein on September 19, 2019, 02:58:54 PM
NXSL issue is fixed in version 3.0.2287 (only server has to be upgraded).

Best regards,
Victor