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 2006-07-06 09:30:24

ifish
Member
Registered: 2006-06-15
Posts: 9

GLPI 0.68RC2: Autoupdate from OCS

I have installed latest RC, however, as I can see, autoupdate from OCS doesn't work.
In Logs I see periodic records, such as: "system: 05-07-2006 12:59 Cron 3 ocsng (0.09s) Successful", but unsynchronized items are still present.
Please help me in resolve.

Offline

#2 2006-07-06 14:02:46

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: GLPI 0.68RC2: Autoupdate from OCS

each ocsng cron synchronize only one computer. So you may have again computers to synchronize.


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#3 2006-07-06 16:06:32

ifish
Member
Registered: 2006-06-15
Posts: 9

Re: GLPI 0.68RC2: Autoupdate from OCS

It's not handy :-(
Is it possible to increase number of computers for synchronization? or is there ability to do it offline?

Offline

#4 2006-07-06 17:19:46

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: GLPI 0.68RC2: Autoupdate from OCS

you could write a smal script wich synchronize needed computers launching the cron_ocsng() function.
If you decrease the delay (default 300s), the updates will be more effective.

Today OCSNG need lots of updates because of the OCS agent which does not support the checksum system.
So each inventory implies a GLPI synchronization even if there is no changes.


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#5 2006-07-07 12:50:36

ifish
Member
Registered: 2006-06-15
Posts: 9

Re: GLPI 0.68RC2: Autoupdate from OCS

I have written a script:

<?
include ("_relpos.php");
$NEEDED_ITEMS=array("ocsng","computer","device","printer","networking","peripheral","monitor","software","infocom","phone","state","tracking","enterprise");
include ($phproot . "/inc/includes.php");

$_SESSION["glpiID"] = 'cron';

while (cron_ocsng()==1) {}
?>

Now it's enough to execute wget for the page and data will be synchronized.

Offline

#6 2006-07-07 22:40:24

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: GLPI 0.68RC2: Autoupdate from OCS

great job
thanks for your contribution.


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

Board footer

Powered by FluxBB