Your solution did the trick!
Your solution did the trick!
@sip_mw :
"Hey guys,
I had the the same problem but I did compile from the github sources.
Just follow the requirements and compile...
Regards
sip_mw"
==>
Could you explain to me how to compile ?
Hi guys!
When I download the ocsinventory-agent...rpm, the system says that have some dependecies. Then I download the first one, perl-Ocsinventory-Agent, then ask for perl(XML::Simple), and then perl-5.10.1-144.el6.x86_64.rpm.
All of these archieves were downloaded but when I try to install the perl-5.10.1-144.el6.x86_64.rpm, the same that perl(:MODULE_COMPAT_5.10.1), it says:
libgdbm.so.2()(64bit) are requered by perl-4:5.10.1-144.el6.x86_64
perl-libs = 4:5.10.1-144.el6 are requered by perl-4:5.10.1-144.el6.x86_64
perl < 4:5.16.1-234 conflits with (installed) perl-podlators-2.5.1-3.el7.noarch
Somebody have other manner to install the ocsagent in a CentOS?
I noticed my centos servers havent updated since April, so i went on to test the agent and im getting perl errors on all of my servers
more /etc/centos-release
CentOS Linux release 7.6.1810 (Core)
/usr/sbin/ocsinventory-agent
Use of uninitialized value $password in concatenation (.) or string at /usr/share/perl5/vendor_perl/Ocsinventory/Agent/Network.pm line 52.
any help would be appreciated with this, my ocs inventory server doesnt require a password .. at least it was working a few months ago .. my ubuntu servers work fine;
hello
I am looking for ocslogon for ocs inventory agent 2.4 or a script that allows to launch the ocspakage generated via GPO.
with version ocs agent 2.1 everything works fine but with ocs agent 2.4 the generated package does not run with ocslogon.
a script please
Hi,
I am looking for information about a way to detect the virtual machines that are installed on hosts that run an agent (linux and windows).
I have a few hosts (Windows and Linux) where I have installed OCS agent. All my hosts runs virtual machine (Windows and/or Linux) on a hypervisor (VirtualBox for linux and some Windows host, Hyper-V for windows host).
All my hosts are able to report to my OCS server, but there is a problem. They do not report about the fact that they host virtual machine.
I am wandering if there is a way to discover virtual machine. If so, how to discover virtual machines?
I've found in the source code of agents (windows and linux) that there is a module that scan for VMs. I haven't found the way to run that module. Maybe it is always launch?
Thanks
Hi,
I have a related question.
OCS server version :
System is :
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
Client package version is :
ii ocsinventory-agent 2:2.4.2-3 amd64 Hardware and software inventory tool (client)
With clients previous to the one packaged in Debian 10, the ocsinventory-agent seemed to report the "description" line of lsb_release, and the running kernel version in the version field.
With the new client (based on 2.4.2), it reports only Debian, and the version number.
In the line saying "Debian GNU/Linux 10 (buster)", I changed the file /usr/share/perl5/Ocsinventory/Agent/Backend/OS/Linux/Distro/LSB.pm to call "lsb_release -ds" instead of "lsb_release -is" in order to get the description.
Question is, why has this change happened ? Would it be possible to keep a similar behaviour to what was existing in older clients, so that the information displayed remains consistent?
Regards,
Stephane
Hi
I wonder if you could help with the error below, which has appeared recently when trying to start an agent on the multiple hosts (after first installation):
# ocsinventory-agent
Use of uninitialized value $password in concatenation (.) or string at /usr/share/perl5/vendor_perl/Ocsinventory/Agent/Network.pm line 52.
We have been using ocsinventory software for quite a while and have been deploying it on different servers, however recently we noticed this error during the agent first startup. To be specific it affects version 2.6, as when downgraded to 2.4 it seemed to work
# rpm -qa | grep ocsinventory-agent
ocsinventory-agent-2.6.0-1.el7.ocs.x86_64
ocsinventory-agent-core-2.6.0-1.el7.ocs.x86_64
In this case it affects OS below:
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.6 (Maipo)
#
3.10.0-957.27.2.el7.x86_64
I've seen similar posts, but didn't find any resolution. Would you please be able to help?
Regards
Michal