Quantcast
Channel: Ocsinventory Q&A - Recent questions and answers in OCS Inventory NG agent
Viewing all 4576 articles
Browse latest View live

Answered: installing agent on Ncomputing thin clients

$
0
0
Hi,

With your thin clients have a "manager"? Perhaps it's possible to retrieve informations from this manager (database)!

Regards

Frank

Verification

$
0
0

Bonjour,

As-tu redémarré apache à la fin de l'installation? Le module mod_perl pour apache est bien activé? selinux est bien paramétré pour l'accès à l'url /ocsinventory?

Merci de vérifier ces points.

Cordialement

Frank

Oui j'ai bien redémarré apache a la fin de l'installation.

Selinux a été désactivé pour le moment (le temps de trouver le bon fonctionnement)

J'ai remarqué que perl été bine installé sur le serveur mais pas le module perl pour apache ...

Pour le vérifier j'ai lancé la commande suivante:  httpd -t -D DUMP_MODULES


 core_module (static)
 so_module (static)
 http_module (static)
 access_compat_module (shared)
 actions_module (shared)
 alias_module (shared)
 allowmethods_module (shared)
 auth_basic_module (shared)
 auth_digest_module (shared)
 authn_anon_module (shared)
 authn_core_module (shared)
 authn_dbd_module (shared)
 authn_dbm_module (shared)
 authn_file_module (shared)
 authn_socache_module (shared)
 authz_core_module (shared)
 authz_dbd_module (shared)
 authz_dbm_module (shared)
 authz_groupfile_module (shared)
 authz_host_module (shared)
 authz_owner_module (shared)
 authz_user_module (shared)
 autoindex_module (shared)
 cache_module (shared)
 cache_disk_module (shared)
 data_module (shared)
 dbd_module (shared)
 deflate_module (shared)
 dir_module (shared)
 dumpio_module (shared)
 echo_module (shared)
 env_module (shared)
 expires_module (shared)
 ext_filter_module (shared)
 filter_module (shared)
 headers_module (shared)
 include_module (shared)
 info_module (shared)
 log_config_module (shared)
 logio_module (shared)
 mime_magic_module (shared)
 mime_module (shared)
 negotiation_module (shared)
 remoteip_module (shared)
 reqtimeout_module (shared)
 rewrite_module (shared)
 setenvif_module (shared)
 slotmem_plain_module (shared)
 slotmem_shm_module (shared)
 socache_dbm_module (shared)
 socache_memcache_module (shared)
 socache_shmcb_module (shared)
 status_module (shared)
 substitute_module (shared)
 suexec_module (shared)
 unique_id_module (shared)
 unixd_module (shared)
 userdir_module (shared)
 version_module (shared)
 vhost_alias_module (shared)
 dav_module (shared)
 dav_fs_module (shared)
 dav_lock_module (shared)
 lua_module (shared)
 mpm_prefork_module (shared)
 proxy_module (shared)
 lbmethod_bybusyness_module (shared)
 lbmethod_byrequests_module (shared)
 lbmethod_bytraffic_module (shared)
 lbmethod_heartbeat_module (shared)
 proxy_ajp_module (shared)
 proxy_balancer_module (shared)
 proxy_connect_module (shared)
 proxy_express_module (shared)
 proxy_fcgi_module (shared)
 proxy_fdpass_module (shared)
 proxy_ftp_module (shared)
 proxy_http_module (shared)
 proxy_scgi_module (shared)
 proxy_wstunnel_module (shared)
 ssl_module (shared)
 systemd_module (shared)
 cgi_module (shared)
 fcgid_module (shared)
 php5_module (shared)

Pas de PERL ... Je pense donc que le module n'est pas installé.

Je cherche comment l'installer. Si vous avez des pistes ou tutos

Merci. 

Answered: How got the issue resolved?

$
0
0
Hi,

I did another test. An existing 2008 R2 Server has no problems to connect the server and do an inventory.

Regards,

Christian

OCS Agent for Mac doesn't send its Inventory to the OCSNG Server

$
0
0
Hello guys,

we implemented an ocs ng Server into our network and distributed the agents on all our mac clients.

From 139 only 129 had send their inventory to the server, and we don't know the cause for it. The configuration on the clients which we had deployed is valid.

#######

Content of the config File ocs-inventory-agent.cfg

server=https://ocs.de.kontrast/ocsinventory

logfile=/var/log/ocsng.log

