{"id":41457195,"url":"https://github.com/ticgal/glpiagentutils","last_synced_at":"2026-01-23T15:41:47.678Z","repository":{"id":180499844,"uuid":"665204880","full_name":"ticgal/glpiagentutils","owner":"ticgal","description":"A collection of GLPI Agent related scripts","archived":false,"fork":false,"pushed_at":"2025-03-25T14:27:43.000Z","size":96,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-03-25T15:36:15.709Z","etag":null,"topics":["glpi","glpi-agent","script"],"latest_commit_sha":null,"homepage":"https://tic.gal","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ticgal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-11T17:10:15.000Z","updated_at":"2025-03-25T14:27:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"6475d653-3df6-4c34-a3a1-4a6be985cb03","html_url":"https://github.com/ticgal/glpiagentutils","commit_stats":null,"previous_names":["ticgal/glpiagentutils"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ticgal/glpiagentutils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ticgal%2Fglpiagentutils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ticgal%2Fglpiagentutils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ticgal%2Fglpiagentutils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ticgal%2Fglpiagentutils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ticgal","download_url":"https://codeload.github.com/ticgal/glpiagentutils/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ticgal%2Fglpiagentutils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28694816,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T14:15:13.573Z","status":"ssl_error","status_checked_at":"2026-01-23T14:09:05.534Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["glpi","glpi-agent","script"],"created_at":"2026-01-23T15:41:47.066Z","updated_at":"2026-01-23T15:41:47.668Z","avatar_url":"https://github.com/ticgal.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GLPI Agent Utils\n\n[![Twitter](https://img.shields.io/badge/Twitter-TICGAL-blue.svg?style=flat-square)](https://twitter.com/ticgalcom)\n[![Web](https://img.shields.io/badge/Web-TICGAL-blue.svg?style=flat-square)](https://tic.gal/)\n[![License](https://img.shields.io/badge/License-GNU%20AGPLv3-blue.svg)](https://github.com/ticgal/taskdrop/blob/master/LICENSE)\n\n## Disclaimer\nYou can use them at your own risk.\nIf you need professional support, please don't hesitate to get in touch with us.\n\n## What are GLPI Agent Utils?\n\nGLPI-Agent-Utils aims to be a toolkit to complement GLPI Agent. It's a set of scripts designed to improve how you use the GLPI Agent for managing IT assets.\nCurrently, these are the scripts:\n- [glpi-agent-portable-inventory.sh](#glpi-agent-portable-inventory.sh)\n- [glpi-agent-wrapper.sh](#glpi-agent-wrapper.sh)\n- [glpi-agent-autoupdater.sh](#glpi-agent-autoupdater.sh)\n## What is the GLPI Agent?\n\nFor more information about the GLPI Agent, please visit this [link](https://github.com/glpi-project/glpi-agent#readme).\n\n## What do GLPI Agent Utils include?\n\n### [glpi-agent-portable-inventory.sh](#glpi-agent-portable-inventory.sh)\n\nThis script lets you start a local inventory process without installing any agents.\n\nIt relies on the GLPI Agent AppImage version and the [glpi-agent-portable.sh](https://github.com/glpi-project/glpi-agent/blob/master/contrib/unix/glpi-agent-portable.sh) generator script\n\nCurrently, it runs and saves a local inventory to /tmp\n\n#### Supported OS\n\n**glpi-agent-portable-inventory.sh** works with any operating system supporting Flatpak and the GLPI Agent. \n\nIt has been tested on:\n\n- Ubuntu\n\n#### How to use it\n\nTo use GLPI-Agent-Utils, all you need to do is:\n\n1. Download it\n2. Run it as sudo \n3. This will create an inventory in the `/tmp` folder.\n\nAlternatively, you can run this one-liner:\n\n`curl -s https://raw.githubusercontent.com/ticgal/glpiagentutils/master/glpi-agent-portable-inventory.sh | sudo bash`\n\n### [glpi-agent-wrapper.sh](#glpi-agent-wrapper.sh)\n\nA quick GLPI Agent updater script \nIt relies on the `glpi-agent-linux-installer.pl` to perform the update.\n\n#### Supported OS\n\n**`glpi-agent-wrapper.sh`** works with any operating system supported by the official `glpi-agent-linux-installer.pl `\n\nIt has been tested on:\n\n- Ubuntu\nHowever, it should work on any glpi-agent-linux-installer.pl  supported OS\n\n#### How to use it\n\nTo use GLPI-Agent-Utils, all you need to do is:\n\n1. Download it\n2. Make it executable (chmod +x)\n2. Run it as sudo \n\nThere are three parameters:\n1. --install\n2. --update\n3. --help\n\n#### --install\nIt works as a wrapper to the plugin, making the installation pass the parameters to the script. \nAt least a --server or --local is needed to install and generate an inventory. \nAll the installations are silent by default. If you want them lengthy, use the official script.\n\nAlternatively, you can run this one-liner:\n\n`curl -s https://raw.githubusercontent.com/ticgal/glpiagentutils/master/glpi-agent-wrapper.sh | sudo bash /dev/stdin --install --server=\"https://yourserver.tld/\" [add any other parameters needed]`\n\n#### --update\nThis is a helpful parameter since the official script won't update the agent, preserving the parameters nor the installed modules.\n\nRunning the agent with the `--update´ parameter will:\n\n- Check for the last version of the agent\n- Download it\n- Save your agent settings\n- Save your installed agent modules\n- Install the new agent with the previously installed modules\n- Retrieve previous settings\n- Run the agent\n\nAnother convenient one-liner:\n\n`curl -s https://raw.githubusercontent.com/ticgal/glpiagentutils/master/glpi-agent-wrapper.sh | sudo bash /dev/stdin --update`\n\n#### --help\nSelf-explanatory :)\n\n### [glpi-agent-autoupdater.sh](#glpi-agent-autoupdater.sh)\nA deployable script to automate the creation of a service to update glpi-agent at computer startup\nIt relies on the `glpi-agent-wrapper.sh` to perform the update.\n\n#### Supported OS\n\n**`glpi-agent-autoupdater.sh`** should work with any operating system supported by the official `glpi-agent-linux-installer.pl` using **systemd**\n\nIt has been tested on:\n- Ubuntu\n\n\n#### How to use it\nJust download and run\nIt was created to be distributed using GLPI Agent Deploy tasks ;)\n\n# Contribute\nPR, suggestions, or improvements are always welcome. Open an Issue and send a PR to be reviewed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fticgal%2Fglpiagentutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fticgal%2Fglpiagentutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fticgal%2Fglpiagentutils/lists"}