NetXMS 1.2.15 released

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

Previous topic - Next topic

tomaskir

Quote from: Victor Kirhenshtein on August 04, 2014, 11:51:53 AM
Strange. Is it really same table, or maybe it is now with different ID or tdata instead of idata? Try to create four tables: idata_492, tdata_492, tdata_rows_492, tdata_records_492.

Best regards,
Victor

First I was getting many of there errors (as in my original post):


So I created a table "idata_492" in DB. The server then dropped this table.
After the server dropped that table in DB, I got this error:


I created that table in the DB as well. The server then dropped that table as well.

Now I am getting the original "idata_492" error again tho.


flynao

Hi Victor.

This is the message I received after trying to upload a xml file from the server to the nodes (Win 64 and 32 architecure). Basically the files I'm tryining to upload, are  log parse configuration files. Before the upgrade I was able to do it and any problem came up.


Tatjana Dubrovica

To do any manipulations with files on a node it is required to load filemng subagent and configure accessible paths. https://www.netxms.org/documentation/adminguide/file-management.html

The only 2 exceptions are agent update and upload of file to default path(When destination path is empty). Upload to default path is broken in version 1.2.15.

flynao

#33
Hi Tatiana. Thanks for your reply.

what do you mean by "upload of file to default path(When destination path is empty)"?

the only way I found to deploy these xml files to my nodes was as follows:

I created a npi file for each file, so then I uploaded the xml files as a software using the package manager, then as usual I deployed the files to the nodes (the files have been stores at the directory set up on the agent's configuration file.

I know the new version has a file manager subagent. I added the filemgr.snm by hand on one of my nodes. please find attached the configfile used. the file manager worked, I was able to upload a file using the new manager. But in this new case I've to update every single node I've (we're talking about 80 nodes) by hand, and Im still no able to deploy in one shot one file to all the nodes.

Alex Kirhenshtein

Quote from: flynao on August 04, 2014, 11:41:46 PM
the only way I found to deploy these xml files to my nodes was as follows:

I created a npi file for each file, so then I uploaded the xml files as a software using the package manager, then as usual I deployed the files to the nodes (the files have been stores at the directory set up on the agent's configuration file.

Package manager should not be affected by changes in file transfer (and introducing filemgr subagent). Could you please check it with "nxupload" command line tool? Syntax is "nxupload AGENT_IP local_file_name". File should be uploaded into FileStore (C:\NetXMS\etc in your case).

I'd use slightly different way (but you'll need file manager subagent for that):

1) Tools -> Upload File to Server (select target XML configuration as "local file", leave "remote name" empty to use local name)
2) Right click on any node or container and select "File upload". Click on "select" button and select file you uploaded in step 1, leave name blank
3) Click "Ok"

flynao

Hi Alex.

The way you suggested, its the way I normally use to upload files. but the result is the same "Unknown command" in server Jobs window. I'm going to check the nxupload command. Thanks for your help.

Alex Kirhenshtein

Note about enabled filemgr subagent on the large network, there are two ways:

1) Create configuration policy and deploy to all agents, where required.
Sample policy:
<config>
  <agent>
    <subagent>filemgr.nsm</subagent>
  </agent>

  <filemgr>
    <RootFolder>/opt</RootFolder>
    <RootFolder>/private/etc</RootFolder>
  </filemgr>
</config>


2) Use nxshell-based script to fetch existing agent config remotely, modify it and reapply. I don't have script on hand at the moment, but can share it later.

flynao

Hi  Victor,

I runned the nxupload on line command and the result is:


903: I/O failure


thanks

lindeamon

Hi,

don't want to be a nag but, when does 1.2.16 with all the bugs fixes will be out ?

10x,
Lindeamon

Victor Kirhenshtein

Quote from: lindeamon on August 05, 2014, 09:12:54 PM
Hi,

don't want to be a nag but, when does 1.2.16 with all the bugs fixes will be out ?

10x,
Lindeamon

Hi,

it's being packed and will be available later today.

Best regards,
Victor

Victor Kirhenshtein

Quote from: flynao on August 05, 2014, 04:30:18 PM
Hi  Victor,

I runned the nxupload on line command and the result is:


903: I/O failure


thanks

Hi,

file upload using core agent is fixed. We will release version 1.2.16 which will include that fix later today.

Best regards,
Victor

flynao

Thanks Guys, great job!!!!!  :D