NetXMS 1.2.15 released

Started by Victor Kirhenshtein, July 27, 2014, 08:28:36 PM

Previous topic - Next topic

Victor Kirhenshtein

Hi all!

NetXMS version 1.2.15 is out. Changes since previous release:

- LDAP support
- Event names support in nxevent
- Previous state parameter added to SYS_NODE_UP event
- Added file management subagent (filemgr.nsm)
- Removed agent configuration parameter EnableArbitraryFileUpload
- New NXSL class "Zone"
- New attributes "zone" and "zoneId" in NXSL classes "Node" and "Interface"
- Syslog records from unmanaged nodes do not generate events
- Syslog node matching improved
- New access rights for nodes:
   - Download File (download file from agent to local workstation)
   - Upload File (upload file from local workstation to remote node)
   - Manage Files (move, rename and delete files on remote node)
- Management console:
   - "Commands" box on node overview page made configurable
   - Object tools can have icons
   - "Last value" type gauge can show non-numeric values
   - "Trusted Nodes" property page shown for condition objects
   - Network map content can be copied to clipboard
   - Perspectives export/import
   - Topology related options in node's context menu grouped in "Topology" submenu
   - Added specialized view for IP routing table
   - Added specialized view for switch forwarding database
   - Agent configurations manager implemented
- Android Console:
   - Added option in preference to show/hide legend in graphs
   - Object comments displayed
   - Added "Navigate to" option for objects with geolocation set
- Fixed issues: #136, #158, #457, #512, #537, #540, #555, #564, #566, #584, #586, #594, #596, #597, #598, #602, #605, #606, #607, #608, #610, #612, #614

Best regards,
Victor

Dani@M3T

Thanks for the new release!
But I get this db upgrade error when I upgrade from V1.2.14 to V1.2.15 on linux 64bit with PostgreSQL:

Upgrading database...
Upgrading from version 318 to 319
Upgrading from version 319 to 320
Upgrading from version 320 to 321
Upgrading from version 321 to 322
Upgrading from version 322 to 323
Upgrading from version 323 to 324
NOTICE:  CREATE TABLE / UNIQUE will create implicit index "tdata_257_record_id_key" for table "tdata_257"
NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "tdata_records_257_pkey" for table "tdata_records_257"
NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "tdata_rows_257_pkey" for table "tdata_rows_257"
SQL query failed (42830 ERROR:  there is no unique constraint matching given keys for referenced table "tdata_records_257"):
CREATE TABLE tdata_rows_257 (row_id bigint not null,column_id integer not null,value varchar(255) null,PRIMARY KEY(row_id,column_id),FOREIGN KEY (row_id) REFERENCES tdata_records_257(row_id) ON DELETE C                                     ASCADE)
SQL query failed (25P02 ERROR:  current transaction is aborted, commands ignored until end of transaction block):
SELECT id FROM clusters
SQL query failed (25P02 ERROR:  current transaction is aborted, commands ignored until end of transaction block):
SELECT id FROM mobile_devices
SQL query failed (25P02 ERROR:  current transaction is aborted, commands ignored until end of transaction block):
DELETE FROM metadata WHERE var_name='ValidTDataIndex'
Rolling back last stage due to upgrade errors...
Database upgrade failed


Alex Kirhenshtein

Quote from: Dani@M3T on July 28, 2014, 11:29:49 AM
But I get this db upgrade error when I upgrade from V1.2.14 to V1.2.15 on linux 64bit with PostgreSQL:

Hello.

Thank you for report. This bug in upgrade procedure is already fixed, we testing it right now.

Dani@M3T

Hi Alex

Ok, thanks. So I wait for your patched version.

Victor Kirhenshtein

Hi,

updated source package and Windows installers are on web site.

Best regards,
Victor

Dani@M3T

I just tested the fixed version. DB update is working now. Thanks for the fast fix!!

ArtKZ

I download latest source package, but also have error when upgrade on Solaris 10 SPARC with PostgreSQL:

bash-3.2# /opt/netxms/bin/nxdbmgr upgrade
NetXMS Database Manager Version 1.2.15 Build 7881

Upgrading database...
Upgrading from version 323 to 324
SQL query failed (42P01 ERROR:  table "tdata_rows_500" does not exist):
DROP TABLE tdata_rows_500
SQL query failed (25P02 ERROR:  current transaction is aborted, commands ignored until end of transaction block):
DELETE FROM metadata WHERE var_name='ValidTDataIndex'
Rolling back last stage due to upgrade errors...
Database upgrade failed

Victor Kirhenshtein

Hi!

Seems that table is missing while it should exist. Try to create table with that name (any structure, it will be dropped anyway) and run upgrade again.

Best regards,
Victor

ArtKZ

I created all the missing tables and the db upgrate was successful. Thank you, Victor!

Dani@M3T

Is there somewhere a documentation of the new file management subagent (filemgr.nsm)?
I didn't found anything in the wiki.


Dani@M3T

Thank you. I was looking in the wiki.
Is the file management subagent only available on linux agents?

Tatjana Dubrovica

#12
Should work on all platforms. Tested also on Windows.

Windows path:
RootFolder = C:\log

Dani@M3T

I installed the windows agent by the 'nxagent-1.2.15-x64.exe' but there is no File Management Subagent in the subagent selection list of the installer (only ecs.nsm, ping.nsm, logwatch.nsm, portcheck.nsm, winperf.nsm, wmi.nsm, ups.nsm) and there is no 'filemgr.nsm' file in the 'bin'-directory after installation.
In log file I get:
Error loading subagent module "filemgr.nsm": The specified module could not be found.

lindeamon

wooooooooohooooooooooo

finally. i will wait for the fix of the missing nsm file and then...
partyyyyyyyyyyyy