Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Difference between last inventory and last contact

Hi,

from quite a long time now some of my inventoried PCs are not updating their inventories, although they are successfully conecting to server:

All of them are getting stuck on IpDiscover, log looks like this:

Starting OCS Inventory Agent on Thursday, October 12, 2023 09:23:54.

AGENT => Running OCS Inventory Agent Version 2.10.1.0

AGENT => Using OCS Inventory FrameWork Version 2.10.1.0

AGENT => Loading plug-in(s)

AGENT => Using network connection with Communication Server

AGENT => Using Communication Provider <OCS Inventory cURL Communication Provider> Version <2.9.2.0>

AGENT => Sending Prolog

AGENT => Prolog successfully sent

AGENT => Inventory required

AGENT => Launching hardware and software checks

AGENT => Communication Server asks for IpDiscover

IpDiscover settings:

Any idea what may cause this issue?

Thanks for any help.

in OCS Inventory NG agent for Windows by (380 points)

4 Answers

0 votes
Make your brain better ...

A Windows computer run agent as service. So 2 or 3 times during the day, the agent connect the server. But the server accept ONLY 1 inventory by day. So there is (last) 'contact time' and (last) 'inventory time'.

For Linux, usually agent is run by cron and not as service. (So avoid run agent of all you Linux agent at the same time !)
by (19.3k points)
0 votes
Yes, I know that, but do you see dates of last inventory?

Some of them are not getting inventoried FOR THE LAST 3 MONTHS, NOT 1 DAY, so maybe you should read my post with comprehension before you talk.
by (380 points)
0 votes
For me

https://ibb.co/7ScBSpj

Usually, I sort the list using 'last come' = the last time the agent reach OCS server.
by (19.3k points)
0 votes
I understand your real question : some computer could contact OCS Server but the inventory time stay at very old time.

You have some general settings about Inventory and Server : if you change defaults settings, you could get trouble.

For me (keep on default values) :
Inventory : Frequency = Always inventoried

Server : Prolog Freq = 24 (this is the MAIN setting !)
by (19.3k points)
 
Powered by Question2Answer
...