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

#26 2010-02-18 16:18:10

MHI
Member
From: Germany
Registered: 2007-06-28
Posts: 367

Re: Beta 1 of FusionInventory for GLPI (ex Tracker)

Could you please tell me, how to use the new Fusion Agent as a replacement for the tracker agent. I could not find any start command in the man pages, how this agent will connect to GLPI server and what abotu the old tracker.conf files ?


RedHat Enterprise Linux 5 ES 32Bit x86
PHP 5.1.6 -- Apache 2.2.3
MySQL 5.0.45  --  GLPI 0.72.4 -- OCS 1.32 -- Home brewed MS CM import script

Offline

#27 2010-02-18 16:47:39

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: Beta 1 of FusionInventory for GLPI (ex Tracker)

Yes somebody has reported me this problem. I have many bugs to correct. big_smile

Offline

#28 2010-02-19 10:18:27

bmw328ii
Member
Registered: 2008-01-23
Posts: 68

Re: Beta 1 of FusionInventory for GLPI (ex Tracker)

Hi dd,

any new updates to fusioninventory agent?
I want to test the software.
Do you inform us when there will be a new beta version available?

Offline

#29 2010-02-19 12:03:37

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: Beta 1 of FusionInventory for GLPI (ex Tracker)

Yes I will inform, we make many corrections smile

Offline

#30 2010-02-19 12:23:32

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: Beta 1 of FusionInventory for GLPI (ex Tracker)

Okay, try to run agent with : --basevardir=c:/path

Offline

#31 2010-02-19 12:49:58

marioza
Member
From: Italy
Registered: 2008-03-20
Posts: 143

Re: Beta 1 of FusionInventory for GLPI (ex Tracker)

but why was not yet published on
https://forge.indepnet.net

Is there a guide for upgrading from a tracker fusion.
Besides uninstall tracker what else to do to not lose the data acquired

Last edited by marioza (2010-02-19 12:50:30)


Glpi 0.84.6
Ocs 2.1.2

Offline

#32 2010-02-19 12:52:02

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: Beta 1 of FusionInventory for GLPI (ex Tracker)

I haven't yet time to write doc and it's a first beta.

Don't uninstall, delete tracker folder in plugins folder and install fusioninventory normaly smile

Offline

#33 2010-02-19 13:02:32

bmw328ii
Member
Registered: 2008-01-23
Posts: 68

Re: Beta 1 of FusionInventory for GLPI (ex Tracker)

ddurieux wrote:

Okay, try to run agent with : --basevardir=c:/path

Ok, i made it.
Follwing output:
___

C:\FusionInventory-Agent-2.0beta2>perl fusioninventory-agent --server=http://127
.0.0.1/glpi/plugins/fusioninventory/front/plugin_fusioninventory.communication.p
hp --devlib --basevardir=c:/path
[info] --devlib are found, Developer mode enabled
Set up gcc environment - 3.4.5 (mingw-vista special r3)
[error] Failed to create c:/path
[storage]restore data from: c:/path/FusionInventory-Agent.dump
[storage]restore data from: c:/path/http..__127.0.0.1_glpi_plugins_fusioninvento
ry_front_plugin_fusioninventory.communication.php/FusionInventory-Agent-Target.d
ump
Das System kann den angegebenen Pfad nicht finden.
[storage]restore data from: c:/path/FusionInventory-Agent-RPC.dump
could not find ParserDetails.ini in C:/Perl/site/lib/XML/SAX
[storage]save data in:c:/path/http..__127.0.0.1_glpi_plugins_fusioninventory_fro
nt_plugin_fusioninventory.communication.php/FusionInventory-Agent.dump
Execution failed. Are you sur the software is fully installed
and an old version of the agent not already present on the system?
___
Undefined subroutine &IPC::Run::run called at lib/FusionInventory/Agent.pm line
263.

C:\FusionInventory-Agent-2.0beta2>

-------------------------------------------------------------------------------------------------------
C:\Path was created on my windows server with 4 dump files in it:

fusioninventory-agent.dump
fusioninventory-agent-rpc.dump

A Folder with 2 dumpfiles:
http..__127.0.0.1_glpi_plugins_fusioninventory_front_plugin_fusioninventory.communication.php

fusioninventory-agent.dump
fusioninventory-agent-target.dump

Offline

#34 2010-02-19 13:41:26

goneri
Member
Registered: 2007-02-20
Posts: 27
Website

