NetXMS Support Forum

General => Announcements => Topic started by: Victor Kirhenshtein on May 02, 2024, 06:39:36 PM

Title: NetXMS 5.0 released
Post by: Victor Kirhenshtein on May 02, 2024, 06:39:36 PM
Update: we published patch release 5.0.1 that contains fix for bug in database upgrade procedure. Make sure that you are installing version 5.0.1.

We just published NetXMS version 5.0. This major release was mostly focused on improving network maps, wireless network monitoring, internal scripting language (NXSL), and new UI. And of course there is lot of smaller improvements and fixes.

Make sure to check list of breaking changes (https://netxms.org/documentation/adminguide/installation.html#id2), as there are few.

Full change log is following:
-  Improved network maps
-  Added network map link styling script
-  Delegate access option that allows read access to network maps without full read access to objects on a map
-  Reworked monitoring of wireless access points and controllers
-  Major overhaul of sensor objects
-  Many NXSL function deprecated in favor of object methods
-  Improved NXSL classes and functions for date/time handling
-  Add option to check alarm details from alarm log view
-  Log parser rules can define metrics that are populated from match data
-  Special NXSL return codes for data collection and transformation scripts (DataCollection::ERROR, DataCollection::NOT_SUPPORTED, DataCollection::NO_SUCH_INSTANCE)
-  New NXSL function FindAccessPointByMACAddress
-  New NXSL function GetMappingTableKeys
-  "Stop" function in script executor view
-  Desktop client can reconnect automatically after short connectivity loss
-  New agent metric File.Hash.SHA256
-  New agent list and table Net.IP.Neighbors
-  Index property displayed in MIB browser
-  Root object can be set for object query
-  Improved SNMP trap processing performance
-  New log parser file option "removeEscapeSequences"
-  Added peer certificate verification in ticketing system connectors
-  Housekeeper scripts (NXSL and SQL)
-  Improved REST API
-  Introduces new object class "Collector"
-  Downtime log controlled by EPP

Fixed issues:
-  NX-797 (Automatic reconnect of management console)
-  NX-1790 (Drag-n-dropped object are positioned to wrong place when map is scrolled down or right)
-  NX-1870 (Representation of float DCI that gets string data as input)
-  NX-1935 (Introduce hook script on map regeneration with ability to set link names)
-  NX-2006 (Remove example event templates (code 4000-4011) from database)
-  NX-2076 (Raw value should be always displayed as string)
-  NX-2292 (Automatic maps should not include nodes that are connected through a node that was excluded by filter script)
-  NX-2323 (Make parameters in all events named)
-  NX-2343 (Several changes in NXSL syntax in v 5.0)
-  NX-2375 (Use "varchar(max)" instead of "text" on Microsoft SQL Server)
-  NX-2403 (Add support for AES-192 and AES-256 in SNMPv3)
-  NX-2444 (On demand background external metrics)
-  NX-2455 (Ability to check TLS.Certificate.* for protocols with STARTTLS command)
-  NX-2481 (Add ability to manually poll network map generation)
-  NX-2507 (Add ability to cancel timers from NXSL)
-  NX-2520 (Remove "Channel name" selector from "Send notification" dialog)
-  NX-2523 (New agent metric Process.MemoryUsage (percentage of memory used by process))
-  NX-2524 (Option to disable threshold without deleting it)
-  NX-2525 (Add the ability to specify multiplier values in threshold)
-  NX-2526 (When editing a template with a DCI without instance to use instance - DCI becomes unsupported)
Title: Re: NetXMS 5.0 released
Post by: normalcy on May 03, 2024, 04:54:30 AM
Hi, the pinboard seems to not work in the 5.0.0 version of the new desktop client (with 5.0 server)?  You can pin left/right however if selecting the pinboard and then going to the pinboard screen it is still empty.
Title: Re: NetXMS 5.0 released
Post by: Egert143 on May 03, 2024, 08:54:52 AM
Hello

Is NetXms no longer free starting with version 5?
Title: Re: NetXMS 5.0 released
Post by: Filipp Sudanov on May 03, 2024, 09:01:02 AM
Still free, why did you get this feeling?
Title: Re: NetXMS 5.0 released
Post by: Victor Kirhenshtein on May 03, 2024, 09:03:26 AM
Quote from: Egert143 on May 03, 2024, 08:54:52 AMHello

Is NetXms no longer free starting with version 5?
Hi,

is is still free and open source, we do not have plans to change that. What was changed is that some of the binary builds that we consider of being more enterprise level are not provided for free on our web site, and only available through support contract. Those builds are agents for AIX and Solaris, and server for Windows. You still can build them from source code though.

Best regards,
Victor
Title: Re: NetXMS 5.0 released
Post by: Egert143 on May 03, 2024, 09:08:56 AM
I was looking for the server installer for windows and saw that now support is needed for this. That is why i asked if it was no longer free.

is building windows installer for server from source complex task ? :)
Title: Re: NetXMS 5.0 released (but wait for 5.0.1)
Post by: Victor Kirhenshtein on May 03, 2024, 09:41:21 AM
Quote from: Egert143 on May 03, 2024, 09:08:56 AMI was looking for the server installer for windows and saw that now support is needed for this. That is why i asked if it was no longer free.