debug=1

lazy=0

ssl=1

tag="client"

######

Content of the log File from the client

<REQUEST>

  <DEVICEID>ComputerID373-2017-04-20-14-30-21</DEVICEID>

  <QUERY>PROLOG</QUERY>

</REQUEST>

[Fri May 12 09:11:05 2017][error] Cannot establish communication : 500 Can't connect to ocs.de.kontrast:443 (getaddrinfo: nodename nor servname provided, or not known)

####

Still this client has no problems to send its information to the server.

I hope you guys can help us out.

Best regards

Marco Di Mauro

Answered: OCS Agent for Mac doesn't send its Inventory to the OCSNG Server

$
0
0
Hi,

How have you build your certificate? In the certificate the CN must be the same as your hostname defined in ocsinventory-agent.cfg file. In your case CN=ocs.de.kontrast.

Regards

Frank

OCS does not display any machines

$
0
0
Hello everybody, i'm sorry my english is bad, i'll do my best
Well, I had an issue during these last 2 weeks, I wanted to install OCS on a linux server, i've chosen XUbuntu Trusty, it's the most stable and it is light.
The problem is that I install OCS server very well, i went with the address of my server 192.168.1.x / ocsreports to the web interface. But after installing the agents in different posts, what happens very well without any errors, ocs does not show me any device.

If anyone can help me please

Regards

Answered: Ocsng Registry Location

$
0
0
Hi James,

It seems to me that you have nothing to do in the registry.

Once the OCS Agent is uninstalled on a Windows client, some installation files remain (such as the tag, plugins, etc.).

In order to complete the uninstallation, you must restart Windows and then manually remove the directories:

C:\Program Files (x86)\OCS Inventory Agent\

and

C:\ProgramData\OCS Inventory NG\

Regards, Stéphane

Answered: Why usernames of Windows users logged-on are not shown anymore?

$
0
0
Hi Stéphane, it seems to me that only a small fraction of my computers inventoried are having the logged username registered.

I solved the problem with some MS-DOS batch scripts written for Windows, that run psloggedon.exe to identify loggedon users and mysql.exe to write those usernames in the ocs database.

Thank you,

Inventory access

Answered: Why usernames of Windows users logged-on are not shown anymore?

$
0
0
Okay Pablo, so much better for you.

In my case, the problem seems to appear only on PCs equipped with Windows 10 family (?!).

Enjoy your OCS inventory !

Regards, Stéphane

Not retrieving user data (USERID)

$
0
0

Hi there

I'm having some issues with several Windows computers with Windows 7 and 10.

I'm not receiving the "User" field of the inventory that is the logged user in the pc when performs the inventory task.

I have perform the inventory task with the user logged. In the OCS admin console, in the detail of the PC, I see that the XML have this tag:

<USERID/>

In other pcs, where the "User" field is correct, in the XML I have this:

<USERID>jesus</USERID>

This is the .ini content of one of the PCs with this problem (is the same that I have in another pcs that send correctly the User field) (for security i have changed the server name):

