NetXMS Support Forum

General => Announcements => Topic started by: Victor Kirhenshtein on January 18, 2017, 06:40:46 PM

Title: NetXMS 2.1-M2 released
Post by: Victor Kirhenshtein on January 18, 2017, 06:40:46 PM
Hi all,

NetXMS 2.1-M2 is out. It's next milestone release in 2.1 branch. It should be considered beta version and used with caution, although we do our best to ensure it's stability. Changes since 2.1-M1 are following:

- Added alarm category functionality to manage which alarms are seen by what users
        - EPP rules can be configured to generate categorised alarms
        - Alarm categories can be created and configured in Alarm Category Configurator
        - By default view_all_alarms acl added to Everyone group
- Server can be configured to periodically send alarm summary emails
- Added template graphs
- New NXSL functions: mktime, GetSyslogRuleCheckCount, GetSyslogRuleMatchCount
- New NXSL "Node" class attributes: isInMaintenanceMode, lastAgentCommTime
- New NXSL "Table" class attribute "rows"
- Access to object's alarms in NXSL via "alarms" attribute in "NetObj" class
- Operator "new" in NXSL which can be used to instantiate objects if object class supports it
- Template auto-apply and container auto-bind works for clusters
- H3C driver correctly reads IPv6 addresses on interfaces
- Improved HP ProCurve driver
- SMS driver for Nexmo service
- SMS driver for SMSEagle gateway
- SMS driver for MyMobile service
- Fixed FDB handling on Cisco switches
- Added support for CHAP, MS-CHAPv1, and MS-CHAPv2 in RADIUS authentication
- MySQL monitoring subagent
- Fixed FreeBSD 11 compatibility issues
- Implemented interrupt and context switch counters in platform subagents
- Implemented CPU interrupt time parameters on Windows
- JMX subagent
- Event sending by agent do not restricted to master servers only anymore
- Launcher for nxshell
- Log monitoring subagent supports pre-allocated log files
- Management console:
        - File manager improvements
        - Option to save graph as image
        - Added multipliers support in data format string for gauges
- Fixed issues: #42, #106, #130, #174, #179, #185, #496, #526, #569, #633, #637, #784, #876, #951, #953, #1031, #1043, #1069, #1079, #1087, #1090, #1097, #1123, #1156, #1192, #1201, #1205, #1206, #1208, #1233, #1258, #1285, #1292, #1300, #1310, #1311, #1312, #1314, #1318, #1320, #1323, #1326, #1329, #1332, #1338, #1341, #1348, #1349, #1351, #1352, #1354, #1357, #1360, #1361, #1362, #1363, #1366, #1367, #1368, #1374, #1376, #1379, #1389, #1396, #1397

Best regards,
Victor
Title: Re: NetXMS 2.1-M2 released
Post by: lindeamon on January 18, 2017, 11:47:52 PM
Hi,

as always, pleasure to see a new version.
amazing work, endless effort to give us state of the art monitoring software.
can't wait to see the next stable release.

Best Regards,
Lindeamon
Title: Re: NetXMS 2.1-M2 released
Post by: shroman on January 19, 2017, 12:30:51 PM
Hi,
Having trouble upgrading from M1 -> M2

root@netxms:~/netxms-2.1-M2# /usr/local/netxms/bin/nxdbmgr upgrade
NetXMS Database Manager Version 2.1-M2 Build 9007 (2.1-M2-2-g995c195) (UNICODE)

Upgrading database...
Upgrading from version 417 to 418
Segmentation fault (core dumped)


Additional info runnning gdb: 0x00007ffff6e9022e in wcsrchr () from /lib/x86_64-linux-gnu/libc.so.6
Title: Re: NetXMS 2.1-M2 released
Post by: shroman on January 19, 2017, 04:11:05 PM
Temporarily fixed the issue by adding the following code to upgrade.cpp after line: 886

----------------------------------
  if (xml == NULL)
            xml = _tcsdup(_T(""));
-----------------------------------


