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

#51 2010-02-25 17:55:30

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

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

1. It's just an identification of model (but I can write them like printer001, printer002... I don't know if it's better. Models are automatically assigned to device when you discover it (if Fusion know this device, of course)

2. See in configuration of plugin, you must set criteria (in most case, I use serial number for criteria1 and IP and MAC for criteria2)

3. Yes it's a bug, I have identified this yesterday but not yet corrected

4. Yes, all discovered devices are unknown, after you must import in GLPI (I must add this button on form but you can do this with massive modifications)

5. Oh yes, I haven't think it could be important, I will see if I can add it quickly


Thanks for this report wink

Offline

#52 2010-03-02 08:21:19

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

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

Hi DD,

any updates to fusioninventory agent?

Offline

#53 2010-03-02 09:57:51

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

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

I finish to correct bugs, so new beta of agent and plugin will become in about 3 or 4 hours

Offline

#54 2010-03-02 12:55:25

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

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

Humm perhaps a little more hours, I have detect some others bugs, I correct them before release a new beta smile

Offline

#55 2010-03-05 12:52:27

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

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

Hi DD,

i installed new agent beta 4 und glpi plugin 3.
When i run agent now i get following error:

C:\FusionInventory-Agent-2.0beta4>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)
Execution failed. Are you sur the software is fully installed
and an old version of the agent not already present on the system?
___
Can't restrict access to c:/path/FusionInventory-Agent.dump
-----------------------------------------------------------------------------------------------------------

What´s wrong here? The folder C:/Path is created but nothing in there.

Offline

#56 2010-03-05 14:04:03

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

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

Can you retry with the --debug flag?

Offline

#57 2010-03-05 18:49:31

rootfive
Member
Registered: 2010-03-05
Posts: 10

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

Hi,

This my first installation with FusionInventory and glpi. GLPI works fine for me and I got FusionInventory error when I run the agent.


Invalid string keyword: system-uuid
Valid string keywords are:
  bios-vendor
  bios-version
  bios-release-date
  system-manufacturer
  system-product-name
  system-version
  system-serial-number
  baseboard-manufacturer
  baseboard-product-name
  baseboard-version
  baseboard-serial-number
  baseboard-asset-tag
  chassis-manufacturer
  chassis-version
  chassis-serial-number
  chassis-asset-tag
  processor-manufacturer
  processor-version
Can't locate File/Copy/Recursive.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/lib/perl5/site_perl/5.8.8/FusionInventory/Agent/Task/OcsDeploy.pm line 37.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/FusionInventory/Agent/Task/OcsDeploy.pm line 37.
Compilation failed in require.
BEGIN failed--compilation aborted.

I am using CentoOS 5.2 with GLPI 0.72.4 and OCS agent 1.3.1.

Offline

#58 2010-03-05 18:53:22

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 some perl modules, in your case module : File::Copy::Recursive

Offline

#59 2010-03-05 22:44:22

rootfive
Member
Registered: 2010-03-05
Posts: 10

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

Thanks DD, it is working now.
Just one info, during perl make, I got the following output.

[root@server FusionInventory-Agent-2.0beta4]# perl Makefile.PL
Please install Net::Wake if you want to use the wakeonlan mode.
Checking if your kit is complete...
Warning: the following files are missing in your kit:
        lib/FusionInventory/Agent/Task/NetDiscovery/dico.pm
        tools/macosx/BUILDME.sh
        tools/macosx/CLEANUP.sh
        tools/macosx/INSTALL
        tools/macosx/launchfiles/10_3_9-startup/OCSInventory/OCSInventory
        tools/macosx/launchfiles/10_3_9-startup/OCSInventory/StartupParameters.plist
        tools/macosx/launchfiles/org.ocsng.agent.plist
        tools/macosx/OCSNG.pmproj
        tools/macosx/ocsng_app-xcode/English.lproj/InfoPlist.strings
        tools/macosx/ocsng_app-xcode/GetPID.c
        tools/macosx/ocsng_app-xcode/GetPID.h
        tools/macosx/ocsng_app-xcode/Info.plist
        tools/macosx/ocsng_app-xcode/main.m
        tools/macosx/ocsng_app-xcode/main.pl
        tools/macosx/ocsng_app-xcode/OCSNG.xcodeproj/project.pbxproj
        tools/macosx/ocsng_app-xcode/OCSNG_Prefix.pch
        tools/macosx/ocsng_app-xcode/README
        tools/macosx/patches/Download-Darwin.pm.patch
        tools/macosx/patches/multicritere.php-MacOSX.patch
        tools/macosx/patches/ocsinventory-agent-darwin.patch
        tools/macosx/patches/tele_package.php-MacOSX.patch
        tools/macosx/README
        tools/macosx/scripts/create-darwin-perl-lib_fromCPAN.pl
        tools/macosx/scripts/create_install_wrapper.sh
        tools/macosx/scripts/deployment.sh
        tools/macosx/scripts/dscl-adduser.sh
        tools/macosx/scripts/dscl-modifyUserAddShell.sh
        tools/macosx/scripts/dscl-remove-user.sh
        tools/macosx/scripts/extract_version.pl
        tools/macosx/scripts/installer.sh
        tools/macosx/scripts/macosx-perl-lib-dep-snapshot.tar.gz
        tools/macosx/scripts/ocsngSudoAccess.sh
        tools/macosx/scripts/uninstaller.sh
        tools/macosx/ver
        tools/standalone.sh
