Closed DaniKawaii closed 2 years ago
Hi @DaniKawaii ,
To install unix agent plugin, copy the CronTab.pm to /usr/local/share/perl/5.30.0/Ocsinventory/Agent/Modules
.
Next, edit the file /etc/ocsinventory/modules.conf
and add this line :
use Ocsinventory::Agent::Modules::CronTab;
Note : Crontab.pm require the Config::CronTab lib to work.
Best regards, Charlene
Hi!
General informations
Operating system : Ubuntu 20.04.2 LTS
Server informations
Perl version : Perl/v5.16.3 Mysql / Mariadb / Percona version : MySQL Community Server (GPL) version 5.7.34
OCS Inventory informations
Ocs server version : 2.9 (Docker)
Problem's description
I've installed crontabTasks 2.1 plugin (https://github.com/PluginsOCSInventory-NG/crontabTasks), but I don't receive information from the machines which have the plugin's agent deployed.
The steps I did to install the plugin:
The machines where I installed the plugin do have cron tasks. Is there a step that am I missing? I used https://wiki.ocsinventory-ng.org/10.Plugin-engine/Using-plugins-installer/ as a guide.
Here you can see the plugin in Extensions Manager
Here is the table in the database (it's empty).
Here is the result of a query:
Here is the plugin table in Configuration tab of a machine:
Thanks in advance!