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-04-30 00:38:03

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

FusionInventory (ex tracker) in BETA 4

See the news and complete changelog since BETA3 : http://forge.fusioninventory.org/news/3

Get agent version here : http://glpi.siprossii.com/temp/fusionin … ent.tar.gz

Run agent with this command line :

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

Last edited by ddurieux (2010-04-30 00:39:10)

Offline

#2 2010-05-03 11:27:58

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

Re: FusionInventory (ex tracker) in BETA 4

dd, just installed the Beta 4 of the plugin. Unfortunately the newly added Cisco models are not catching up during discovery. Probably the control characters in the discovery.xml are wrong, because I just used the ones from some existing configs that you made.

I also have a problem with Fusioninventory Agent 2.0.3 together with SSL. When starting agent I am receiving the following error:

[info] --devlib are found, Developer mode enabled
[debug] FusionInventory unified agent for UNIX, Linux and MacOSX 2.0.3
[debug] Log system initialised (Stderr)
[debug] --scan-homedirs missing. Don't scan user directories
[debug] vardir: /var/lib/ocsinventory-agent/https:__systemname.home.com_glpi_plugins_fusioninventory_front_plugin_fusioninventory.communication.php
[debug] No accountinfo file defined
[debug] Account info updated successfully
[debug] [https://systemname.home.com/glpi/plugin … cation.php] Next server contact planned for Mon May  3 11:35:48 2010
[debug] FusionInventory Agent initialised
[debug] Compress::Zlib is available.
[debug] token is :UORFFDANVOQDSTXKFAXCQKLHEDTGQPSXQEFJPAWGQJTLBBFNRFNBWMGHCFELWWKVOIBPFOVQFQNJXQVOHMLMRPDOVRBIHSPICITXH
[debug] sending XML
[error] Cannot establish communication with `https://systemname.home.com/glpi/plugins/fusioninventory/front/plugin_fusioninventory.communication.php: 500 SSL negotiation failed: `
[error] No anwser from the server
[debug] [https://systemhome.home.com/glpi/plugin … cation.php] Next server contact'd just been planned for Mon May  3 21:48:12 2010

The Fusioninventory Agent 2.0.1 is working without the problem shown above.


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

#3 2010-05-03 12:07:29

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

Re: FusionInventory (ex tracker) in BETA 4

ssl is on or off in the plugin configuration ?

Offline

#4 2010-05-03 12:41:21

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

Re: FusionInventory (ex tracker) in BETA 4

SSL only for Agent is set to 'yes'


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

#5 2010-05-03 14:30:49

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

Re: FusionInventory (ex tracker) in BETA 4

perhaps you must have cacert.pm ?

Offline

#6 2010-05-03 15:17:28

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

Re: FusionInventory (ex tracker) in BETA 4

Where do I get that one ?


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

#7 2010-05-03 16:03:23

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

Re: FusionInventory (ex tracker) in BETA 4

It's like for OCS agent (on wiki of ocs)

Offline

#8 2010-05-03 16:14:29

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

Re: FusionInventory (ex tracker) in BETA 4

Okay, I think I have found what you are referring to (cacert.pem) file.
I just wonder why it works without this one in Agent 2.0.1

I will create such .pem file and see how it goes, or does anyone else already went through 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

#9 2010-05-05 12:11:25

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

Re: FusionInventory (ex tracker) in BETA 4

dd, I have tested again with cacert file, even though server.crt should be sufficient as it contains the valid info, but I am not able to get Agent 2.0.3 up and running.  It's always telling me "SSL negotiation failed" where in Agent 2.0.1 it's working perfectly with exactly the same command and cert file.
What I figured out as well is a problem when using the "ca-cert-file" statement. It's always telling me that the file can't be found, but it is definately there. This behaviour can also be seen in 2.0.1.

There is also nothing in the log files (ssl_error.log, messages, etc.)

So I am outta ideas to be honest. Do you know, if there were any changes from 2.0.1 to 2.0.3 that could have affected the SSL communication ?

Last edited by MHI (2010-05-05 12:12:10)


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

#10 2010-05-05 12:58:11

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

Re: FusionInventory (ex tracker) in BETA 4

Hi,

Can you please create a complet log with --debug and past it here of in a bug report on http://forge.fusioninventory.org

For the record, you can disable SSL check with --no-ssl-check

Cheers

Offline

#11 2010-05-05 13:04:03

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

Re: FusionInventory (ex tracker) in BETA 4

Can you also try to reverse the changes I did on this part of the code between the to release.
http://paste.debian.net/72103/

Offline

#12 2010-05-05 13:42:14

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

Re: FusionInventory (ex tracker) in BETA 4

goneri wrote:

Hi,

Can you please create a complet log with --debug and past it here of in a bug report on http://forge.fusioninventory.org

For the record, you can disable SSL check with --no-ssl-check

Cheers

Oh, Monsieur Le Bouder himself smile

I have created a ticket on fusioninventory with attached debug dump.

Thanks for looking into 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

#13 2010-05-05 13:46:09

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

Re: FusionInventory (ex tracker) in BETA 4

smile

MHI, you create the bug anonymously, because of that you won't get mail notification.

Offline

#14 2010-05-05 13:55:33

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

Re: FusionInventory (ex tracker) in BETA 4

goneri wrote:

smile

MHI, you create the bug anonymously, because of that you won't get mail notification.

I was trying to register twice, but for whatever reason, I am not getting any email notification nor can I log in.


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

#15 2010-05-05 13:56:35

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

Re: FusionInventory (ex tracker) in BETA 4

goneri wrote:

Can you also try to reverse the changes I did on this part of the code between the to release.
http://paste.debian.net/72103/

I will reverse the changes and let you know the results.


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

#16 2010-05-05 14:22:50

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

Re: FusionInventory (ex tracker) in BETA 4

MHI wrote:
goneri wrote:

Can you also try to reverse the changes I did on this part of the code between the to release.
http://paste.debian.net/72103/

I will reverse the changes and let you know the results.


I have just replaced the Network.pm file from version 2.0.3 with the one from 2.0.1 and it's working again as expected.
Agent reports version 2.0.3 in GLPI, so I guess the 4 lines of code change broke it somehow.


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

#17 2010-05-05 14:27:32

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

Re: FusionInventory (ex tracker) in BETA 4

And I have one more for dd I guess.
After the agent ran and I do look into the "unknown devices" section I just have the name field with DB ID.
The "MODELSNMP" was not detected which is okay, but I though it would at least right the "SNMPHOSTNAME" and "IP" into the "unknown devices" section.

Anything wrong with this, or possibly wrong setup from my side ?

I correct myself, it's creating those empty entries under the root entity, even though the "IP Range" was setup for a subentity. But can't find nothing there at all.

Last edited by MHI (2010-05-05 14:33:30)


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

#18 2010-05-05 14:37:33

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

Re: FusionInventory (ex tracker) in BETA 4

Yes, I have corrected it yesterday in plugin (in git repository)

Offline

#19 2010-05-06 09:05:18

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

Re: FusionInventory (ex tracker) in BETA 4

The link on fusioninventory.org new page is outdated... It still points to "18" will the current version is in "19" (and 18 gives a 404)
old : http://forge.fusioninventory.org/attach … ta4.tar.gz
new: http://forge.fusioninventory.org/attach … ta4.tar.gz

Offline

#20 2010-05-06 09:38:06

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

Re: FusionInventory (ex tracker) in BETA 4

Thanks, I have corrected smile

Offline

#21 2010-05-11 13:56:31

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

Re: FusionInventory (ex tracker) in BETA 4

MHI I deleted the SSL bug by mistake. This is the new one http://forge.fusioninventory.org/issues/68

Regards

Offline

#22 2010-05-17 15:09:09

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

Re: FusionInventory (ex tracker) in BETA 4

dd, I am having some problems when it comes to the snmp query of Cisco switches. The switches have been discovered with correct SNMP model, but serial, mac, etc. are not shown by discovery module. Is this correct ? I just wonder that the model that is autoassigned to it is the correct one, but things like the serial are not discovered by that module.
When I then import those switches and run the snmp query module, it's giving me an error on every single device that is scanned:

(Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.8/FusionInventory/Agent/Task/SNMPQuery.pm line 957.)

No data is populated at all.

(I was using your latest plugin version from yesterday)

Inventory Agent version is 2.0.3


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

#23 2010-05-17 19:47:09

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

Re: FusionInventory (ex tracker) in BETA 4

You have the 2 agent modules up to date ? agent-task-snmpquery and agent-task-netdiscovery ?

Offline

#24 2010-05-17 20:48:05

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

Re: FusionInventory (ex tracker) in BETA 4

Well, no, was too excited when I saw the new plugin release and forgot about checking if new query and discovery releases are available smile
Will update them tomorrow and let you know the result.


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

#25 2010-05-17 21:40:24

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

Re: FusionInventory (ex tracker) in BETA 4

yes, I have made some corrections we have found today tongue, I prepare 2.2.1 for end of week, so if you found bugs it's the moment before I release correction version. So you can install 2.2.0 version now ^^

I will prepare news and finish documentation before say to all world the release tongue

Offline

Board footer

Powered by FluxBB