We are seeing an inconsistency with our OCS NG deployment where when performing a criteria-based search from the web GUI and specifying something with search parameter All software Name LIKE firefox, this comes back with some hits but we have now identified that this does not include registered agents/computers for which we have confirmed to have the software queried for. That is to say, we have computers that (for example), we know have Firefox installed, have similar OCS agents installed as compared to other PCs in our environment, and we have configured everything the same. Oddly enough, these computers are submitting inventory but it's not reporting that one specific software.
We assumed the user somehow found a way to install the software to their profile however after investigation, this does not appear to be the case.
We have been looking at the server and agent logs after turning on more verbose debug logging for both. We have also tried restarting the Agent service on affected workstations to determine if the outcome changes based on us starting the service manually.
The only significant changes we have made recently are adding an OCS plugin for collecting user installed apps which we found on the official OCS website. One agent is reporting such user installed apps as expected but is also including Firefox in its results which is contrary to what we see when we are logged into the Windows machine itself. Due to this, we are seeing that it does not report Firefox in the Software inventory section when inspecting the computer from the OCS web GUI.
Additionally, we have made sure that this is not just a limitation of how the results are immediately populated where if multiple software is installed that includes the query keyword, OCS has a habit of only showing the first match. This is not what we are seeing with our discovered problem.
We need assistance in identifying where the issue is occurring. Because the inconsistencies are practically random, we are leaning towards blaming the server however we are not able to find proof in either the Apache logs nor the Agent logs on the workstations.
It's odd that we see this with only 2 PCs but not all other agents that are running similar OS with similar config. It's almost as if the problem could actually be the OS and not the application. We need to prove that this is the case and not OCS.
How else can we identify any possible errors for OCS aside from logs?
Server information
Operating system
OS Name : Ubuntu 20.04.6 LTS
Linux Version : 5.4.0-196-generic
RAM installed : 3919 MB
Free RAM : 2041 MB
CPU : AMD 24-Core Processor
Software
PHP Version : 7.4.3
Web Server : Apache/2.4.41 (Ubuntu)
Database Server : mysql (Ubuntu) version 8.0.39-0ubuntu0.20.04.1
Version OCSReports: 2.8.1
The agents we see the problem with are Windows agents running this version:
OCS-NG_WINDOWS_AGENT_v2.8.0.0 on Windows 10 Pro (x64) v. 10.0.19045
OCS-NG_WINDOWS_AGENT_v2.8.0.0 on Windows 11 Pro v. 10.0.22621