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 2010-02-18 09:35:22

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

Beta 1 of FusionInventory for GLPI (ex Tracker)

Tracker has been renamed in FusionInventory for GLPI, the agent has been integrated in FusionInventory agent (it's a fork of  OCS Agent but with lots of new functionnalities)

The glpi plugin has been all rewrite. I will add changelog more later today.


For agent, this is changelog :

This is the first release of the FusionInventory-Agent 2.0 serie.
There is major changes in the release:
 - OcsDeploy (was Download.pm) module has been rewritten from scratch.
It's now possible to do P2P deployment.
 - SNMP and NetDiscovery support. This is a major changes.
FusionInventory Agent is now directly connected with GLPI via GLPI
Tracker plugin ( https://forge.indepnet.net/projects/show/tracker/ ) !
 - A lot of internal changes and clean up has also been done.
 - Initial HP-UX support thanks to François MERMET


Changes since the last stable release:
2.0beta1
       * Use Sys::Hostname instead of uname for better portability
       * add --daemon-no-fork
       * post-install.pl: Don't ask the user if Download.pm should be
         enabled
       * Drop the linux_agent modules compatibility layer
       * Rename module hook functions:
          check()    → isInventoryEnabled()
          run()      → doInventory()
          longRun()  → postInventory()
       * Add isPostInventoryEnabled() function
       * Drop AccountConfig. replaced by Storage
       * Move Ocsinventory::Agent::XML::{Inventory,Prolog,SimpleMessage} in
         Ocsinventory::Agent::XML::Query
       * WakeOnLan support (David DURIEUX)
       * Ocsinventory renamed to FusionInventory
       * OcsDeply jull rewrite
       *  P2P mode in daemon mode (-d or -D)
       * add --rpc-ip
       * SNMP support (David DURIEUX)
       * Network discovery (David DURIEUX)
       * WakeOnLan (David DURIEUX)
       * postinst.pl is now and is installed in the $PATH
       * Solaris: use regex to identify CPU class (Jerome LEBAS)
       * Solaris/Network: support Zone (Jerome LEBAS)
       * HP-UX: initial support, tested on RP3440 (François MERMET)
       * Changed arguments to dpkg-query for compatibility (Scott HANNAHS)
       * MacOSX: Distinguish clearly between "OS Name" and "System Version" by
         parsing output carefully for both variables. Clean up language in
         description. (Scott HANNAHS)
       * Add an in contrib example of script to identify specific software
         (Simon CLARA)
       * Upgrade memconf to V2.13
       * Use parameters to simplify the way dmidecode is called (Dmitry ILYIN)
       * Solaris: Bonding support (Stéphane URBANOVSKI)
       * Remove exec flag on
         lib/Ocsinventory/Agent/Backend/OS/MacOS/Hostname.pm (Remi COLLET)
       * spelling in manpage authentification → authentication
       * MacOSX: Correctly identify the CPU frequency on MacOSX 1.6 French,
         thanks Grek
       * Improve the README about non-interactive installation
       * Bump copyright date from 2009 to 2010
       * Linux/PPC: Frequency is an integer, not a float

To downlaod : http://glpi.siprossii.com/tracker/tracker.php

For agent, you can install it like OCS Agent. If you don't yant to install it, start agent with this command :

fusioninventory-agent --server=http://127.0.0.1/glpi/plugins/fusioninventory/front/plugin_fusioninventory.communication.php --devlib

Offline

#2 2010-02-18 09:58:48

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

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

Hi dd,

i don´t understand what has changed to tracker?
Do i have to download the new fusioninventory and install it as a plugin in GLPI?
Thats all?

Don´t i need the agent tracker anymore?

I´m litte bit confused.

Last edited by bmw328ii (2010-02-18 10:00:46)

Offline

#3 2010-02-18 10:01:50

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

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

Yes install it in glpi (it's a plugin). But remove tracker folder before install fusioninventory .
agent Tracker is now in fusioninventory agent. So you must have this agent

Offline

#4 2010-02-18 10:15:33

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

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

Okay, thanks for that now.

Can you say me how to install the perl module nmap?
I tried ppm install nmap but i get a info that there is no package nmap

Do i have to download it directly from perl.com?

Offline

#5 2010-02-18 10:17:06

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

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

The name is : nmap::parser or nmap::scanner
What is your Operating System?

Offline

#6 2010-02-18 10:24:02

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

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

Windows 2003

Offline

#7 2010-02-18 10:30:42

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

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

If you have active perl , search for nmap::parser and you must install nmap

If you use other, you can download sources : http://search.cpan.org/~apersaud/Nmap-P … /Parser.pm

Offline

#8 2010-02-18 10:35:57

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

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

Okay, i have Active Perl  5.10 and downloaded and installed the packages namp:parser and nmap:scanner with perl package manager. Is this enough?

To install the agent you wrote in readme:

BUILDING/INSTALLING

  Once the archive is unpacked, use these commands:

      perl Makefile.PL
      make
      make install

  If you want to turn of the interactive post install script, just do
       PERL_AUTOINSTALL=1 perl Makefile.PL
  instead of the
       perl Makefile.PL

  You can also run the agent from the tarball directory. In this case, use
  the --devlib flag to load the library from the local directory.

  The agent needs some directories to store internal settings.

   mkdir -p /etc/FusionInventory-agent
   mkdir -p /var/lib/FusionInventory-agent
   mkdir -p /var/log/FusionInventory-agent
   mkdir -p /var/run

  you can choose other directories by changing the default settings
  directly in the FusionInventory-agent file.

  You need to launch the agent with root privilege. For debugging you can
  try to launch it with the -l flag:
  eg: FusionInventory-agent -l /tmp --debug

  It's also possible to run directly from the tarball directory:

   sudo ./FusionInventory-agent --devlib --server http://foo/FusionInventory

--------------------------------------------------------------------------------------------------

I ran the command succesfully:

perl Makefile.PL


What I have to do next???

Offline

#9 2010-02-18 10:39:12

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

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

make
make install

and install nmap and I think it's good after smile

Offline

#10 2010-02-18 10:41:15

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

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

I get following when i ran the command make:

the command is unknow

make install the same

Offline

#11 2010-02-18 10:42:24

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

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

Oh excuse me, 

you say :
have Active Perl  5.10 and downloaded and installed the packages namp:parser and nmap:scanner with perl package manager

so it's ok

Install juste nmap win32 wink

Offline

#12 2010-02-18 10:46:38

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

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

Okay.

I downloaded nmap for windows.
Do i have to install it or just unpack and run winpcap-nmap-411.exe?

Offline

#13 2010-02-18 10:48:38

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

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

install it

Offline

#14 2010-02-18 10:51:54

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

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

Okay, i installed it.

How to run now the agent?
There is no script.

Offline

#15 2010-02-18 10:53:34

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

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

in folder of agent :
perl fusioninventory-agent --server=http://127.0.0.1/glpi/plugins/fusioninventory/front/plugin_fusioninventory.communication.php --devlib

Offline

#16 2010-02-18 11:00:19

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

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

I get following error:

Failed to load FusionInventory::Agent, Can't locate IPC/Run.pm in @INC (@INC con
tains: lib C:/Perl/site/lib C:/Perl/lib .) at lib/FusionInventory/Agent.pm line
262.
BEGIN failed--compilation aborted at lib/FusionInventory/Agent.pm line 262.
Compilation failed in require at (eval 6) line 1.
BEGIN failed--compilation aborted at (eval 6) line 1.

Offline

#17 2010-02-18 11:45:53

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

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

You must install perl module : IPC::Run

Offline

#18 2010-02-18 12:21:30

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

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

I installed it.
Same problem:

C:\FusionInventory-Agent-2.0beta2>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)
Failed to load FusionInventory::Agent, Can't locate IPC/Run.pm in @INC (@INC con
tains: lib C:/Perl/site/lib C:/Perl/lib .) at lib/FusionInventory/Agent.pm line
262.
BEGIN failed--compilation aborted at lib/FusionInventory/Agent.pm line 262.
Compilation failed in require at (eval 6) line 1.
BEGIN failed--compilation aborted at (eval 6) line 1.

