You can use them at your own risk. If you need professional support, please don't hesitate to get in touch with us.
GLPI-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. Currently, these are the scripts:
For more information about the GLPI Agent, please visit this link.
This script lets you start a local inventory process without installing any agents.
It relies on the GLPI Agent AppImage version and the glpi-agent-portable.sh generator script
Currently, it runs and saves a local inventory to /tmp
glpi-agent-portable-inventory.sh works with any operating system supporting Flatpak and the GLPI Agent.
It has been tested on:
- Ubuntu
To use GLPI-Agent-Utils, all you need to do is:
- Download it
- Run it as sudo
- This will create an inventory in the
/tmp
folder.
Alternatively, you can run this one-liner:
curl -s https://raw.githubusercontent.com/ticgal/glpiagentutils/master/glpi-agent-portable-inventory.sh | sudo bash
A quick GLPI Agent updater script
It relies on the glpi-agent-linux-installer.pl
to perform the update.
glpi-agent-wrapper.sh
works with any operating system supported by the official glpi-agent-linux-installer.pl
It has been tested on:
- Ubuntu However, it should work on any glpi-agent-linux-installer.pl supported OS
To use GLPI-Agent-Utils, all you need to do is:
- Download it
- Make it executable (chmod +x)
- Run it as sudo
There are three parameters:
- --install
- --update
- --help
It works as a wrapper to the plugin, making the installation pass the parameters to the script. At least a --server or --local is needed to install and generate an inventory. All the installations are silent by default. If you want them lengthy, use the official script.
Alternatively, you can run this one-liner:
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]
This is a helpful parameter since the official script won't update the agent, preserving the parameters nor the installed modules.
Running the agent with the `--update´ parameter will:
- Check for the last version of the agent
- Download it
- Save your agent settings
- Save your installed agent modules
- Install the new agent with the previously installed modules
- Retrieve previous settings
- Run the agent
Another convenient one-liner:
curl -s https://raw.githubusercontent.com/ticgal/glpiagentutils/master/glpi-agent-wrapper.sh | sudo bash /dev/stdin --update
Self-explanatory :)
A deployable script to automate the creation of a service to update glpi-agent at computer startup
It relies on the glpi-agent-wrapper.sh
to perform the update.
glpi-agent-autoupdater.sh
should work with any operating system supported by the official glpi-agent-linux-installer.pl
using systemd
It has been tested on:
- Ubuntu
Just download and run It was created to be distributed using GLPI Agent Deploy tasks ;)
PR, suggestions, or improvements are always welcome. Open an Issue and send a PR to be reviewed.