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

Private and Closed Network

$
0
0
I have a customer with a private/closed network with physically no connection to the outside world (i.e. Internet). Since it is growing we are looking for a simple automatic inventory system.

Can I still run a Server and use the Agents on this network? What might not work? Will all the plugins work?

Answered: Can't find information file at..activation error

$
0
0

Hey Frank,

well, I think this seems to be a bug so whenever activating a package there's left a error message in error.log

[Thu Dec 06 13:02:30.478552 2018] [:error] [pid 11010] [client 192.xx.xx.xx:52527] PHP Warning:  in_array() expects parameter 2 to be array, null given in /usr/share/ocsinventory-reports/ocsreports/require/function_telediff.php on line 230, referer: https://xxx/ocsreports/index.php?function=tele_popup_active&head=1&active=1544097041
[Thu Dec 06 13:02:30.478603 2018] [:error] [pid 11010] [client 192.xx.xx.xx:52527] PHP Warning:  in_array() expects parameter 2 to be array, null given in /usr/share/ocsinventory-reports/ocsreports/require/function_telediff.php on line 230, referer: https://xxx/ocsreports/index.php?function=tele_popup_active&head=1&active=1544097041

Bug @ Github:
https://github.com/OCSInventory-NG/OCSInventory-ocsreports/pull/532

Regards

sip_mw

IMPORTANT- Missing some agent inventory data in DB

$
0
0
Hello,

I have ocs server version 2.4.1 and a unix agent version 2.4.2. Everything is working fine.

As part of a migration of an existing ocs server (v2.1) to use my new server (v2.4.1), I needed to dump the mysql database used by the 2.1 server and restore the data into my existing database. The install.php script should take care of adapting the DB tables. After the mysqldump, I was able to get all data displayed in my new ocs server.
Then, when I was testing the agent inventory, the inventory passed and I was able to see the agent on my ocs server UI. However, I noticed that some data was not displayed (agent softwares, memory, bios). I checked the Database, but there is nothing related data to the agent in softwares, memory and bios tables even though that in my agent logs (debug output) I can see that this data was exported: Exemple

 <SOFTWARES>

<COMMENTS>Linux USB utilities</COMMENTS>

      <FILESIZE>704</FILESIZE>

      <FROM>deb</FROM>

      <INSTALLDATE>2018/0812 13:40:12</INSTALLDATE>

      <NAME>usbutils</NAME>

      <PUBLISHER>https://github.com/gregkh/usbutils</PUBLISHER>

      <VERSION>1:007-4</VERSION>

    </SOFTWARES>

Help!

Answered: Disable SSL for Deployment from server?

$
0
0
Even with raising the debug level for the agent: There isn't more debug output for the libcurl.

So it helps nothing for a ssl error.

ERREUR: impossible d'écrire dans le répertoire

$
0
0

Bonjour,

Je mets à jour 2.4 vers 2.5 et j'ouvre la page web d'OCS-NG, il y les message erreur :

Je suis vraiment paumé et j'ai besoin d'aide......

merci à l'avance

Bonne soirée

Marco
 

Answered: Disable SSL for Deployment from server?

$
0
0
Try to get online at IRC, waiting for the mail for registering my nick

The server does not detect clients (Agent)

$
0
0
Im intalled OCS Server on 2 environments:

1) OCS Server 2.5 on Centos7 with a Windows 10 agent in the same network without firewall with Windos 10 Client (Agent vs 2.4.0)

2) Installed OCs Server / Xampp vs 2.1.2 on Windows 10 and install OCs Agent vs 2.4.0 on the same machines. Local host

In my environments, my server does not detect the client (agent)?

Why?

Thanks regards

Can't quick-search by computer name

$
0
0
Cannot quick-search by computer name in "All computers". The option "Computer name" is missing from the drop down menu.

And in fact the option "Select all" does not work with any value (e.g. serial, user, etc.).

    PHP Version : 5.6.38
    Web Server : Apache/2.4.25 (Debian)
    Database Server : Debian 9.1 version 10.1.26-MariaDB-0+deb9u1
    Version OCSReports:  2.4.1

How to prevent the user to update to "SYSTEM"?

$
0
0
Is there any way to not update user when no user are log into the system?
Is there any historic list of users connected? I just need to know who was the last people to use the computer.

The software version is 2.3.1.1 and the operating system is Windows 7.

Answered: ERREUR: impossible d'écrire dans le répertoire

Answered: Disable SSL for Deployment from server?

$
0
0
Can you write me a mail to ds at marco.de?

I can't log in at IRC.

Answered: The server does not detect clients (Agent)

$
0
0