you can run the agent directly for its source directory with --devlib

C:\FusionInventory-Agent-2.0beta2>

Another idea?

I found out that my "run.pm" is in C:\Perl\lib\Activestate
Maybe Path is wrong?

Last edited by bmw328ii (2010-02-18 12:24:25)

Offline

#19 2010-02-18 13:51:20

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

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

I've got one question:
SNMP and NetDiscovery support. This is a major changes. FusionInventory Agent is now directly connected with GLPI via GLPI Tracker plugin ( https://forge.indepnet.net/projects/show/tracker/ ) !

This indicates that you'll still need the tracker plugin.
If I install GLPI + FusionInventory GLPI plugin locally and FusionInventory Agent remote . (without tracker) will this be enough to make everything work?

Offline

#20 2010-02-18 13:57:58

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

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

yes it's an error, tracker is now FusionInventory (renamed) so you read :

SNMP and NetDiscovery support. This is a major changes. FusionInventory Agent is now directly connected with GLPI via GLPI FusionInventory plugin

Offline

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

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

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

I copied run.pm into C:\Perl\lib\IPC and now i have another error message:

C:\FusionInventory-Agent-2.0beta2>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)
[error] Failed to create C:\Dokumente und Einstellungen\Administrator\Anwendungs
daten/fusioninventory-agent/var/lib/fusioninventory-agent
[storage]restore data from: C:\Dokumente und Einstellungen\Administrator\Anwendu
ngsdaten/fusioninventory-agent/var/lib/fusioninventory-agent/FusionInventory-Age
nt.dump
[storage]restore data from: C:\Dokumente und Einstellungen\Administrator\Anwendu
ngsdaten/fusioninventory-agent/var/lib/fusioninventory-agent/http..__127.0.0.1\g
lpi\plugins\fusioninventory\front\plugin_fusioninventory.communication.php/Fusio
nInventory-Agent-Target.dump
Das System kann den angegebenen Pfad nicht finden.
[storage]restore data from: C:\Dokumente und Einstellungen\Administrator\Anwendu
ngsdaten/fusioninventory-agent/var/lib/fusioninventory-agent/FusionInventory-Age
nt-RPC.dump
[error] Cannot establish communication with `http://127.0.0.1\glpi\plugins\fusio
ninventory\front\plugin_fusioninventory.communication.php: 500 Can't connect to
127.0.0.1\glpi\plugins\fusioninventory\front\plugin_fusioninventory.communicatio
n.php:80 (Bad hostname '127.0.0.1\glpi\plugins\fusioninventory\front\plugin_fusi
oninventory.communication.php')`
[error] No anwser from the server
[storage]save data in:C:\Dokumente und Einstellungen\Administrator\Anwendungsdat
en/fusioninventory-agent/var/lib/fusioninventory-agent/http..__127.0.0.1\glpi\pl
ugins\fusioninventory\front\plugin_fusioninventory.communication.php/FusionInven
tory-Agent-Target.dump