is building windows installer for server from source complex task ? :)
Depends on your experience of course :) Build itself is straight-forward - there is Visual Studio solution file in the root of source tree, it will handle all the builds. Tricky part is to get all the dependencies (openssl, libcurl, libssh, libjq, libmodbus, libmosquitto, libpcre, database client libraries, breakpad, libmicrohttpd). Some of those are for specific components only, which you can exclude from build if you don't need them.

Title: Re: NetXMS 5.0 released (but wait for 5.0.1)
Post by: SmEed on May 03, 2024, 11:52:52 AM
But I think that's a real shame! I would be happy if a Windows version was still offered.

PLS!
;)
Title: Re: NetXMS 5.0 released
Post by: Victor Kirhenshtein on May 03, 2024, 02:35:16 PM
Patch release 5.0.1 published (it fixes bug in database upgrade procedure).
Title: Re: NetXMS 5.0 released
Post by: Spheron on May 03, 2024, 04:01:33 PM
Hello @all,

noticed that there are no more windows server downloads online, except for users with active support contract... Are there any announcement that i missed?

I never heard or read of this change. I only noticed this cause i take a look in the download section of the NetXMS website.

It would have been nice if you had announced the change a bit in advance, then everyone could have thought about how to deal with it...

Greetings
Marco
Title: Re: NetXMS 5.0 released
Post by: Victor Kirhenshtein on May 03, 2024, 04:56:13 PM
Quote from: Spheron on May 03, 2024, 04:01:33 PMHello @all,

noticed that there are no more windows server downloads online, except for users with active support contract... Are there any announcement that i missed?

I never heard or read of this change. I only noticed this cause i take a look in the download section of the NetXMS website.

It would have been nice if you had announced the change a bit in advance, then everyone could have thought about how to deal with it...

Greetings
Marco

Yes, I agree that we should have had announced it in advance. I will discuss it with the team and announce if there will be any changes to new policy.
Title: Re: NetXMS 5.0 released
Post by: Egert143 on May 07, 2024, 04:09:04 PM
Why do most data collection entries appear as yellow after upgrade, but they are still collecting metrics?

and i see error "Script(DCI::NODE-NAME::177748::InstanceFilter) execution error: Error in line 1: sytnax error, unexpected '?', expecting $end" Where can i find the script that is generating this error ?

update was done directly to 5.0.1.
Title: Re: NetXMS 5.0 released
Post by: Victor Kirhenshtein on May 07, 2024, 06:10:48 PM
Hi!
This is instance filter script, number in script name is DCI ID. Please find this DCI and show the script.
Best regards,
Victor
Title: Re: NetXMS 5.0 released
Post by: Victor Kirhenshtein on May 07, 2024, 06:32:25 PM
Update: I just checked, and seems that there is another bug with same conversion (of instance filter scripts), that may lead to script corruption. We are currently building version 5.0.2 with the fix in upgrade procedure. If possible, restore database from backup and run upgrade again with version 5.0.2. Alternatively, restore only content of column "instd_filter" in table "items", and do script conversion manually where needed.

