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 2008-09-16 15:55:41

Joe_Cool97
Member
Registered: 2006-07-11
Posts: 8

OCS to GLPI import via Cron

All,

I am trying to figure out the exact instructions to get GLPI to automatically import both new computers and update existing computers under a Windows platform.  I've seen information on the forum about running cron.php via a Scheduled Task on Windows.  I have done this and it does run but nothing imports or syncs.  The cron.log shows the ocsng portion launching but no detail.  I have configured the link with OCS in GLPI and I can manually run imports or syncs.  I am running GLPI version 0.71.1 and OCS 1.01.  GLPI is running on windows using IIS 6, PHP version 5.2.6 and MySQL 5.0.67.  I'm sure I'm missing a step but am not sure what.

Number of computers to synchronize using the cron  100

OCSNG is configured:
Automatic connection of machines
Activate the automatic link   Yes   
Existence criteria of a computer
IP  - No
Mac Address - Yes
Name of computer  No
Serial Number  No
Find computers having the status    -----

Any help that someone can provide would be helpful.
Joe

Offline

#2 2008-09-16 17:48:46

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: OCS to GLPI import via Cron

Enable Debug mode + log to file and check message in the log file.

++


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#3 2008-09-16 17:52:02

Joe_Cool97
Member
Registered: 2006-07-11
Posts: 8

Re: OCS to GLPI import via Cron

Can you tell me how to do that?

Offline

#4 2008-09-16 18:21:39

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: OCS to GLPI import via Cron


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#5 2008-09-16 22:09:42

snowman386
Member
Registered: 2006-07-28
Posts: 88

Re: OCS to GLPI import via Cron

sounds like the same problem i have http://glpi-project.org/forum/viewtopic … 4799#64799

Offline

#6 2008-09-23 05:26:36

Joe_Cool97
Member
Registered: 2006-07-11
Posts: 8

Re: OCS to GLPI import via Cron

Ok, logging enabled.  Now what?  I reran the Cron job.  Where am I looking for the log files.  I checked under files\_logs and there is a cron.log file with not to much more than before.  Is there somewhere else I should be looking for the debug log file?

Offline

Board footer

Powered by FluxBB