Title: Re: NetXMS 2.1-M2 released
Post by: Dani@M3T on January 20, 2017, 11:11:41 AM
I tried to upgrade our NetXMS V2.1-M1 installation to V2.1-M2 on linux x64. I compile from sources. 'configure' reports error "libssh is required for SSH support". I didn't had this problem compiling V2.1-M1, libssh2 and libssh2-devel ist available on this server. Is there a special version needed?

Thanks for any help.

Dani

Title: Re: NetXMS 2.1-M2 released
Post by: shroman on January 20, 2017, 11:14:57 AM
Quote from: Dani@M3T on January 20, 2017, 11:11:41 AM
I tried to upgrade our NetXMS V2.1-M1 installation to V2.1-M2 on linux x64. I compile from sources. 'configure' reports error "libssh is required for SSH support". I didn't had this problem compiling V2.1-M1, libssh2 and libssh2-devel ist available on this server. Is there a special version needed?

Thanks for any help.

Dani

You should install libssh package, e.g. in ubuntu:  apt-get install libssh-4 libssh-dev
Title: Re: NetXMS 2.1-M2 released
Post by: Dani@M3T on January 20, 2017, 11:27:31 AM
Thanks for the quick reply shroman.
That was the solution for that, I didn't needed these 2packages for older versions of NetXMS.

I added the 2lines you suggested to upgrade.cpp after line 886 before I compiled and now it looks like this:
         int filteringFlag = 0;
         int objectToolFlag = DBGetFieldLong(hResult, i, 1);

         if (xml == NULL)
             xml = _tcsdup(_T(""));

         // Separate and reorder flags for filter and for object tools


but after compile I get the error "'xml' was not declared in this scope"

Can you help me here again?
Title: Re: NetXMS 2.1-M2 released
Post by: shroman on January 20, 2017, 12:01:56 PM
Quote from: Dani@M3T on January 20, 2017, 11:27:31 AM
Thanks for the quick reply shroman.
That was the solution for that, I didn't needed these 2packages for older versions of NetXMS.

I added the 2lines you suggested to upgrade.cpp after line 886 before I compiled and now it looks like this:
         int filteringFlag = 0;
         int objectToolFlag = DBGetFieldLong(hResult, i, 1);

         if (xml == NULL)
             xml = _tcsdup(_T(""));

         // Separate and reorder flags for filter and for object tools


but after compile I get the error "'xml' was not declared in this scope"

Can you help me here again?


Looks liek you have replace line 886, no inserted lines after it:





884:         int filteringFlag = 0;
885:         int objectToolFlag = DBGetFieldLong(hResult, i, 1);
886:         TCHAR *xml = DBGetField(hResult, i, 2, NULL, 0);   ->>>>>>
-----------------------
          if (xml == NULL)
            xml = _tcsdup(_T(""));
------------------------
         //Separate and reorder flags for filter and for object tools

Title: Re: NetXMS 2.1-M2 released
Post by: Dani@M3T on January 20, 2017, 12:12:09 PM
The unchanged version (downloaded a few hours ago) looks like this here, is it maybe a newer version already fixed?

884:         int filteringFlag = 0;
885:         int objectToolFlag = DBGetFieldLong(hResult, i, 1);
886:
887         // Separate and reorder flags for filter and for object tools


your line 885 is in my version in line 946
Title: Re: NetXMS 2.1-M2 released
Post by: tomaskir on January 20, 2017, 12:15:55 PM
The upgrade problems are already fixed in develop, so if you get the latest source, no need to change anything.
Title: Re: NetXMS 2.1-M2 released
Post by: Dani@M3T on January 20, 2017, 12:18:09 PM
thanks Tomas, it works
Title: Re: NetXMS 2.1-M2 released
Post by: NillaMilla on February 15, 2017, 06:02:35 PM
Hello,

Is V2.1-M1 considered stable at this time?  If so, is the download available for V2.1-M1?

I cant seem to find it on the page anywhere.

Thanks,

-Dan
Title: Re: NetXMS 2.1-M2 released
Post by: Tatjana Dubrovica on February 16, 2017, 12:56:51 PM
For now only 2.0.x branch is considered as a stable one. All 2.1-Mx are Milestone releases before 2.1.0, which will be considered as a stable release.