Please inform the author.
Writing Makefile for FusionInventory::Agent

Those will be gone when we get final release right?
From here how can I take inventory of network switches? I cannot find document for it.
Thanks for the great application.

Offline

#60 2010-03-09 10:52:01

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

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

goneri wrote:

Can you retry with the --debug flag?


Here:

C:\FusionInventory-Agent-2.0beta4>perl fusioninventory-agent --server=http://127
.0.0.1/glpi/plugins/fusioninventory/front/plugin_fusioninventory.communication.p
hp --devlib --basevardir=c:/path --debug
[info] --devlib are found, Developer mode enabled
Set up gcc environment - 3.4.5 (mingw-vista special r3)
[debug] FusionInventory unified agent for UNIX, Linux and MacOSX 2.0beta4
[debug] Log system initialised (Stderr)
[debug] --scan-homedirs missing. Don't scan user directories
Execution failed. Are you sur the software is fully installed
and an old version of the agent not already present on the system?
___
Can't restrict access to c:/path/FusionInventory-Agent.dump

Offline

#61 2010-03-10 11:14:43

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

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

I just installed beta 4, and I get the following when executing:
perl fusioninventory-agent  --server=http://192.168.1.119/glpi/plugins/fusioninventory/front/plugin_fusioninventory.communication.php --devlib
[info] --devlib are found, Developer mode enabled
Can't use an undefined value as an ARRAY reference at lib/FusionInventory/Agent/Task/OcsDeploy.pm line 725.

Line 725 =
    if ( !@$conf ) {
        $logger->debug("no DOWNLOAD options returned during PROLOG");
        return;
    }

When commenting those lines out everything works fine.

Offline

#62 2010-03-10 11:22:50

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

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

Hi,

I had the same error: http://www.glpi-project.org/forum/viewt … p?id=18805

You can try this setup at the fusion server:
*SSL only for agent: NO

Offline

#63 2010-03-18 09:27:34

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

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

Just testing Beta4 of the agent, but running into the following error message.

Can't call method "writeXML" on an undefined value at /usr/lib/perl5/site_perl/5.8.8/FusionInventory/Agent/Task/NetDiscovery.pm line 451

Server side is pretty much setup and I see the agent there and I have assigned that to a specific IP Range I want to scan.
Server is SSL locked down and I am using the --ca-cert-dir option to point to the ssl certificate.

Any ideas ?


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

#64 2010-03-18 10:16:08

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

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

run command in folder of agent :

perl Makefile.PL

and give me errors you have.

Possibility I not anser quickly today, we are at http://www.solutionslinux.fr/ wink

Last edited by ddurieux (2010-03-18 10:17:03)

Offline

#65 2010-03-18 11:23:34

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

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

Well, that's the thing, there are no errors. Its perfectly writing the makefile.


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

#66 2010-03-18 19:13:39

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

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

give me the complete command please

Offline

#67 2010-03-19 10:47:07

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

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

This is the command I am executing:
/usr/bin/fusioninventory-agent  --server=https://testsystem/glpi/plugins/fusioninventory/front/plugin_fusioninventory.communication.php --ca-cert-dir=/etc/pki/tls/certs/


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

#68 2010-03-19 11:12:07

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

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

Strange enough when I am executing the command now I get the following output, which wasn't the case the first times:

process 4514: Applications must not close shared connections - see dbus_connection_close() docs. This is a bug in the application.
process 4544: Applications must not close shared connections - see dbus_connection_close() docs. This is a bug in the application.
Can't locate object method "writeXML" via package "FusionInventory::Agent::XML::Query::SimpleMessage" at /usr/lib/perl5/site_perl/5.8.8/FusionInventory/Agent/Task/SNMPQuery.pm line 393.
Can't call method "writeXML" on an undefined value at /usr/lib/perl5/site_perl/5.8.8/FusionInventory/Agent/Task/NetDiscovery.pm line 451.


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

#69 2010-03-23 11:56:28

BrainSCAN
Member
From: Spain
Registered: 2006-12-11
Posts: 86

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

bmw328ii, did you solve your problem?

I'm trying FusionInventory beta3 and Agent beta4 on a Windows XP. I'm using ActivePerl 5.8.8, and I have installed:
Crypt-SSLeay v0.57
Proc-DaemonLite v0.01
Proc-Daemontools v1.06
Proc-PidUtil v0.08

Also, I use GLPI v0.72.4.

I have configured FusionInventory with "SSL only for agent: No".

This is what I get when I try to use the agent:

c:\temp\FusionInventory-Agent-2.0beta4>perl Makefile.PL
Please install Net::SSLeay if you want to use the software deployment.
Please install Proc::Daemon and Proc::PID::File if you want to use the daemon mode.
Writing Makefile for FusionInventory::Agent

