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 2008-10-28 13:52:41

FK2009
Member
Registered: 2008-10-23
Posts: 7

Search global for IP address

Hello,

I am trying to find a way for searching in all objects (Computers, Networks, Phones, etc.) for IP address. Is this possible? Until now I have always to switch between the categories.
The search in the right upper corner is not working for this. Does somebody has a idea?

Thanks!

Last edited by FK2009 (2008-10-28 13:53:57)

Offline

#2 2008-10-28 14:56:00

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: Search global for IP address

There is no direct option for this...

You can try the very usefull "addressing" plugin.
Il allow you to build a report of (un)used IP address for a lan, with a link to the devices.


++


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#3 2008-10-28 15:09:11

FK2009
Member
Registered: 2008-10-23
Posts: 7

Re: Search global for IP address

remi wrote:

There is no direct option for this...

You can try the very usefull "addressing" plugin.
Il allow you to build a report of (un)used IP address for a lan, with a link to the devices.


++

Mhmm this plugins looks quit interesting. May be it is enough.
By the way it is not scheduled to insert some really global search?

Thanks!

Offline

#4 2008-10-28 15:16:00

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: Search global for IP address

Just searching for what criterias are implemented in the global search, and...

Search for IP works !  (at least with GLPI >= 0.71)
But only for computer and networking... printer and phone are missing...

++


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#5 2008-10-28 18:15:20

FK2009
Member
Registered: 2008-10-23
Posts: 7

Re: Search global for IP address

remi wrote:

Search for IP works !  (at least with GLPI >= 0.71)

Yes this is working without problem except when you search for "only" 192.168. then mysql is very slow. It is also not possible to search "192.168.*", then GLPI give something like "Nothing found".
I made an INDEX for the tables where I found IP addresses inside, but it didnt increased the query time. Is the GLPI query searching in some other tables too?

Thanks!

Offline

#6 2008-10-28 18:34:05

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: Search global for IP address

Don't use 192.168.* but simply ^192.168. which must be really faster.


++


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#7 2008-10-28 18:41:18

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: Search global for IP address

remi wrote:

... printer and phone are missing...

I'm really stupid (or tired).

That works for all the item in the inventory, you just need to add the IP column in the default view for each item...

++


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#8 2008-10-29 11:52:57

FK2009
Member
Registered: 2008-10-23
Posts: 7

Re: Search global for IP address

remi wrote:
remi wrote:

... printer and phone are missing...

I'm really stupid (or tired).

That works for all the item in the inventory, you just need to add the IP column in the default view for each item...

++

I am Sorry, but how I can edit the default view? May be I am blind... I cant see it...

Do you mean "global search criteria"?

Thanks!

Last edited by FK2009 (2008-10-29 11:55:36)

Offline

#9 2008-10-29 12:00:04

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: Search global for IP address

From computer/phone/metworking.. list, add the IP column (use the + button on the first column)

++


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#10 2008-10-29 13:17:59

FK2009
Member
Registered: 2008-10-23
Posts: 7

Re: Search global for IP address

remi wrote:

From computer/phone/metworking.. list, add the IP column (use the + button on the first column)

++

Ohhh I see. Thats nice. Is it possible to save the different default items as templates? I tried to use "Save bookmark". But it is always my custom items or all items in every bookmark.

Thanks!

Offline

Board footer

Powered by FluxBB