rss
Rechercher : dans
Par : Pertinence Date Nom d'utilisateur
Statut : Non résolu

Probleme avec l'agent de Ocs inventory

Posté par jojo_58, le mardi 13 février 2007 à 14:24:31
Bonjour, Voila je suis en train d'essayer Ocs inventory pour inventorier les machines d'un parc informatique. L'installation se passe bien sur le serveur ya pas de probleme mais quand j'installe l'agent sur les postes clients je n'ai pas les remonté des informations de l'inventaire au niveau du serveur d'Ocs inventory. Le seule moyen que j'ai pour pouvoir avoir l'inventaire est de taper la commande:
ocsinventory /server: Adresse ip du serveur.
Comment faire pour que la remonté d'information se fasse automatiquement et que je n'ai pas a forcé cette remonté avec cette commande
Merci de votre aide :)
Configuration: Windows 2000
Internet Explorer 5.01
Répondre à jojo_58  Signaler ce message aux modérateurs Aller au dernier message

1


  • Ce message vous semble utile, votez !
  • Signaler ce message aux modérateurs
geoff, le mardi 6 mars 2007 à 14:33:01
par des logons script ou par des GPO
Répondre à geoff

2


  • Ce message vous semble utile, votez !
  • Signaler ce message aux modérateurs
YgrekM, le mardi 6 mars 2007 à 15:06:51
J'ai le même problème. J'ai installé OGS server sous Linux RedHat EL4 avec tous les RPM perl 'qui vont bien'. J'en suis maintenant à la partie 'agent' et voudrais automatiser les remontées des configs des PC de mon entreprise sur le réseau vers le serveur. Je n'ai pas tout compris comment faire sur la doc en anglais. D'ailleurs existe-t-il une doc en français ?
Répondre à YgrekM

3


  • Ce message vous semble utile, votez !
  • Signaler ce message aux modérateurs
bigboss60, le vendredi 23 mars 2007 à 17:21:14
Moi aussi j'ai ce problème. Je n'arrive pas effectuer le remonté d'information jusqu'au serveur. J'ai même essayé en mettant le .dat sur une disquette et l'importé sur le serveur. Le serveur me met un message d'erreur
Répondre à bigboss60

4


  • Ce message vous semble utile, votez !
  • Signaler ce message aux modérateurs
geoff, le jeudi 29 mars 2007 à 13:43:53
Aucunes doc en français, utiliser les gpo sur les utilisateurs ou les login scripts pour déployer.
Répondre à geoff

5


  • Ce message vous semble utile, votez !
  • Signaler ce message aux modérateurs
lanlard, le lundi 2 avril 2007 à 09:21:23
J'ai testé le déploiement par Gpo avec l'aide d'un bat. L'inventaire ne se fait pas et mais je le message suivant :

Cmd Line: \\admin-ll\ocslogon\172.16.103.150.exe /NP /debug
OCS server port number: Default (80)

Deploy folder : C:\ocs-ng
OCSserver is set to: 172.16.103.150
Internal Ocslogon version: 4.0.3.0
Testing: C:\ocs-ng\BIOSINFO.EXE
Ocs Inventory NG () was not previously installed.
Start deploying OCS
http://172.16.103.150/ocsinventory/deploy/ocsagent.exe : success
End Deploying
Testing ocsagent.exe version:4030
Launching : C:\ocs-ng\ocsagent.exe /NP /debug
No proxy use.
Testing Service... Service missing Launching : C:\ocs-ng\OCSInventory.exe /NP /debug /server:172.16.103.150
Cmdline option is :\\admin-ll\ocslogon\172.16.103.150.exe /NP /debug
Répondre à lanlard

6


  • Ce message vous semble utile, votez !
  • Signaler ce message aux modérateurs
pypin, le mardi 3 avril 2007 à 14:36:04
salut lanlard,

verifie que tu n'a pas installé la version standalone de ocs agent, ce pourrait etre ca ton propleme.

tu peut faire la difference entre les deux de la maniere suivante.

standalone = ocsagent.exe
avec service (automatique) = ocsagentsetup.exe

pour ce qui es de les depoyers a distance je suis en train de plancher ladessu

bien a vous.
Répondre à pypin

7


  • Ce message vous semble utile, votez !
  • Signaler ce message aux modérateurs
Marc, le jeudi 26 avril 2007 à 19:10:31
C'est simple faire une copie de l'agent ocsagent.exe en xxx.xxx.xxx.xxx

