You are not logged in.
Pages: 1
Hi,
When I go to tools->Ocsng I have a choice to:
1. Syncronize computers already imported
2. Import new computers
3...
4...
When I click those items I can import everything just fine.
But I want this to happen automatically? How can I do this?
In setup->ocsng I had "Number of computers to synchronize using the cron" set to 50 (changed to 20 now)
Am I overlooking something?
Kind regards
Yves
Offline
cron job is launch each 5 minutes. So it will sync or import computers if you use GLPI.
But set it to 50 may cause troubles because memoryèlimit and timeout can be not set to permit it.
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
cron job is launch each 5 minutes. So it will sync or import computers if you use GLPI.
But set it to 50 may cause troubles because memoryèlimit and timeout can be not set to permit it.
I've set it to 10 now.
But, I got already 27 updated systems in that list now.
As long as I don't import them manually, the list just keeps growing.
Am I overlooking something?
EDIT: Working now! I guess setting it to 10 solved the problem :-) tnx
EDIT2: No, again same problem now. Was set to 10 and I see 17 updated pc's again.
(I've waited longer dan 5 minutes) Any idea's?
Last edited by yvesdm (2008-01-24 11:20:05)
Offline
Can someone point me in the right direction where I can set/check this cronjob? Coz it ain't working for me and having to import manually all the time is not the nice way for about 2500pc's :-)
Server is running debian etch.
tnx
checking the logs show me the cron is done correctly though, the computers keep appearing in the list shown ready to update/import
Update computer 1143
24-01-2008 11:42
Update computer 1036
24-01-2008 11:42
Update computer 1150
24-01-2008 11:42
Update computer 421
24-01-2008 11:42
Update computer 895
24-01-2008 11:42
Update computer 860
24-01-2008 11:42
ocsng Successfull (1.11s)
Last edited by yvesdm (2008-01-24 13:29:11)
Offline
Can someone point me in the right direction where I can set/check this cronjob? Coz it ain't working for me and having to import manually all the time is not the nice way for about 2500pc's :-)
Server is running debian etch.tnx
checking the logs show me the cron is done correctly though, the computers keep appearing in the list shown ready to update/import
Update computer 1143 24-01-2008 11:42 Update computer 1036 24-01-2008 11:42 Update computer 1150 24-01-2008 11:42 Update computer 421 24-01-2008 11:42 Update computer 895 24-01-2008 11:42 Update computer 860 24-01-2008 11:42 ocsng Successfull (1.11s)
Hmmm it looks like those "cron" logs are generated from my "manual" import.
When I leave it alone for a while nothing new is appearing in the logs
I also found this in the sql-errors.log
Script: /glpi/front/cron.php
SQL: SELECT glpi_id FROM glpi_ocs_link WHERE ocs_id= AND ocs_server_id=1
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND ocs_server_id=1' at line 1
21-01-2008 07:35
*** MySQL query error :
***
Script: /glpi/front/cron.php
SQL: SELECT glpi_id FROM glpi_ocs_link WHERE ocs_id= AND ocs_server_id=1
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND ocs_server_id=1' at line 1
S1HBA0001INV:/var/www/glpi/files/_log#
Any suggetions?
Many tnx
Y.
Last edited by yvesdm (2008-01-24 16:47:09)
Offline
use the ocs_mass_import plugin if you have 2500 computers.
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
use the ocs_mass_import plugin if you have 2500 computers.
I 've installed this plugin, but I can't configure it.
I get "plugins" in the menu and when I hit plugins I get "Configuration of plugin OCS Massive import"
but there is nothing in there? Glpi version is latest 0.70.2 and I already tried chmod everything in plugins to 777.
Many tnx.
Y.
Last edited by yvesdm (2008-01-28 14:41:40)
Offline
Pages: 1