Use NetEye 4.15 JWT Built-in Authentication to use Fusion Inventory and GLPI
Use Case
Suppose we want to trigger Fusion Inventory execution in a GLPI installation, where we can then use the Autonomous mode to import data into GLPI via a CURL request. Let’s see how JWT (JSON Web Token) can help us in NetEye 4.15.
Prerequisites
A NetEye 4.15 (or later) installation with the Asset module enabled
Paste the following JSON* in the payload field: { "sub": "glpi_fusion_inventory", "exp": 2516239022 }
Copy the generated token to a file in a safe folder onto the host that runs the inventory: echo "TOKEN" > /safe-jwt-tokens-folder/glpi_fusion_inventory.jwt
Remember to give the file that contains the JWT token only minimum permissions since this will allow someone to log in to NetEye as the glpi_fusion_inventory user
Please remember that this is just an example of how to properly send data from Fusion Inventory to GLPI. If you’re going to use this approach often, take care to have an automatic process to refresh the JWT token periodically, and to always set a proper expiration time.
Full Stack Developer at Wuerth Phoenix. I love questioning myself, find new challenges to learn and new adventures to grow up. PHP lover trying to expand my skills studying new languages and tools to improve my professional life.
Author
Gianluca Piccolo
Full Stack Developer at Wuerth Phoenix. I love questioning myself, find new challenges to learn and new adventures to grow up. PHP lover trying to expand my skills studying new languages and tools to improve my professional life.
Important: PHP security update Type/Severity NetEye Product Security has rated this update as having a CRITICAL security impact. Topic Updates for the php and glpi packages are now available for NetEye 4. Security Fix for All NetEye Releases php-7.4.33-8.module+el8.10.0+25117+30337cca php-7.4.33-8.module+el8.10.0+25117+30337cca php-cli-7.4.33-8.module+el8.10.0+25117+30337cca php-common-7.4.33-8.module+el8.10.0+25117+30337cca php-fpm-7.4.33-8.module+el8.10.0+25117+30337cca php-gd-7.4.33-8.module+el8.10.0+25117+30337cca php-gmp-7.4.33-8.module+el8.10.0+25117+30337cca php-intl-7.4.33-8.module+el8.10.0+25117+30337cca php-json-7.4.33-8.module+el8.10.0+25117+30337cca php-ldap-7.4.33-8.module+el8.10.0+25117+30337cca php-mbstring-7.4.33-8.module+el8.10.0+25117+30337cca php-mysqlnd-7.4.33-8.module+el8.10.0+25117+30337cca php-opcache-7.4.33-8.module+el8.10.0+25117+30337cca php-pdo-7.4.33-8.module+el8.10.0+25117+30337cca php-pgsql-7.4.33-8.module+el8.10.0+25117+30337cca php-process-7.4.33-8.module+el8.10.0+25117+30337cca php-soap-7.4.33-8.module+el8.10.0+25117+30337cca php-xml-7.4.33-8.module+el8.10.0+25117+30337cca php-xmlrpc-7.4.33-8.module+el8.10.0+25117+30337cca Security Fix for NetEye 4.50 glpi-11.0.11_neteye1.25.7-1 glpi-11.0.11_neteye1.25.7-1 glpi-autosetup-11.0.11_neteye1.25.7-1 glpi-configurator-11.0.11_neteye1.25.7-1 glpi-neteye-config-11.0.11_neteye1.25.7-1 Security Read More
Important: GLPI security update Type/Severity NetEye Product Security has rated this update as having a medium security impact. Topic An update for the glpi packages is now available for NetEye 4. Security Fix for NetEye 4.50 glpi-11.0.11_neteye1.25.5-1 glpi-autosetup-11.0.11_neteye1.25.5-1 glpi-configurator-11.0.11_neteye1.25.5-1 glpi-neteye-config-11.0.11_neteye1.25.5-1 Summary The list Read More
Important: GLPI security update Type/Severity NetEye Product Security has rated this update as having a high security impact. Topic An update for the glpi packages is now available for NetEye 4. Security Fix for NetEye 4.50 glpi-11.0.11_neteye1.25.3-1 glpi-autosetup-11.0.11_neteye1.25.3-1 glpi-configurator-11.0.11_neteye1.25.3-1 glpi-neteye-config-11.0.11_neteye1.25.3-1 Summary This is Read More
New features, remaining gaps to the roadmap, and operating-system compatibility Starting in 2026, Teclib, the company behind GLPI, is moving from major releases every three to four years to a fixed annual release cycle, with a new major version planned Read More
When you create custom fields with the Fields plugin for GLPI, the container defines which itemtypes show the new tab. If you later need to add more itemtypes (for example Certificate or Domain), the web interface isn't enough: you have Read More