C:\FusionInventory-Agent-2.0beta2>


What´s wrong here?

Offline

#22 2010-02-18 14:25:17

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

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

A bug in agent, we will see to correct it quickly

Offline

#23 2010-02-18 15:50:19

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

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

DD, when trying to build the Agent it says in the README that Perl 5.8.X is the prerequesite, but when I am trying to do the Makefile it's telling me that version of perl-ExtUtils-MakeMaker needs to be at least 6.42, but the latest version on RHEL5 / CentOS releases are perl 5.8.8 where the MakeMaker is compiled into with version 6.30. Is there any package available that can be installed on top of this or do you need perl 5.9 or 5.10.


A possible bug I found on the GLPI plugin side. When I am configuring fusioninventory modules and set "snmp" to yes for example and post it, it will still come up as "no", so it's not changing, same with the other dropdowns in the modules section.

Last edited by MHI (2010-02-18 15:53:48)


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

#24 2010-02-18 15:54:40

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

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

you can try to install this module yourself

download here : http://search.cpan.org/CPAN/authors/id/ … .56.tar.gz

after do this :
perl Makefile.PL
make
make install

Offline

#25 2010-02-18 16:03:20

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

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

Thanks I was just not think about this easy solution smile

And thanks for the very quick reply. Hope you saw my added comment for a possible bug.


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

Board footer

Powered by FluxBB