Les XXX etant l'adresse IP du serveur

Voila
Répondre à Marc

8


  • Ce message vous semble utile, votez !
  • Signaler ce message aux modérateurs
lewelby, le vendredi 1 juin 2007 à 15:13:00
Attention comme indiqué dans la doc, le service lance la commande ocsinventory.exe tous les PROLOG_FREQ Heure. Par défaut (enfin sur ma conf) cette valeur est à 10. Donc la mise à jour des infos ne se fait qu'une fois toutes les 10 heures.

Je suis aussi en train de chercher la meilleur solution pour installer les agents.

http://mtecles.free.fr
Répondre à lewelby

9


  • Ce message vous semble utile, votez !
  • Signaler ce message aux modérateurs
lewelby, le lundi 4 juin 2007 à 14:30:13
Voila j'ai testé la distribution des agents via GPO. Comme la mise en oeuvre n'est pas facile voici un petit récap des manipulations:
- Créer un certifiact pour le serveur de distribution, il y a un script pour linux et un script pour windows permettant de générer un certificat non vérifié par une autorité mais qui fonctionne. Le mieux étant de demander un certificat (acheter) auprès de verisgn ou autre. Voir la doc. Surtout faite attention à la durée de vailidité du certificat car sinon il faudra changer sur tous les agents le cerftificats

-Utiliser l'outil OCSPackager.exe pour créer un package qui va contenir: OCSAgentsetup.exe + certificat + parametres install de agent /S /SERVER:xXXXX + Domaine username et password
Ceci va générer un fichier ocspackage.exe
-Uploader avec interface admin de OCS le fichier OCSpackage.exe pour déploiement.

