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.12.3 available

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

Why is the results from the same OS on similar PC devices not the same?

Hi,

I run older agents reporting to OCS as I had the USB issue that caused the info to fail until the hotfix for 2.3 was released otherwise I use the latest build and is busy upgrading the Agents to 2.3 as the hotfix fixed my problem

Not I've started to notice that some OSes are not reporting in a standard way which makes it difficult to sort on the web frontend. Both the following are for Debian 8.7 but for some reason they are differently captured.

OS Name :Debian GNU/Linux 8.7 OS Version :3.16.0-4-amd64 Service pack :#1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07)

OS Name :Debian GNU/Linux 8.7 OS Version :4.4.44-1-pve Service pack :#1 SMP PVE 4.4.44-84 (Thu, 9 Mar 2017 12:06:34 +0100) 

OS Name :Debian OS Version :8.7 Service pack :#1 SMP PVE 4.4.44-84 (Thu, 9 Mar 2017 12:06:34 +0100)

I'd prefer the details to be printed as the third example. This seems to happen mostly with Debian. Ubuntu is fine in all my cases although the Service Pack is wrong.

OS Version :16.04 Service pack :#1 SMP PVE 4.4.44-84 (Thu, 9 Mar 2017 12:06:34 +0100) Description :x86_64/00-00-10 23:55:28

Please let me know if I can further assist.

in OCS Inventory NG server for Unix by (1.9k points)

4 Answers

0 votes
Hi,

Which versions of unix-agent are you using?

Regards

Frank
by (90.2k points)
0 votes
I mostly use version 2.3 agent but some of the problem agents are version 2.05.

The information I've posted here in one case is from using 2.3 on a device that was upgraded from 2.05 but even then after purging the current install and deleting all data folders I know of the report stays the same when I do a new install of 2.3
by (1.9k points)
0 votes
Hi,

Results may differ with the use of lsb_release command. I think you have lsb_release command installed on many computers but not on all.

The 2 first haven't the "lsb_release" command but the last one yes. This is why you have a difference.

Regards

Frank
by (90.2k points)
0 votes

I found that most servers had lsb_release installed but a couple did not.

Here is the results from LSB_release -a from one reporting correctly.

Proxmox Server 1:

No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 8.7 (jessie)
Release:        8.7
Codename:       jessie

Proxmox Server 2:

LSB was not installed. I installed it and got this result from lsb_release -a same as with Server 1.

No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 8.7 (jessie)
Release:        8.7
Codename:       jessie

I forced the server with the newly installed LSB_release to update to OCSNG and now the information it prints is correct.

The only issue left open is with ubuntu. Is the service pack not the 3rd set of digits in the version 16.04.2?

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.2 LTS
Release:        16.04
Codename:       xenial

But from the OCSNG website it is printed as #87-Ubuntu SMP Fri Mar 3 15:29:05 UTC 2017

by (1.9k points)
 
Powered by Question2Answer
...