[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=0
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=http://myserver/ocsinventory
SSL=0
CaBundle=cacert.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=0
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
PROLOG_FREQ=24

Any idea of what could bve happening?

Thanks!!

Answered: OCS Agent for Mac doesn't send its Inventory to the OCSNG Server

$
0
0
The problem was a not trusted root certificate on the client. After I changed the level to always trust, it works like a charm.

Tank you for the tipp!

Regards

Marco

How frequent the agent would update the server?

$
0
0
Hi All,

I have checked that there is a parameter "FREQUENCY" about how frequent the agent would update the server (correct if I am wrong).

However, I have a windows machine with agent installed, I wait for more than 24 hrs, however, I cannot see there is any update to the server (I can manually update the server my running the agent).

Is that normal?

Thanks!

Rgds,

Kenneth

OcsPackager with Windows Server

$
0
0

Hello I trying created ocspackage.exe with OcsPackager.exe. I read this documencation. My settings:

  • Agent Setup File: C:\Users\example\Downloads\ocs\OCSNG-Windows-Agent-2.3.0.0\OCS-NG-Windows-Agent-Setup.exe
  • Certificate file: null
  • Plugins to include: null
  • Command line options: /s /now /server=http://ocs.pbs.pl/ocsinventory/ /ssl=0
  • Label: null
  • User: administrator Password: password_to_administrator_account

On url http://ocs.pbs.pl/ocsinventory/ I don't have added certificate SSL, so I added in Command line options: ssl=0

Next I added file ocspackage.exe and ocslogon.exe

Next when I restart computer files are downloaded correctly, but not work synchronization on ocs.pbs.pl and I don't know why .

Answered: How frequent the agent would update the server?

$
0
0
Hi Kenneth,

By default, it seems to me that the inventory frequency is 24 hours, however this parameter can be changed in the interface of your OCS server at :

Configuration > Server > PROLOG_FREQ

Note : This parameter can be changed for all inventoried clients, per machine group or per machine.

Regards, Stéphane

BAD DIGEST Installation de paquets

$
0
0

Bonjour,

Je rencontre une erreur à laquelle je n'ai pas trouvé de réponse sur le forum.

J'utilise un serveur de redistribution pour le déploiement de mes paquets.

L'agent sur mes machines clientes télécharge correctement les fragments dans mon dossier download, cependant une fois le téléchargement terminé dans mon fichier de log j'ai ce message "ERR_BAD_DIGEST: Downloaded data has bad digest, so agent does not execute associated command" avoir avoir regardé la signification du message dans la documentation "ERR_BAD_DIGEST La signature du paquet téléchargé est incorrecte, l'agent n'a pas exécuté la commande associée." c'est super mais ça ne m'aide pas beaucoup.

Le fichier cacert.pem est bien présent sur mes postes clients.

Merci d'avance pour vos idées.

Cordialement

HTTP Status Code #500

$
0
0

Hi there! I'm install OCS Server on virtual machine with Ubuntu and OCS Agent on virtual machine with Windows. When I try to connect to server by agent I see this information in log file:

============================================================================== 
Starting OCS Inventory NG Agent on Sunday, April 30, 2017 20:38:02. 
AGENT => Running OCS Inventory NG Agent Version 2.3.0.0 
AGENT => Using OCS Inventory NG FrameWork Version 2.3.0.0 
AGENT => Loading plug-in(s) 
DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins> 
DLL PLUGIN => 0 DLL Plug-in(s) successfully loaded on 0 DLL(s) found 
AGENT => Using network connection with Communication Server 
COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll> 
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.3.0.0> 
AGENT => Sending getLabel request 
COM SERVER => Initializing cURL library for getFile 
COM SERVER => Using cURL without server authentication 
COM SERVER => Disabling cURL proxy support 
COM SERVER => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem> 
COM SERVER => Sending fileGet request to URL <http://10.71.34.101/ocsinventory/deploy/label> 
COM SERVER => fileGet response received <HTTP Status Code #500> 
COM SERVER => Cleaning cURL library 
AGENT => Failed to retrieve Label <HTTP Status Code #500> 
AGENT => Sending Prolog 
DID_CHECK => Read DeviceID <VIRT- COM SERVER => Initializing cURL library for sendRequest 
COM SERVER => Using cURL without server authentication 
COM SERVER => Disabling cURL proxy support 
COM SERVER => Enabling cURL SSL server validation support using CA Bundle <C:\ProgramData\OCS Inventory NG\Agent\cacert.pem> 
COM SERVER => Sending HTTP Post request to URL <http://10.71.34.101/ocsinventory> 
COM SERVER => HTTP Post response received <HTTP Status Code #500>

file ocsinventory-server.conf is correct, what wrong?

Answered: Windows 10 and ocs client

$
0
0
Hola, alguna solucion para este problema con win 10?

gracias

Answered: Plugin listprinters-OCS

$
0
0
Bonjour,

dans le fichier ZIP du plugin, vous trouverez un fichier "listprinters.vbs" (dans le dossier "agent") qu'il faudra copier dans le répertoire suivant de tous vos agents Windows, et ce fichier vbs sera automatiquement exécuté lors du prochain inventaire et les résultats envoyés à votre serveur OCS :

C:\Program Files (x86)\OCS Inventory Agent\Plugins\

Vous pouvez aussi bien entendu envoyer ce VBS à vos agents Windows par la création d'un paquet (Télé-déploiement > Création > Stocker...)

Cordialement, Stéphane

Answered: Windows 10 and ocs client

$
0
0
Hi,

  On rare machines in my park I had the same problem, intermittently...

  Note: PCs concerned were all under Windows 10 pre-install builder (OEM)

Regards, Stéphane
Viewing all 4576 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>