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 2018-01-02 12:19:31

Diegort
Member
Registered: 2018-01-02
Posts: 7

Autofill "Location" of all computers according to their IP

I want to know how can autofill "location" field of all computers according to their IP. For example, something like that:

I have 100 computers distributed in 3 networks:

192.168.1.0/24 California
192.168.2.0/24 Philadelphia
192.168.3.0/24 Chicago

When a new computer is added and have the ip 192.168.3.166, I want that in the "location" folder appear automatically "Chicago".

I found another post (http://forum.glpi-project.org/viewtopic.php?id=17519) about a database query to upload this information but it's old and I want to know if there is another solution.

I have GLPI 9.1 with Fusioninventory 9.1+1.1

Regards

Offline

#2 2018-01-02 19:12:07

Roshan
Member
Registered: 2017-07-26
Posts: 69

Re: Autofill "Location" of all computers according to their IP

Hi
under fusion inventory - Rules - computer location rules. add OR rule with criteria address IP contains 192.168.1. and under actions Location assign California. create similar rules for other locations

Offline

#3 2020-02-05 17:02:07

vitu4
Member
Registered: 2020-02-05
Posts: 1

Re: Autofill "Location" of all computers according to their IP

Diegort wrote:

I want to know how can autofill "location" field of all computers according to their IP. For example, something like that:

I have 100 computers distributed in 3 networks:

192.168.1.0/24 California
192.168.2.0/24 Philadelphia
192.168.3.0/24 Chicago

When a new computer is added and have the ip 192.168.3.166, I want that in the "location" folder appear automatically "Chicago".

I found another post a database query to upload this information but it's old and I want to know if there is another solution.

I have GLPI 9.1 with Fusioninventory 9.1+1.1

Regards

Want to know the same thing, do you resolve this ?

Last edited by vitu4 (2020-02-05 17:02:31)

Offline

Board footer

Powered by FluxBB