Re: Beta 1 of FusionInventory for GLPI (ex Tracker)

Hi,

You need to install IPC::Run or you can wait for the beta3 to be released. This dependency has been dropped.

Cheers!

Offline

#35 2010-02-19 15:10:43

bmw328ii
Member
Registered: 2008-01-23
Posts: 68

Re: Beta 1 of FusionInventory for GLPI (ex Tracker)

IPC-RUN is already installed! :-(

Offline

#36 2010-02-19 16:50:29

bmw328ii
Member
Registered: 2008-01-23
Posts: 68

Re: Beta 1 of FusionInventory for GLPI (ex Tracker)

When will be next beta launched?

Offline

#37 2010-02-19 16:56:04

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: Beta 1 of FusionInventory for GLPI (ex Tracker)

tomorow I think, I have made many corrections, but there is other many to resolv wink
So next beta will better works smile

Offline

#38 2010-02-22 14:18:38

bmw328ii
Member
Registered: 2008-01-23
Posts: 68

Re: Beta 1 of FusionInventory for GLPI (ex Tracker)

Did you upload a new version?

Offline

#39 2010-02-22 14:50:51

concept
Member
Registered: 2009-11-04
Posts: 25

Re: Beta 1 of FusionInventory for GLPI (ex Tracker)

agent beta3: http://fusioninventory.org
glpi-plugin beta2: http://glpi.siprossii.com/tracker/tracker.php

But I've also got a question and een small bug report smile

Bug: In en_GB.php the following line is missing:
$LANG['plugin_fusioninventory']["constructdevice"][0]="Management mib equipment";
Therefore a red line pops up during install (atleast with php and glpi on debug)

Question:
How to add an agent?
If I go to agent configuration --> add. Fill out everything (like with tracker) and click add, the screen refreshes but nothing is added... (and I get no error reports or anything else...)

Last edited by concept (2010-02-22 14:53:54)

Offline

#40 2010-02-22 16:30:58

bmw328ii
Member
Registered: 2008-01-23
Posts: 68

Re: Beta 1 of FusionInventory for GLPI (ex Tracker)

Okay, thank you for the link.

I´m getting less errors now. Look:

C:\FusionInventory-Agent-2.0beta3>perl fusioninventory-agent --server=http://127
.0.0.1/glpi/plugins/fusioninventory/front/plugin_fusioninventory.communication.p
hp --devlib --basevardir=c:/path
[info] --devlib are found, Developer mode enabled
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Das System kann den angegebenen Pfad nicht finden.
could not find ParserDetails.ini in C:/Perl/site/lib/XML/SAX
[info] PROLOG_FREQ has been set: 24)
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Set up gcc environment - 3.4.5 (mingw-vista special r3)

--------------------------------------------------------------------------------
What´s wrong with ParserDetails.ini???? I don´t have this file. Where can i get it?

Offline

#41 2010-02-22 23:40:15

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: Beta 1 of FusionInventory for GLPI (ex Tracker)

concept > To add agent, just run agent with good server address and it appear in GLPI smile

bmw328ii > Try to reinstall XML-Sax module. sometimes it is incorrect , and reinstall it correct this problem

Offline

#42 2010-02-23 11:32:45

bmw328ii
Member
Registered: 2008-01-23
Posts: 68

Re: Beta 1 of FusionInventory for GLPI (ex Tracker)

Hi DD,

thanks for the reply. Now parserdetails.ini is present:

C:\FusionInventory-Agent-2.0beta3>perl fusioninventory-agent --server=http://127
.0.0.1/glpi/plugins/fusioninventory/front/plugin_fusioninventory.communication.p
hp --devlib
[info] --devlib are found, Developer mode enabled
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Das System kann den angegebenen Pfad nicht finden.
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Set up gcc environment - 3.4.5 (mingw-vista special r3)

-------------------------------------------------------------------------------------------------------
Now DD, i run the agent with the command line.
In GLPI i see the agent running, but the discovery never ends.
Under status the sand glass appears and nothing happens.
A pid number is shown and the date of starting the job.
I have configured that one device is to discover.

What´s wrong here? Any hint?

Offline

#43 2010-02-23 19:15:32

makeijan
Member
From: Pontevedra, Galicia
Registered: 2008-01-29
Posts: 757
Website

Re: Beta 1 of FusionInventory for GLPI (ex Tracker)

Hi there!

I'm getting a PHP Error when entering to Setup -> Plugins menu in Debug mode.

