You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-11-09 11:43:03

krischeu
Member
Registered: 2023-10-26
Posts: 40

[SOLVED]How to use glpi-netdiscover and glpi-netinventory

Hi,
I send some time in reading the docu but I dont understand the way to do so.
My glpi-server is Debian 12 with version 10 of glpi.

What I want to do, is to put all IP-Devices in a Inventory List.
My windows and linux agents are running fine. But there are much more Printer,Switche, IOT etc. in the network.

What is the first thing, I have to do?

glpi-netdiscover or glpi-netinventory?

Regards,
Heinz

p.s. I have done the following for a known printer
glpi-netdiscovery --first 192.168.0.225 --last 192.168.0.225 --inventory --v2c --credentials version:2c,community:public
--> How can this be commited to the glpi server?

Last edited by krischeu (2023-11-13 09:56:07)

Offline

#2 2023-11-09 12:23:02

krischeu
Member
Registered: 2023-10-26
Posts: 40

Re: [SOLVED]How to use glpi-netdiscover and glpi-netinventory

To add a known printer at the IP-Address 192.168.0.225
0. create a directory e.g. xmls
1.    glpi-netdiscovery --first 192.168.0.225 --last 192.168.0.225 --inventory -s ./xmls
2.    glpi-injector -v -f 192.168.0.225.xml --url http://loginname:password@glpi.domainname.local
Voila
Next point is to discover the hole network and put the stuff into the GLPI as a daily job

Offline

Board footer

Powered by FluxBB