====== Install GLPI agent with perl modules ====== # ./glpi-inventory > ${HOSTNAME}.xml [info] New inventory from vm-aix72-2022-11-15-11-49-43 for local0 # oslevel -s 7200-05-04-2219 Need a gcc compiler or IBM xlC From Toolbox * Install wget, expat (dependency with perl package) * Install GNU tar, required for untar for cpanm (do not replace AIX tar, use better a PATH including first this binary, AIX tar is required for boot process) * Install GNU CC 8 * Install Perl from Toolbox, set also the PATH variable to version Toolbox /usr/bin/perl -> /opt/freeware/bin/perl5.34.1 * Add /opt/freeware/bin into PATH (/etc/environnement) CPAN is a binary availble into the perl RPM pacakage $ rpm -qpl Downloads/perl-5.34.1-2.aix7.1.ppc.rpm | grep -i cpan /opt/freeware/bin/cpan ... Download CPANM * wget [site cpanmin.us] > /opt/freeware/bin/cpanm + chmod 755 /opt/freeware/bin/cpanm https://github.com/glpi-project/glpi-agent/blob/develop/README.md Download GLPI Agent from source GLPI\\ Follow the procedure for FusionInventory (install from sources) https://documentation.fusioninventory.org/FusionInventory_agent/installation/source/ https://github.com/fusioninventory/fusioninventory-agent/releases/tag/2.6 To install Perl modules, you can disable tests to download much faster from source repository root@vm-aix72:/tmp/glpi-agent-1.4$ cpanm -n . (now you have time ... many minutes) Then compile: perl Makefile.PL make && make install Reste à voir si cela se bundle bien en binaire et si cela va fonctionner sur des vrai LPAR AIX 7.2 https://github.com/glpi-project/glpi-agent/issues/258 https://documentation.fusioninventory.org/FusionInventory_agent/installation/source/ https://glpi-agent.readthedocs.io/en/latest/installation/index.html https://forum.glpi-project.org/viewtopic.php?id=285236 https://forum.glpi-project.org/viewtopic.php?id=285236 http://jlbicquelet.free.fr/aix/perl_aix.php https://github.com/unistra/ansible-collection-glpi https://linuxfr.org/users/azerttyu/journaux/obtenir-un-inventaire-ansible-depuis-glpi https://plugins.glpi-project.org/#/plugin/fusioninventory