PHP ERROR: Undefined index: constructdevice in /var/www/glpi/plugins/fusioninventory/setup.php at line 134

Same error on Install, and these ones on Activation.

PHP ERROR: Undefined index: constructdevice in /var/www/glpi/plugins/fusioninventory/setup.php at line 134
PHP ERROR: Cannot modify header information - headers already sent by (output started at /var/www/glpi/inc/common.function.php:162) in /var/www/glpi/inc/display.function.php at line 57
PHP ERROR: Cannot modify header information - headers already sent by (output started at /var/www/glpi/inc/common.function.php:162) in /var/www/glpi/inc/display.function.php at line 2302
PHP ERROR: Cannot modify header information - headers already sent by (output started at /var/www/glpi/inc/common.function.php:162) in /var/www/glpi/inc/display.function.php at line 2303

Thanks

Offline

#44 2010-02-24 10:44:29

concept
Member
Registered: 2009-11-04
Posts: 25

Re: Beta 1 of FusionInventory for GLPI (ex Tracker)

Makeijan: Open the file locales/en_GB.php

Add the following line inat the bottem:
$LANG['plugin_fusioninventory']["constructdevice"][0]="Management equipment mib";

So it looks like:
$LANG['plugin_fusioninventory']["task"][3]="Unit";

$LANG['plugin_fusioninventory']["constructdevice"][0]="Management equipment mib";
?>

My own question:
Right now we're using tracker in the following way: Let a php script fill the glpi + tracker dtb with user info, use a script to copy all the conf files to the other clients (one time action), then let all clients connect.
With the new fusion inventory you'll don't need the .conf file (yet). In the database I see a key and a token. If I change the token in the database it's reset to it's original are a fusion update.
So I've got 2 questions:
1: can I force the agent to use a specific key?
2: Can I block all those with a incorrect key?

Offline

#45 2010-02-24 10:52:15

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: Beta 1 of FusionInventory for GLPI (ex Tracker)

The key is the key generate by agent itself, so when you run agent it create an angent with name and key correctly and don't modify it.

The token is to launch agent remotly in GLPI wink

Offline

#46 2010-02-24 11:15:08

concept
Member
Registered: 2009-11-04
Posts: 25

Re: Beta 1 of FusionInventory for GLPI (ex Tracker)

Can you add a parameter to force the agent to use a specific key (or do a background check if a specific file exists)? All the trackers imports are done by scripts, as every server can now access plugin_fusioninventory.communication.php and send it's data, we can't trust the script to automatically import everything (as false data may be present).
It would be great is a possibility like this came available.

Offline

#47 2010-02-24 11:21:17

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: Beta 1 of FusionInventory for GLPI (ex Tracker)

not actually to force specific key.

Yes, I must add parameters to allow an agent or not. But for future, agent fusioninventory will send inventory of computer (like OCS Agent) directly to glpi, that why it's like that, but I will add this trust field wink

Offline

#48 2010-02-24 19:49:20

makeijan
Member
From: Pontevedra, Galicia
Registered: 2008-01-29
Posts: 757
Website

Re: Beta 1 of FusionInventory for GLPI (ex Tracker)

Thank you concept. I've realized there are a lot of untranslated chains. I'm using French version for betatesting purposes.

So I've installed both the server and the agent, but where should I save the exported agent configuration (path please)?

Thank you!

Offline

#49 2010-02-24 20:10:28

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: Beta 1 of FusionInventory for GLPI (ex Tracker)

not export, it's finish with it.

I'm make lot's of corrections actually, and make a new beta next Monday

You must start you agent with good url (see this first post  : http://www.glpi-project.org/forum/viewt … 2#p100292)

Offline

#50 2010-02-25 17:37:17

concept
Member
Registered: 2009-11-04
Posts: 25

Re: Beta 1 of FusionInventory for GLPI (ex Tracker)

another question:
In out office we've got (among other) a "hp LaserJet 4250". fusion sees it's a printer (4063539) but puts it in Unknown device. A few things about it:
1: Why is the printer group called 4063539? (as in tracker it had readable names)
2: Every time I execute the agent another unknown device pops up (duplicate)
3: The entity at the unknown device is root, at the IP range it's something else.
4: What could be the reason this printer is sill unknown? (as it displays the model, and at least the first 5 snmp OID's do exist.
5: I can't see which agent found the printer

last: Thank you for your work! I can't wait for the new beta.

Offline

Board footer

Powered by FluxBB