NetXMS 2.1-M2 released

Started by Victor Kirhenshtein, January 18, 2017, 06:40:46 PM

Previous topic - Next topic

Victor Kirhenshtein

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

lindeamon

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

shroman

#2
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

shroman

Temporarily fixed the issue by adding the following code to upgrade.cpp after line: 886

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



Dani@M3T

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


shroman

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

Dani@M3T

#6
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?

shroman

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


Dani@M3T

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

tomaskir

The upgrade problems are already fixed in develop, so if you get the latest source, no need to change anything.

Dani@M3T


NillaMilla

#11
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

Tatjana Dubrovica

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.