You are not logged in.
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
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
ssl is on or off in the plugin configuration ?
Offline
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
perhaps you must have cacert.pm ?
Offline
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
It's like for OCS agent (on wiki of ocs)
Offline
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
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
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
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
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
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
MHI, you create the bug anonymously, because of that you won't get mail notification.
Offline
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
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
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
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
Yes, I have corrected it yesterday in plugin (in git repository)
Offline
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
Thanks, I have corrected
Offline
MHI I deleted the SSL bug by mistake. This is the new one http://forge.fusioninventory.org/issues/68
Regards
Offline
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
You have the 2 agent modules up to date ? agent-task-snmpquery and agent-task-netdiscovery ?
Offline
Well, no, was too excited when I saw the new plugin release and forgot about checking if new query and discovery releases are available
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
yes, I have made some corrections we have found today , 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
Offline