Can I still run a Server and use the Agents on this network? What might not work? Will all the plugins work?
Can I still run a Server and use the Agents on this network? What might not work? Will all the plugins work?
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
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
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
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
Hi,
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!