-Faire une gpo qui lance OSClogon.exe (le renommer avec le nom ou l'adresse ip de votre serveur). Exemple monserver.exe

Pour plus de détails demain sur mon site un petit article

http://mtecles.free.fr
Répondre à lewelby

10


  • Ce message vous semble utile, votez !
  • Signaler ce message aux modérateurs
dim972, le mercredi 6 juin 2007 à 15:13:20
salut a tous g 1 blem avc mon ocs agent je vous pass mon fichier .log,en effet g une erreur 403 ki persiste pouvez vous m'aidez? g ocs server sur linux mandriva et l'aget sur windows 2000 svp

OCS INVENTORY ver. 4032 Starting session for Device <455-12-04> on Wednesday, June 06, 2007 08:47:13...
Command line parameters: <</debug /FORCE /NP /server:10.102.1.20 /pnum:80 >>

HTTP SERVER: Connection WITHOUT proxy
WMI Connect: Trying to connect to WMI namespace root\cimv2 on device <Localhost>...OK.
Registry Connect: Trying to connect to HKEY_LOCAL_MACHINE on device <Localhost>...OK.
SetupAPI Connect: Trying to connect to SetupAPI on device <Localhost>...OK.
CHECKINGS: No ocsinventory.dat file found !
IpHlpAPI GetNetworkAdapters...
IpHlpAPI GetNetworkAdapters: Calling GetIfTable to determine network adapter properties...OK
IpHlpAPI GetNetworkAdapters: Calling GetAdapterInfo to determine IP Infos...OK
IpHlpAPI GetNetworkAdapters: Failed because no network adapter object !
SNMP GetNetworkAdapters...
SNMP IfTableEntry index=1, @ IP=127.0.0.1, Network Mask=255.0.0.0
SNMP IfRouteEntry index=16777219, Gateway=10.102.0.254
SNMP GetNetworkAdapters: Failed because no network adapter SNMP object !
DID_CHECK: hname changed new:<455-12-04> old:<>
Generating Unique ID for device <455-12-04>...OK (455-12-04-2007-06-06-08-47-13)
HTTP SERVER: Creating CInternetSession to get inventory parameters...OK.
HTTP SERVER: Getting HTTP Connection to server 10.102.1.20 port 80 using no authentication...OK.
HTTP SERVER: Sending prolog query...Http code (200)...OK
OK.
HTTP SERVER: Receiving prolog response...OK.
ERROR: Won't change PROLOG_FREQ to 0
HTTP SERVER: INV : Inventory requested by server
HTTP SERVER: Closing HTTP connection
INVENTORY forced by /force option
Retrieving Device informations...
getUserName: Trying to get logged on User ID...
getUserName: Will using Process32...OK
User found (explorer): d.brigitte.
WMI GetOS: Trying to find Win32_OperatingSystem WMI objects...OK (Microsoft Windows 2000 Professional 5.0.2195 Service Pack 4 PAILHAS Jean-Jacques).
WMI GetDomainOrWorkgroup: Trying to find Win32_ComputerSystem WMI objects...OK (DAF972)
Registry NT GetDomainOrWorkgroup...OK (DAF972).
WMI GetBiosInfo: Trying to find Win32_ComputerSystem WMI objects...OK (TOSHIBA Satellite Pro A60)
WMI GetBiosInfo: Trying to find Win32_SystemEnclosure WMI objects...OK (TOSHIBA Satellite Pro A60 00000000 8)
WMI GetBiosInfo: Trying to find Win32_Bios WMI objects...OK (TOSHIBA N/A 94066220Q)
WMI GetProcessors: Trying to find Win32_Processor WMI objects...Mobile Intel(R) Pentium(R) 4 CPU 3.06GHz 3067 (x86 Family 15 Model 3 Stepping 4). OK
WMI GetProcessors: 1 processor(s) found.
getMemory...Physical: 469876736 bytes, Swap: 1104560128 bytes. OK
WMI GetMemorySlots: Trying to find Win32_PhysicalMemory WMI objects...OK (1 objects)
WMI GetMemorySlots: Trying to find Win32_PhysicalMemoryArray WMI objects...OK (4 objects updated)
WMI GetInputDevices: Trying to find Win32_Keyboard WMI objects...OK (1 objects)
WMI GetInputDevices: Trying to find Win32_PointingDevice WMI objects...OK (2 objects)
WMI GetInputDevices: OK
WMI GetSystemPorts: Trying to find Win32_SerialPort WMI objects...Failed because no Win32_SerialPort object !
WMI GetSystemPorts: Trying to find Win32_ParallelPort WMI objects...OK (1 objects)
WMI GetSystemPorts: OK
WMI GetSystemSlots: Trying to find Win32_SystemSlot WMI objects...Failed because no Win32_SystemSlot object !
WMI GetSystemControllers: Trying to find Win32_FloppyController WMI objects...Failed because no Win32_FloppyController object !
WMI GetSystemControllers: Trying to find Win32_IDEController WMI objects...OK (3 objects)
WMI GetSystemControllers: Trying to find Win32_SCSIController WMI objects...Failed because no Win32_SCSIController object !
WMI GetSystemControllers: Trying to find Win32_InfraredDevice WMI objects...OK (1 objects)
WMI GetSystemControllers: Trying to find Win32_USBController WMI objects...OK (3 objects)
WMI GetSystemControllers: Trying to find Win32_1394Controller WMI objects...OK (1 objects)
WMI GetSystemControllers: Trying to find Win32_PCMCIAController WMI objects...OK (1 objects)
WMI GetSystemControllers: OK
WMI GetStoragePeripherals: Trying to find Win32_FloppyDrive WMI objects...Failed because no Win32_FloppyDrive object !
WMI GetStoragePeripherals: Trying to find Win32_DiskDrive WMI objects...OK (1 objects)
WMI GetStoragePeripherals: Trying to find Win32_CDROMDrive WMI objects...OK (1 objects)
WMI GetStoragePeripherals: Trying to find Win32_TapeDrive WMI objects...Failed because no Win32_TapeDrive object !
WMI GetStoragePeripherals: OK
WMI GetSoundDevices: Trying to find Win32_SoundDevice WMI objects...OK (1 objects)
WMI GetModems: Trying to find Win32_POTSModem WMI objects...OK (3 objects)
IpHlpAPI GetNetworkAdapters...
IpHlpAPI GetNetworkAdapters: Calling GetIfTable to determine network adapter properties...OK
IpHlpAPI GetNetworkAdapters: Calling GetAdapterInfo to determine IP Infos...OK
IpHlpAPI GetNetworkAdapters: Failed because no network adapter object !
SNMP GetNetworkAdapters...
SNMP IfTableEntry index=1, @ IP=127.0.0.1, Network Mask=255.0.0.0
SNMP IfRouteEntry index=16777219, Gateway=10.102.0.254
SNMP GetNetworkAdapters: Failed because no network adapter SNMP object !
WMI GetPrinters: Trying to find Win32_Printer WMI objects...OK (4 objects)
WMI GetVideoAdapters: Trying to find Win32_VideoController WMI objects...OK (1 objects)
SetupAPI: Enumerating DISPLAY devices...
SetupAPI: RegQueryValueEx failed with error 0.
SetupAPI: RegQueryValueEx failed with error 0.
SetupAPI: Enumerates DISPLAY devices finished (3 objects)...
SetupAPI: Enumerating MONITOR devices...
SetupAPI: SetupDiGetClassDevs MONITOR failed with error 6.
SetupAPI: Enumerates MONITOR devices finished (0 objects)...
WSA GetIPAddress...OK (10.102.104.145)
WMI GetWindowsRegistration: Trying to find Win32_OperatingSystem WMI objects...OK (DAF MARTINIQUE Agent DAF 52338-270-1238511-09492).
Registry GetWindowsProductKey...OK (HB9CF-JTKJF-722HV-VPBRF-9VKVM).
Registry NT GetRegistryApplications READING hive HKLM ...
Registry NT GetRegistryApplications: OK (60 objects).
Creating CXMLInteract object...OK
Trying to open database on folder <C:\Program Files\OCS Inventory Agent\> with XML...OK.
Scanning Device's Logical Drive(s) for informations and softwares...
Getting Logical Drive <C:\> properties...OK
Getting Logical Drive <D:\> properties...OK
Getting Logical Drive <E:\> properties...OK
Getting Logical Drive <R:\> properties...OK
Reading last inventory state file...
XML Read last inventory state from file <C:\Program Files\OCS Inventory Agent\last_state>...Unable to open file !
Checking last inventory state...
Hardware inventory state changed.
Bios inventory state changed.
Memory slots inventory state changed.
System slots inventory state changed.
Registry inventory state changed.
System controllers inventory state changed.
Monitors inventory state changed.
System ports inventory state changed.
Storage peripherals inventory state changed.
Logical drives inventory state changed.
Input peripherals inventory state changed.
Modems inventory state changed.
Network adapters inventory state changed.
Printers inventory state changed.
Sound adapters inventory state changed.
Video adapters inventory state changed.
Software inventory state changed.
Inventory changed since last run.
IPDISCOVER: function not required by HTTP server...
DOWNLOAD: WARNING: Cannot open history file...retrying...
DOWNLOAD: WARNING: Cannot open history file...retrying...
DOWNLOAD: WARNING: Cannot open history file...retrying...
DOWNLOAD: ERROR: Cannot open history file: 3
XML Update Device properties...
XML Update Memory Slots: OK (1 objects).
MEM: Bogus summed memoryslots, 512 is too far from 448 (keeping the last one)
XML Update Logical Drives...
XML Update Logical Drives: OK (4 objects).
XML Update Input Devices...
XML Update Input Devices: OK (3 objects).
XML Update Modems: OK (3 objects).
XML Update Monitors: OK. (1 objects).
XML Update Network Adapters: OK (0 objects).
XML Update System Ports: OK (1 objects).
XML Update Printers...
XML Update Printers: OK (4 objects).
XML Update Registry Values...
XML Update Registry Values: OK (0 objects).
XML Update Softwares...
XML Update Softwares: OK (61 objects).
XML Update Sound Devices...
XML Update Sound Devices: OK (1 objects).
XML Update Storage Peripherals...
XML Update Storage Peripherals: OK (2 objects).
XML Update System Controllers...
XML Update System Controllers: OK (9 objects).
BIOSINFO: Launching in default mode
BIOSINFO: Searching System Slots...
XML Update System Slots...
XML Update System Slots: OK (0 objects).
XML Update Video Adapters...
XML Update Video Adapters: OK (1 objects).
XML Update Device properties: OK.
WMI Disconnect: Disconnected from WMI namespace.
SetupAPI Disconnect: Disconnected from SetupAPI.
HTTP SERVER: Creating CInternetSession to send inventory results...OK.
HTTP SERVER: Getting HTTP Connection to server 10.102.1.20 port 80 using no authentication...OK
HTTP SERVER: INV : SEND received, sending inventory...ERROR: Http error: 403
Failed because Unknown exception !
Exiting...
Répondre à dim972

11


  • Ce message vous semble utile, votez !
  • Signaler ce message aux modérateurs
lewelby, le jeudi 7 juin 2007 à 16:31:27
Salut il faudrait voir le log coté apache. Visiblement il y a une erreur 403 soit access denied à vérifier coté serveur.

Lewelby.

http://mtecles.free.fr
Répondre à lewelby

12


  • Ce message vous semble utile, votez !
  • Signaler ce message aux modérateurs
mid2000, le vendredi 9 novembre 2007 à 15:47:54
Bonjour,
j'ai une question
est ce que ocs permet le deploiment des logiciels sur les clients ( je veux dire installer un logiciel ou juste stoker un ligciel ou un fichier .zip sur tout les clients ou sur un seule client)
si oui merci de me dire comment faire


merci tt le monde

j'attend vos reponse sur s_cherbani@yahoo.fr

bonne journée
Répondre à mid2000

13


  • Ce message vous semble utile, votez !
  • Signaler ce message aux modérateurs
lewelby, le vendredi 9 novembre 2007 à 16:05:18
bonjour à tous

sur mon site vous trouverez un guide pas à pas sur le déploiement de l'agent via la gpo.

http://mtecles.free.fr/...

pour le distribution de logiciel OCS c'est le faire. Il faut créer des packages OCS qui sont en gros des scripts qui lance l'installation, ou copie de fichier etc... sur les machines disposant d'un agent OCS.

J'ai lu la doc mais je ne l'ai personnelement pas testé encore.

Lewelby
Répondre à lewelby

14


  • Ce message vous semble utile, votez !
  • Signaler ce message aux modérateurs
kivis, le mercredi 19 décembre 2007 à 11:47:35
Bonjour vous trouverez également l'installation d'un agent MAC os sur mon site http://www.animestras.com rubrique technique , si ca peut vous servir.
Répondre à kivis

15


  • Ce message vous semble utile, votez !
  • Signaler ce message aux modérateurs
sacha, le vendredi 11 janvier 2008 à 14:33:05
Bonjour à tous merci pour ces précieux conseils.

J'ai un petit problème : l'agent OCS fonctionne très bien seulement le télédéploiement m'installe l'agent sur D:.
hors D: est la partie personel des utilisateur. il y a donc un risque qu'il effacent l'agent comment faire pour qu'il installe sur C:
peut etre une commande a rajouter apres /S /DEBUG /NP /INSTALL ... ou est ce ma fabrication du paquet à déployer qui est mauvaise.


merci d'avance
Répondre à sacha

16


  • Ce message vous semble utile, votez !
  • Signaler ce message aux modérateurs
red, le dimanche 17 février 2008 à 10:11:57
mais comment ta fai pour qu'il s'installe dans la partie D:???
Répondre à red

17


  • Ce message vous semble utile, votez !
  • Signaler ce message aux modérateurs
Loloduchic, le mercredi 20 février 2008 à 14:32:55
J'ai "parfois" ce problème malgré que l'on ai renommé le .exe avec l'adresse ip du serveur. Si c'est le cas, alors, je décoche la case à cocher du proxy dans les paramètres avancés de IE.
Répondre à Loloduchic

18


  • Ce message vous semble utile, votez !
  • Signaler ce message aux modérateurs
 lebreton53, le mercredi 9 avril 2008 à 17:00:10
bonsoir j essais de voir pour installer un os*c agent pour un inventaire et je spas comment faire pour faire remonter tous les machine d un parc informatique

merci de m aider
Répondre à lebreton53
Logiciels pertinents trouvés dans les téléchargements
Télécharger OCS Inventory 1.01OCS Inventory - *Connaissez-vous tous les périphériques connectés à votre réseau informatique ? Savez-vous quel logiciel ou composant...Catégorie: Gestion de parc
Licence: Freeware/gratuit
Télécharger GLPI 0.71GLPI - GLPI est une application libre, distribuée sous licence GPL destinée à la gestion de parc informatique et de helpdesk. ...Catégorie: Gestion de parc
Licence: Freeware/gratuit
Télécharger BIOS Agent 3.45BIOS Agent - BIOS Agent est un programme très simple d'utilisation permettant d'afficher des informations sur la version du BIOS de votre...Catégorie: Diagnostic
Licence: Freeware/gratuit
Télécharger Copernic Agent Basic 6.12Copernic Agent Basic - Copernic est un logiciel très utile permettant de faire des recherches sur de nombreux moteurs simultanément. Il...Catégorie: Navigateurs
Licence: Freeware/gratuit
Plus de logiciels gratuits sur « Probleme avec l'agent de Ocs inventory »