Line 5: |
Line 5: |
| We need to make ipdiscover working on SME. | | We need to make ipdiscover working on SME. |
| | | |
− | The standalone command works:
| + | no we don't, we've wasted enough time on this, just say to use a client (If they want to force discover) |
− | # ipdiscover eth0 10 | |
− | But IpDiscover is not launched when SME is the elected/forced client.
| |
| | | |
− | Agent is not well documented, I tried the debug mode:
| |
− | # ocsinventory-agent -s localhost --debug
| |
− | [debug] Failed to load `/etc/ocsinventory-agent/modules.conf': 0. No external module will be used.
| |
− | [debug] Failed to load Ocsinventory::Agent::Backend::OS::BSD::Mem: Global symbol "$unit" requires explicit package name at /usr/lib/perl5/vendor_perl/5.8.5/Ocsinventory/Agent/Backend/OS/BSD/Mem.pm line 31.
| |
− | Global symbol "$unit" requires explicit package name at /usr/lib/perl5/vendor_perl/5.8.5/Ocsinventory/Agent/Backend/OS/BSD/Mem.pm line 32.
| |
− | Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.5/Ocsinventory/Agent/Backend.pm line 69.
| |
− | I'm not sure about these errors, but we do not have BSD!
| |
− | [debug] =BEGIN=SERVER RET======
| |
− | [debug] $VAR1 = {
| |
− | 'OPTION' => [
| |
− | {
| |
− | 'NAME' => 'DOWNLOAD',
| |
− | 'PARAM' => [
| |
− | {
| |
− | 'FRAG_LATENCY' => '10',
| |
− | 'TIMEOUT' => '30',
| |
− | 'PERIOD_LATENCY' => '0',
| |
− | 'ON' => '1',
| |
− | 'TYPE' => 'CONF',
| |
− | 'PERIOD_LENGTH' => '10',
| |
− | 'CYCLE_LATENCY' => '60'
| |
− | }
| |
− | ]
| |
− | }
| |
− | ],
| |
− | 'RESPONSE' => 'SEND',
| |
− | 'PROLOG_FREQ' => '24'
| |
− | };
| |
− | [debug] =END=SERVER RET======
| |
− | [debug] No respHandlers avalaible for OPTION. The data returned by server in this hash will be lost.
| |
− | This is more interesting: client doesn't gather IpDiscover info!
| |
− |
| |
− | I checked that after changing other values in the web interface they were applied to the Agent, and they were... The problem is only for IpDiscover!!!
| |
− |
| |
− | I also tryed to put manual changes in the '''/var/lib/ocsinventory-agent/localhost/ocsinv.conf''' file
| |
− | <IPDISCOVER_VERSION>3</IPDISCOVER_VERSION>
| |
− | Nothing is working @#$*!
| |
− |
| |
− | The file that gathers options should be '''/usr/lib/perl5/vendor_perl/5.8.5/Ocsinventory/Agent/Option/Update.pm'''
| |
| ===ipdiscover-util.pl=== | | ===ipdiscover-util.pl=== |
| This script used by the web interface do not seem to work too. | | This script used by the web interface do not seem to work too. |