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.6 available

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

How to check if the plugin works? [OCS 2.6]

Hello guys!

Because of a problem with plugins installation I had to change the letter size of directory and file names. After that the installation was successful and apache restart correctly. But I dont know how to check if the plugin works - I've never seen any :-P Where i should see results?

For example: https://github.com/PluginsOCSInventory-NG/officepack/releases

1. In Webconsole --> Deployment --> Build. I added here zip file with vbs script --> Execute and msofficekey.vbs in command field. After send it I tried automatic activate but:

GROUP OF REDISTRIBUTION NOT EXIST

OK than... Inventory --> Groups --> REDISTRIBUTION GROUP --> but i havent any Add button here. I can only create new static group.

2. I tried activate it manual - there is link: http://ocs.mydomain/download/1576224576 but when I tray to get there:

The requested URL was not found on this server.

3. Third attempt - i used OcsPackager.exe and include plugins - zip with vbs and vbs directly. I installed the agent on a workstation - in Plugin folder i see zip, and i see vbs... but what now? No results anywhere.

Operating system
    OS Name: Linux x86_64
    Version: 4.15.0-72-generic
    Distribution: Ubuntu 18.04.3 LTS

Software
    PHP Version: 7.2.24
    Web Server: Apache/2.4.29 (Ubuntu)
    Database Server: (Ubuntu) version 5.7.28-0ubuntu0.18.04.4
    Version OCSReports: 2.6

Perl version: v5.26.1

in OCS Inventory NG server for Unix by (810 points)

13 Answers

0 votes
Are plugins tables being created? Are the tables empty? Why don't you try with other plugins? I have these working: checkfiles.zip, networkshare.zip, security.zip, sharedfolders.zip, uptime.zip, winusers.zip. Plugins info are shown in different tabs of each computer details info. For instance, winusers plugin info is shown under the miscelaneous tab.
by (2.3k points)
0 votes
@WebGreg

I did not have this problem, in my case it worked only with the new fields.

I used the uptime plugin to do troubleshoting, but had no problem with it.
by (240 points)
0 votes

But I tried with other plugins. All the same problem. I installed phpMyAdmin and no new tables after:

# sudo python3 install_plugin.py

If you don't have this problem, I obviously did something wrong ... but I don't know what. 

Happy New Year by the way :)
 

by (810 points)
 
Powered by Question2Answer
...