Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

Problems with ocsinventory-injector.pl script

Hi,

After sending from one OCS server to another OCS server two *.ocs fiiles with "ocsinventory-injector.pl", second server only shows inventoried last file. It seems second server only saves the last injection, overwritting the first one, although both files are from different machines and, of couse, each machine has different hostname and IP address. Why??

Help!!!
in OCS Inventory NG server for Unix by (160 points)

1 Answer

0 votes
Hi,

Before inhecting the second file have you verified that the first one was correctly injected? These 2 files concern the same machine?

Regards

Frank
by (90.2k points)
Hi,

I have found the problem: both files were created with "--force" (not with "cron" execution) and it seems that forcing from command line, file created is XML format and not OCS format (I had checked with "file" linux command). So when primary server received XML files, ocsinventory-injector didn't understand file and it though both files were the same because they had XML format.

Solved!! ;)

Thanks!
 
Powered by Question2Answer
...