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.

Plugins aren't functionable

Good morning,

As I see that problem seems to be unsolved (http://ask.ocsinventory-ng.org/10928/plugins-and-database-dont-work-as-expected, http://ask.ocsinventory-ng.org/11367/plugins-dont-send-data-to-ocs-server). I also read a question where the solution was: It's a bug! My Situation:

I've installed an agent for Windows 10 (Agent 2.4.0.0 because of 32 bit). On my server (Ubuntu 18.04) there's version 2.6.0.0. The Plugins are installed over install_plugin.py (path

/usr/share/ocsinventory-reports/ocsreports/extensions/

). There're also available and installable over the ocs website. When I go to the Plugin folder on agent installation and put the .vbs scripts in, nothing happen.

These scripts are:

<!--[if gte mso 9]> Normal 0 21 false false false DE X-NONE X-NONE MicrosoftInternetExplorer4 <![endif]--><!--[if gte mso 9]> <![endif]--><!--[if gte mso 10]>

<![endif]-->

Bitlockerstatus

Operating System Install date

List printers

Network Share

Shared Folders

Office Pack

Security

The tables will be shown but without content. In the .log file of agent I get just this:

Starting OCS Inventory NG Agent on Tuesday, November 26, 2019 07:43:34.
AGENT => Running OCS Inventory NG Agent Version 2.4.0.0
AGENT => Using OCS Inventory NG FrameWork Version 2.4.0.0
AGENT => Loading plug-in(s)
AGENT => Using network connection with Communication Server
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.4.0.0>
AGENT => Sending Prolog
AGENT => Prolog successfully sent
AGENT => Inventory required
AGENT => Launching hardware and software checks
AGENT => Sending Inventory
INVENTORY => Inventory changed since last run
AGENT => Inventory successfully sent
AGENT =>  Communication Server asked for Package Download
ERROR *** DOWNLOAD => Found result code <SUCCESS> for OCS Inventory Agent Setup package but no package ID specified, so remove all packages to avoid running Agent setup in loop !

AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:09.

No Plugins are loaded, just an download error (I don't have any packages to download but I think I know why it appears). Important for me are the Plugins at first.

Can anyone help?

in OCS Inventory NG agent for Windows by (1.3k points)

3 Answers

0 votes
I found out that when I put some scripts in the Plugin folder I get an error #500 while inventory.
by (1.3k points)
0 votes
Hi,

the Officepack script may have some problems, please try without

Otherwise, try each plugin script independently

Best, Stéphane
by (32.6k points)
0 votes
I have the same problem: http://ask.ocsinventory-ng.org/11519/how-to-check-if-the-plugin-works-ocs-2-6

Error 500 I have even without Officepack. I had to remove all plugins from the agent directory.
by (810 points)
 
Powered by Question2Answer
...