Best regards,
Victor
Title: Re: NetXMS 5.0 released
Post by: lpolstor on May 07, 2024, 07:22:30 PM
Trying to install Netxms 5.0.1 on Ubuntu 24.04 Server, had some troubles installing
ref  Installation — NetXMS Administrator Guide (4.4.3) (https://netxms.org/documentation/adminguide/installation.html#add-apt-repository)  ... ( I assum 5.0.1 version is on it's way..)


[color=#404040][size=2][font=SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, Courier, monospace]wget http://packages.netxms.org/netxms-release-latest.deb
sudo dpkg -i netxms-release-latest.deb
sudo apt-get update[/font][/size][/color]

but when I tried to install netxms-server I got the following list when I tabbed at the end of the prompt:

root@testhost:~# apt-get install netxms-
netxms-agent          netxms-base           netxms-dbdrv-sqlite3  netxms-release

Checked  Index of /ubuntu/pool/noble/main/ (netxms.org) (https://packages.netxms.org/ubuntu/pool/noble/main/) and it contains less directories as the same for Jammy, example  Index of /ubuntu/pool/jammy/main/n/ (netxms.org) (https://packages.netxms.org/ubuntu/pool/jammy/main/n/)  has netxms and all the useful deb packages, however the noble one does not.

Regards
Lars Petter
Title: Re: NetXMS 5.0 released
Post by: Alex Kirhenshtein on May 08, 2024, 12:12:13 AM
Quote from: lpolstor on May 07, 2024, 07:22:30 PMTrying to install Netxms 5.0.1 on Ubuntu 24.04 Server, had some troubles installing
ref  Installation — NetXMS Administrator Guide (4.4.3) (https://netxms.org/documentation/adminguide/installation.html#add-apt-repository)  ... ( I assum 5.0.1 version is on it's way..)



[color=#404040][size=2][font=SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, Courier, monospace]wget http://packages.netxms.org/netxms-release-latest.deb
sudo dpkg -i netxms-release-latest.deb
sudo apt-get update[/font][/size][/color]

but when I tried to install netxms-server I got the following list when I tabbed at the end of the prompt:

root@testhost:~# apt-get install netxms-
netxms-agent          netxms-base           netxms-dbdrv-sqlite3  netxms-release

Checked  Index of /ubuntu/pool/noble/main/ (netxms.org) (https://packages.netxms.org/ubuntu/pool/noble/main/) and it contains less directories as the same for Jammy, example  Index of /ubuntu/pool/jammy/main/n/ (netxms.org) (https://packages.netxms.org/ubuntu/pool/jammy/main/n/)  has netxms and all the useful deb packages, however the noble one does not.

Regards
Lars Petter

Build for 24.04 is still on the way (there are some changes required and we were busy with other issues), but it will be available in next few days.
Title: Re: NetXMS 5.0 released
Post by: Alex Kirhenshtein on May 08, 2024, 12:13:40 AM
5.0.2 in published
Title: Re: NetXMS 5.0 released
Post by: Egert143 on May 08, 2024, 11:12:57 AM
What do the yellow DCI mean? they collect data but are yellow.

also script says function "CreateSNMPTransport" and "SNMPGetValue" are deprecated, what are replacements?
Title: Re: NetXMS 5.0 released
Post by: Filipp Sudanov on May 10, 2024, 11:28:10 AM
Quote from: Egert143 on May 08, 2024, 11:12:57 AMalso script says function "CreateSNMPTransport" and "SNMPGetValue" are deprecated, what are replacements?
We are moving from functions to object methods wherever possible, check this example in the docs:
https://www.netxms.org/documentation/nxsl-latest/#_read_snmp_value_from_node
Title: Re: NetXMS 5.0 released
Post by: Filipp Sudanov on May 10, 2024, 12:24:53 PM
Quote from: Egert143 on May 08, 2024, 11:12:57 AMWhat do the yellow DCI mean? they collect data but are yellow.
Might be a bug. Can you share a screenshot of this?
Title: Re: NetXMS 5.0 released
Post by: Egert143 on May 10, 2024, 12:41:45 PM
when i create new node with fresh dci-s then they appears normal again.
Title: Re: NetXMS 5.0 released
Post by: Filipp Sudanov on May 10, 2024, 02:30:24 PM
We just found a bug in DCI loading from database, they could be randomly marked as "anomaly detected". Next patch release will contain fix for that
Title: Re: NetXMS 5.0 released
Post by: lindeamon on May 11, 2024, 09:55:58 AM
Hi Team,
as always, thank you for the great work. you give us an awesome piece of software for free and we appreciate it.
Windows is my go to platform and having the binaries all ready available made it much much easier for me to use netxms in my company.
hope you will reconsider your decision about windows server binaries.

10x,
Lindeamon
Title: Re: NetXMS 5.0 released
Post by: BigBlue on June 17, 2024, 12:44:21 PM
Hi,

When will version 5.0 be available for RHEL-compatible distributions ?

thanks a lot
Title: Re: NetXMS 5.0 released
Post by: Filipp Sudanov on June 17, 2024, 12:46:14 PM
Quote from: BigBlue on June 17, 2024, 12:44:21 PMHi,

When will version 5.0 be available for RHEL-compatible distributions ?

thanks a lot
Yes, there's a delay preparing the release
Title: Re: NetXMS 5.0 released
Post by: AnRkey on June 19, 2024, 02:40:26 PM
Quote from: Victor Kirhenshtein on May 03, 2024, 09:41:21 AM
Quote from: Egert143 on May 03, 2024, 09:08:56 AMI was looking for the server installer for windows and saw that now support is needed for this. That is why i asked if it was no longer free.

is building windows installer for server from source complex task ? :)
Depends on your experience of course :) Build itself is straight-forward - there is Visual Studio solution file in the root of source tree, it will handle all the builds. Tricky part is to get all the dependencies (openssl, libcurl, libssh, libjq, libmodbus, libmosquitto, libpcre, database client libraries, breakpad, libmicrohttpd). Some of those are for specific components only, which you can exclude from build if you don't need them.

This is a real damper. Most of the people that I help use the Windows installer :-(