hy, first of all the agent does not send the inventory immediately. The client calculates a random number to create a counter. This counter well be decreased.. every second, and after the counter reaches 0 the clients sends the inventory.The reason behind this is, the 1000 of clients could not DDOS the server beause every client has different counters.

But you can decrase the intervall to contact  the server in the following server siede setting

(Configuration > Server > PROLOG_FREQ)

or hook the setting to report the inventory mmediately during the graphical setup of the client.

You also have to use the right url in the client

use http://xxx.xxx.xxx.xxx/ocsinventory

and NOThttp://xxx.xxx.xxx.xxx/ocsreports

immediately send the inventory is also possible  with the following method

doubleclick on


C:\Program Files (x86)\OCS Inventory Agent\OCSInventory.exe

http://ask.ocsinventory-ng.org/10284/force-remote-inventory?show=10307#a10307

Hope this helps

Sokatra

Answered: The server does not detect clients (Agent)

$
0
0

Thanks Sokrata but no functioning....

(Configuration > Server > PROLOG_FREQ) :   was set  1 Hour

"use http://xxx.xxx.xxx.xxx/ocsinventory:"

        http://172.18.0.68/ocsinventory  ,my  agent configuration with localhost IP

172.18.0.68 (Windows 10)   has OCS Server Installed and Client Agent .

"C:\Program Files (x86)\OCS Inventory Agent\OCSInventory.exe

http://ask.ocsinventory-ng.org/10284/force-remote-inventory?show=10307#a10307"

 I'was  applied this solution but the problem persist 

thank you

Answered: The server does not detect clients (Agent)

$
0
0

Hi,

"do you really have windows as a server ? i thought this version has been discontinued."
Yes I Have Windows 10 for test,and i have a second enviroment on Centos7. 
Firewall Disebled
Client log:

Starting OCS Inventory NG Agent on Monday, December 10, 2018 12:16:22.

AGENT => Running OCS Inventory NG Agent Version 2.4.0.0

AGENT => Using OCS Inventory NG FrameWork Version 2.4.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.4.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://172.18.0.68/ocsinventory/deploy/label>

COM SERVER => fileGet response received <HTTP Status Code #400>

COM SERVER => Cleaning cURL library

AGENT => Failed to retrieve Label <HTTP Status Code #400>

AGENT => Sending Prolog

DID_CHECK => Read DeviceID <DESKTOP-JGNC0CA-2018-12-03-18-13-18> and MACs <90:32:4B:87:04:7200:50:56:C0:00:0154:48:10:B6:D3:9900:FF:EF:52:91:32> in file <ocsinventory.dat>

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://172.18.0.68/ocsinventory>

COM SERVER => HTTP Post response received <HTTP Status Code #400>

COM SERVER => Cleaning cURL library

ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #400>

AGENT => Unloading communication provider

AGENT => Unloading plug-in(s)

AGENT => Execution duration: 00:00:01.

Thanks Regards!

Answered: The server does not detect clients (Agent)


Answered: Can't install kind of packages

$
0
0
restart computer

stop the ocs-inventory service in control panel (windows)

delete content of

C:\ProgramData\OCS Inventory NG\Agent\Download

delete content of

c:\windows\temp

change TTO_WAIT=53434xy to TTO_WAIT=3 in C:\ProgramData\OCS Inventory NG\Agentocsinventory.ini

start service

then it should work
PS: if you click on the agent - then the ocs-inventory service perhaps inheriting the users right of your normal user account - then nothing works as expected
Kind regards

Answered: Can't install kind of packages

$
0
0
It works. Thank you. Have a great day :)

Answered: The server does not detect clients (Agent)

$
0
0
Ok ,i undesrstad ,i have a test  enviroment  Vmware  i'll try  in the  new enviroment .

Thanks Regards.

yc

Update a SQL database based on OCS

$
0
0
Hello,

I would like to monitor a software version and update a MariaDB database based on the software version this way :

Actual software release version : 2

- Computer 1 has Software version 1 -----> UPDATE Computer 1 [...] CanUpdate = YES

- Computer 2 has Software version 2 -----> UPDATE Computer 1 [...] CanUpdate = NO

The process would update the database table everytime i run it, depending on the computer deployed versions and the updated server version.

The OCS server is on Debian 9 and i can get the software version number on the OCS Inventory computer list.

What would be the best way to do this ? Using a bash script on the cron table of the OCS server ?

Thanks for your input

How to connect OCS to ServiceNow?

$
0
0
Hey all,

We are long time users of the (free) OCS agent and server.   We are starting to look at ServiceNow as a potential ITSM platform and I'd like to see how easy it is to populate the CMDB inside ServiceNow with CIs identified by OCS.

Has anyone done this?  Is there a wall-known process or procedure to do it?

Thanks
Blakey
Viewing all 7071 articles
Browse latest View live


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