How to manage an isolated network
Collecting inventory data from servers, network devices, and workstations across your company without installing an agent on every device is possible through the use of the GLPI Agent Remote Inventory features.
These features are particularly useful when internal policies prevent technicians from installing the GLPI agent on all servers, when there's no centralized installation method for the agent, or when the environment involves the use of isolated networks which should not connect to the internet or an additional network where the GLPI server is.
After the information is gathered, you can check the following steps:
Activate the navigation bar menus
For this example you only need 4 menus:
Credentials
Inventory
IP Ranges
Scheduling
Open the GLPI Agent Toolbox Web Interface at
http://agentip:62354/toolboxClick on the cog icon on the top right of the screen

On
Navigation barsession enableShow Credentialsin navigation barShow Inventorytasks in navigation barShow IP Rangesin navigation barShow Schedulingin navigation bar

Click on
Updateat the bottom of the page

Go back to home clicking on the GLPI Agent icon on top left of the screen
Now you will be able to see new menus on your left where you will create the inventory tasks.
Create an Inventory Task
Create an execution scheduling
From your GLPI Agent Toolbox home page, click on the
SchedulingtabClick on
Add new schedulingThe Name of the scheduling is for administrative purposes
Choose a Type
in this example,
Delaysince there's the need of running this task every 5 hours
for more information about the types, please refer to the scheduling official documentation
Click on
Add

Register SNMP, SSH, ESXi and WinRM Credentials
From yout GLPI Agent Toolbox home page, click on the
CredentialstabClick on
Add CredentialGive it a name
Select the type according to your devices - in this case
sshType the
sshUsernameType the Authentication password
Select the port - here is the default port for ssh -
22Select Remote SSH Mode
libsshYou can add a descriprion to this credential if needed
Click on
Update
!!! note Add more credentials to different usernames and/or protocols

For more information, please refer to the official documentation
Create the IP Ranges to be scanned
Click on
IP RangesName the IP Range
Network AOn
IP range starttype the first IP address be scanned on your range172.16.10.250
On
IP range endtype the last IP address to be scanned on your range172.16.10.254
Add the credentials previously created that will be used in this IP range
rootlinux

!!!note Repeat the step above for the second IP range
For more information, please refer to the official documentation
Create the Inventory Task
Click on
Add new inventory taskName your task to be easy to find and understand it after
Select the type
Local inventory for only the computer where the agent is installed
Network scan to run a network scan
Select a Target for this task
It will use the servers that you have created before as targets or the Agent folder when you need to create an XML and import it to GLPI after
server0 - it's the URL set up in GLPI Agents config file or installation
Select the scheduling type
Every 5 hours
Add a tag to make business rules an easier task

Associate the ip ranges created

Set the number of threads that you desire to run
Set the time of Connection timeout

Enable the Inventory task by clicking on the respective select box and on Enable

You may also refer to our video about setting up the GLPI Remote Inventory at our YouTube Channel.
Last updated