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-03-19 13:15:24

JohnnyPS
Member
From: Germany - Lower Saxony
Registered: 2008-03-19
Posts: 3

Computer Inventory show MAC Adress only 1 time ?

Hi,

i want to use glpi to have more freedom of creating an Inventory report as i have with OCS Inventory. So ive imported everything and adding items to show for the report works fine. I am in need of having a list with Computer Names, location (the TAG Value form OCS) and Mac Adresses.

The only blemish i found is that the MAC Adress is showed 2 times. For example:
hw=00:02:44:xx:xx:xx
port=00:02:44:xx:xx:xx

Is it possible to only see this 1 time per computer or network card ? I dont need the hardware or port pre- , i dont know how to call is in english, thing.


Hopefully you unterstand my english, german is my first language smile. If their are any questions please ask me.

greetings
Johnny

Offline

#2 2008-03-19 15:26:40

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Computer Inventory show MAC Adress only 1 time ?

maybe we need to split these informations.


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#3 2008-03-19 15:30:04

JohnnyPS
Member
From: Germany - Lower Saxony
Registered: 2008-03-19
Posts: 3

Re: Computer Inventory show MAC Adress only 1 time ?

Isnt their a way to change this information quickly ? It works as it is but the information per computer is 2 rows instead of one and i cant find a use of having the hardware MAC and Port MAC which should be identical in 99.99% of the time.

I dont know much about html and php otherwise i would try to find the source sad

Offline

#4 2008-03-19 15:44:00

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Computer Inventory show MAC Adress only 1 time ?

You need to modify the source code in search.function.php


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#5 2008-03-19 16:40:06

JohnnyPS
Member
From: Germany - Lower Saxony
Registered: 2008-03-19
Posts: 3

Re: Computer Inventory show MAC Adress only 1 time ?

Hi,

thanks for the hint. I just deleted the "port=" for loop and edited the other one so that only the Adress itself stands in that line. I dont know what all that stuff inside the loop does but at the moment it is working and i made a copy before "editing" it.

Its only bad if the Comp has 2 network cards like wireless and wired but i can live with that.


Have a nice day and thanks again
Johnny

Offline

#6 2008-03-19 21:03:04

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Computer Inventory show MAC Adress only 1 time ?

you can delete the hw one it will manage computers which have several cards


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#7 2008-03-19 21:05:26

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Computer Inventory show MAC Adress only 1 time ?

I create a ticket to improve it :
https://dev.indepnet.net/glpi/ticket/1036


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

Board footer

Powered by FluxBB