I don't know why these errors appear, as I have the modules installed.

After that I execute:

c:\temp\FusionInventory-Agent-2.0beta4>perl fusioninventory-agent --server=http:
//localhost/glpi-0.72.4/plugins/fusioninventory/front/plugin_fusioninventory.com
munication.php --devlib --debug --basevardir=c:/temp/FusionInventory-Agent-2.0beta4
[info] --devlib are found, Developer mode enabled
[debug] FusionInventory unified agent for UNIX, Linux and MacOSX 2.0beta4
[debug] Log system initialised (Stderr)
[debug] --scan-homedirs missing. Don't scan user directories
Execution failed. Are you sur the software is fully installed
and an old version of the agent not already present on the system?
___
Can't restrict access to c:/temp/FusionInventory-Agent-2.0beta4/FusionInventory-
Agent.dump

What's wrong?

Thanks in advance.

Offline

#70 2010-03-23 12:01:58

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

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

We have make some corrections, if you want last version in dev, send me a mail (d.durieux@siprossii.com) and I will send you an agent package wink

Offline

#71 2010-03-24 17:10:26

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

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

Hi dd,

with the new version of agent you mailed me i get following error:

C:\fusioninventory-agent>perl fusioninventory-agent --server=http://127.0.0.1/gl
pi/plugins/fusioninventory/front/plugin_fusioninventory.communication.php --devl
ib --basevardir=c:/path --debug
[info] --devlib are found, Developer mode enabled
Set up gcc environment - 3.4.5 (mingw-vista special r3)
[debug] FusionInventory unified agent for UNIX, Linux and MacOSX 2.0
[debug] Log system initialised (Stderr)
[debug] --scan-homedirs missing. Don't scan user directories
Execution failed. Are you sur the software is fully installed
and an old version of the agent not already present on the system?
___
Can't restrict access to c:/path/FusionInventory-Agent.dump

Any settings to take?

Offline

#72 2010-03-29 11:54:55

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

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

Hi all,

i installed latest agent of the website: https://launchpad.net/fusioninventory-agent

When i run agent now following error appears:

C:\FusionInventory-Agent-2.0.1>perl fusioninventory-agent --server=http://127.0.
0.1/glpi/plugins/fusioninventory/front/plugin_fusioninventory.communication.php
--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.
TODO, restrict access to temp file!
[info] Module FusionInventory::Agent::Task::OcsDeploy is not installed.
Set up gcc environment - 3.4.5 (mingw-vista special r3)
[info] Module FusionInventory::Agent::Task::SNMPQuery is not installed.
Set up gcc environment - 3.4.5 (mingw-vista special r3)
[info] Module FusionInventory::Agent::Task::NetDiscovery is not installed.
TODO, restrict access to temp file!

What has changed to this new version? Where to find the modules OCSDeploy, SNMP query, NetDiscovery?

Any answer would be great.

Offline

#73 2010-04-08 12:12:59

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

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

@DD
Was just testing the 2.01 agent with the new external Netdiscovery, SNMP and OCSDeploy modules.
Everything working fine so far.

There is just one question. When I add additional models in the discovery.xml the assignments like SERIAL and MACDYN to the equipment that match that new entry are not done. I can see that in the debug mode of the agent, that those fields are then left empty.

The other question is though, why the SNMP models have been named just by numbers, so you can't see right away for which devices those are. Do you use any tool to create those .xml model files out of the discovery.xml. I just can't see the logic behind this.


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

#74 2010-04-08 12:16:46

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

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

bmw328ii wrote:

Hi all,

i installed latest agent of the website: https://launchpad.net/fusioninventory-agent

When i run agent now following error appears:

C:\FusionInventory-Agent-2.0.1>perl fusioninventory-agent --server=http://127.0.
0.1/glpi/plugins/fusioninventory/front/plugin_fusioninventory.communication.php
--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.
TODO, restrict access to temp file!
[info] Module FusionInventory::Agent::Task::OcsDeploy is not installed.
Set up gcc environment - 3.4.5 (mingw-vista special r3)
[info] Module FusionInventory::Agent::Task::SNMPQuery is not installed.
Set up gcc environment - 3.4.5 (mingw-vista special r3)
[info] Module FusionInventory::Agent::Task::NetDiscovery is not installed.
TODO, restrict access to temp file!

What has changed to this new version? Where to find the modules OCSDeploy, SNMP query, NetDiscovery?

Any answer would be great.

They seperated the deploy, snmp and netdiscovery into seperate perl modules, so it's easier for them to maintain the whole story. You can meanwhile download those 3 modules from cpan.


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

#75 2010-04-08 12:28:59

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

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

You prefer models with names?

I have made numbers because one model can be used for different devices / manufacturer / models so it's logic they haven't real name. Agent assign model with description of device with XML file (idem in glpi plugin when you click on re-assign model).

In 2.1.3 Tracker, we have generic models, in 2.2.0 Fusion, each model have its device (so some models are shared with many devices).
You understand ?

Offline

Board footer

Powered by FluxBB